Skip to content

Commit

Permalink
Cleanup Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
josephlr committed Jun 26, 2019
1 parent 0364460 commit e2cd368
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,18 @@ members = ["tests/wasm_bindgen"]
log = { version = "0.4", optional = true }
libc = "0.2.54"

[target.'cfg(unix)'.dependencies]
# For holding file descriptors
[target.'cfg(any(unix, target_os = "redox"))'.dependencies]
lazy_static = "1.3.0"

[target.'cfg(target_os = "redox")'.dependencies]
lazy_static = "1.3.0"
# For caching result of CPUID check for RDRAND
[target.'cfg(any(target_env = "sgx", target_os = "uefi"))'.dependencies]
lazy_static = { version = "1.3.0", features = ["spin_no_std"] }

[target.wasm32-unknown-unknown.dependencies]
wasm-bindgen = { version = "0.2.29", optional = true }
stdweb = { version = "0.4.9", optional = true }
lazy_static = "1.3.0"

[target.'cfg(any(target_env = "sgx", target_os = "uefi"))'.dependencies]
lazy_static = { version = "1.3.0", features = ["spin_no_std"] }

[features]
std = []

0 comments on commit e2cd368

Please sign in to comment.