Skip to content

Commit

Permalink
Remove log dependency; make i128_support transitive
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed Dec 20, 2017
1 parent 4e088f1 commit 729644c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ nightly = ["i128_support"] # enables all features requiring nightly rust
std = ["rand_core/std", "libc"] # default feature; without this rand uses libcore
alloc = [] # enables Vec and Box support without std

i128_support = [] # enables i128 and u128 support
i128_support = ["rand_core/i128_support"] # enables i128 and u128 support

[dependencies]
# All deps must not use 'std' by default
Expand All @@ -32,9 +32,6 @@ libc = { version = "0.2", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["minwindef", "ntsecapi", "profileapi", "winnt"] }

[dev-dependencies]
log = "0.3.0"

[workspace]
members = ["rand_core"]

Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@

#[cfg(feature="std")] extern crate std as core;
#[cfg(all(feature = "alloc", not(feature="std")))] extern crate alloc;
#[cfg(test)] #[macro_use] extern crate log;

extern crate rand_core;

Expand Down

0 comments on commit 729644c

Please sign in to comment.