Skip to content

Commit

Permalink
Prepare for crates.io inclusion into libstd
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Nov 21, 2018
1 parent e4f478d commit b862ec7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ test = false
[target.'cfg(all(unix, not(target_arch = "wasm32")))'.dependencies]
libc = { version = "0.2", default-features = false }

[dependencies]
# For more information on these dependencies see rust-lang/rust's
# `src/tools/rustc-std-workspace` folder
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
compiler_builtins = { version = '0.1.0', optional = true }

[dev-dependencies]
rand = "0.3"

Expand All @@ -37,3 +43,4 @@ debug = []

# Enable experimental support for the standard library's unstable allocator API.
allocator-api = []
rustc-dep-of-std = ['core', 'compiler_builtins/rustc-dep-of-std']

0 comments on commit b862ec7

Please sign in to comment.