Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Support no_std
  • Loading branch information
roblabla committed Aug 7, 2018
commit e2344b98b16bcc54682bc838a87fcf1dfc6ab8d6
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ homepage = "https://github.com/andersk/enum_primitive-rs"
readme = "README.md"

[dependencies.num-traits]
version = "0.1.32"
version = "0.2"
default-features = false
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@
//! }
//! ```

#![no_std]

extern crate num_traits;

pub use std::option::Option;
pub use core::option::Option;
pub use num_traits::FromPrimitive;

/// Helper macro for internal use by `enum_from_primitive!`.
Expand Down