8000 update to Unicode 8.0.0; fix feature gates · cmyr/unicode-segmentation@5b930ab · GitHub
[go: up one dir, main page]

Skip to content

Commit 5b930ab

Browse files
committed
update to Unicode 8.0.0; fix feature gates
Also forced .travis.yml to use nightly rather than stable so that it can test the no_std feature.
1 parent fae143b commit 5b930ab

File tree

5 files changed

+545
-400
lines changed

5 files changed

+545
-400
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
language: rust
2+
rust: 'nightly'
23
sudo: false
34
script:
45
- cargo build --verbose --features no_std

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "unicode-segmentation"
4-
version = "0.1.0"
4+
version = "0.1.1"
55
authors = ["kwantam <kwantam@gmail.com>"]
66

77
homepage = "https://github.com/unicode-rs/unicode-segmentation"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
html_favicon_url = "https://unicode-rs.github.io/unicode-rs_sm.png")]
5555

5656
#![cfg_attr(feature = "no_std", no_std)]
57-
#![cfg_attr(feature = "no_std", feature(no_std, core))]
57+
#![cfg_attr(feature = "no_std", feature(no_std, core, core_prelude, core_char_ext, core_slice_ext, core_str_ext))]
5858

5959
#[cfg(feature = "no_std")]
6060
#[macro_use]

0 commit comments

Comments
 (0)
0