]> git.lizzy.rs Git - rust.git/blob - src/libstd/Cargo.toml
bcdd1b4b088029fea45a223e733b9a27b60da69f
[rust.git] / src / libstd / Cargo.toml
1 [package]
2 authors = ["The Rust Project Developers"]
3 name = "std"
4 version = "0.0.0"
5 build = "build.rs"
6 license = "MIT/Apache-2.0"
7 repository = "https://github.com/rust-lang/rust.git"
8 description = "The Rust Standard Library"
9
10 [lib]
11 name = "std"
12 path = "lib.rs"
13 crate-type = ["dylib", "rlib"]
14
15 [dependencies]
16 alloc = { path = "../liballoc" }
17 alloc_jemalloc = { path = "../liballoc_jemalloc", optional = true }
18 alloc_system = { path = "../liballoc_system" }
19 panic_unwind = { path = "../libpanic_unwind", optional = true }
20 panic_abort = { path = "../libpanic_abort" }
21 core = { path = "../libcore" }
22 libc = { path = "../rustc/libc_shim" }
23 compiler_builtins = { path = "../rustc/compiler_builtins_shim" }
24 profiler_builtins = { path = "../libprofiler_builtins", optional = true }
25 unwind = { path = "../libunwind" }
26
27 [dev-dependencies]
28 rand = "0.5"
29
30 [target.x86_64-apple-darwin.dependencies]
31 rustc_asan = { path = "../librustc_asan" }
32 rustc_tsan = { path = "../librustc_tsan" }
33
34 [target.x86_64-unknown-linux-gnu.dependencies]
35 rustc_asan = { path = "../librustc_asan" }
36 rustc_lsan = { path = "../librustc_lsan" }
37 rustc_msan = { path = "../librustc_msan" }
38 rustc_tsan = { path = "../librustc_tsan" }
39
40 [build-dependencies]
41 cc = "1.0"
42 build_helper = { path = "../build_helper" }
43
44 [features]
45 backtrace = []
46 debug-jemalloc = ["alloc_jemalloc/debug"]
47 jemalloc = ["alloc_jemalloc"]
48 force_alloc_system = []
49 panic-unwind = ["panic_unwind"]
50 profiler = ["profiler_builtins"]
51 wasm_syscall = []