We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb61644 commit e2344b9Copy full SHA for e2344b9
Cargo.toml
@@ -10,5 +10,5 @@ homepage = "https://github.com/andersk/enum_primitive-rs"
10
readme = "README.md"
11
12
[dependencies.num-traits]
13
-version = "0.1.32"
+version = "0.2"
14
default-features = false
src/lib.rs
@@ -52,10 +52,11 @@
52
//! }
53
//! ```
54
55
+#![no_std]
56
57
extern crate num_traits;
58
-pub use std::option::Option;
59
+pub use core::option::Option;
60
pub use num_traits::FromPrimitive;
61
62
/// Helper macro for internal use by `enum_from_primitive!`.
0 commit comments