aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwantam <kwantam@gmail.com>2015-08-19 22:50:27 -0400
committerkwantam <kwantam@gmail.com>2015-08-19 22:50:27 -0400
commit241ff466f4e225b85e7d7a99c9f153b51c50a311 (patch)
tree14e71d00b9d604ceb9a9cbdd9c918b81e3e86031
parentc9b22f6a76713a2842615b64150d55473a018952 (diff)
downloadplatform_external_rust_crates_unicode-xid-241ff466f4e225b85e7d7a99c9f153b51c50a311.tar.gz
platform_external_rust_crates_unicode-xid-241ff466f4e225b85e7d7a99c9f153b51c50a311.tar.bz2
platform_external_rust_crates_unicode-xid-241ff466f4e225b85e7d7a99c9f153b51c50a311.zip
Update no_std feature to compile with nightly.
-rw-r--r--Cargo.toml2
-rw-r--r--src/lib.rs6
2 files changed, 2 insertions, 6 deletions
diff --git a/Cargo.toml b/Cargo.toml
index edfa614..19037b0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "unicode-xid"
-version = "0.0.2"
+version = "0.0.3"
authors = ["erick.tryzelaar <erick.tryzelaar@gmail.com>",
"kwantam <kwantam@gmail.com>",
]
diff --git a/src/lib.rs b/src/lib.rs
index 130bca4..c5ce815 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -42,14 +42,10 @@
html_favicon_url = "https://unicode-rs.github.io/unicode-rs_sm.png")]
#![cfg_attr(feature = "no_std", no_std)]
-#![cfg_attr(feature = "no_std", feature(no_std, core, core_slice_ext))]
+#![cfg_attr(feature = "no_std", feature(no_std, core_slice_ext))]
#![cfg_attr(test, feature(test, unicode))]
-#[cfg(feature = "no_std")]
-#[macro_use]
-extern crate core;
-
#[cfg(all(test, feature = "no_std"))]
#[macro_use]
extern crate std;