1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -22,10 +22,5 @@
license = "MIT"
repository = "https://github.com/durka/counted-array"
[dependencies.lazy_static]
-version = "0.2"
-optional = true
-[dev-dependencies.lazy_static]
-version = "0.2"
+version = "1.4.0"
-[features]
-nightly = ["lazy_static/nightly"]
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,11 +1,7 @@
-#![cfg_attr(feature = "nightly", feature(allow_internal_unstable, macro_reexport))]
-
-#[cfg(feature = "nightly")]
-#[macro_reexport(lazy_static, __lazy_static_create)]
+#[macro_export(lazy_static, __lazy_static_create)]
#[macro_use]
extern crate lazy_static;
-#[cfg(feature = "nightly")]
pub use lazy_static::lazy;
/// Declare a fixed-size array with an autogenerated length.
|