]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Use host's rng when communication is enabled
[rust.git] / Cargo.toml
1 [package]
2 authors = ["Scott Olson <scott@solson.me>"]
3 description = "An experimental interpreter for Rust MIR."
4 license = "MIT/Apache-2.0"
5 name = "miri"
6 repository = "https://github.com/rust-lang/miri"
7 version = "0.1.0"
8 build = "build.rs"
9 default-run = "miri"
10 edition = "2018"
11
12 [lib]
13 test = true # we have unit tests
14 doctest = false # but no doc tests
15
16 [[bin]]
17 name = "miri"
18 test = false # we have no unit tests
19 doctest = false # and no doc tests
20
21 [[bin]]
22 name = "cargo-miri"
23 test = false # we have no unit tests
24 doctest = false # and no doc tests
25 required-features = ["cargo_miri"]
26
27 [[bin]]
28 name = "miri-rustc-tests"
29 test = false # we have no unit tests
30 doctest = false # and no doc tests
31 required-features = ["rustc_tests"]
32
33 [dependencies]
34 byteorder = { version = "1.1", features = ["i128"]}
35 cargo_metadata = { version = "0.8", optional = true }
36 directories = { version = "2.0", optional = true }
37 rustc_version = { version = "0.2.3", optional = true }
38 getrandom = "0.1.10"
39 env_logger = "0.6"
40 log = "0.4"
41 shell-escape = "0.1.4"
42 hex = "0.3.2"
43 rand = "0.6"
44 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
45 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
46 # for more information.
47 rustc-workspace-hack = "1.0.0"
48 # Depend on num-traits with default features to avoid having to rebuild
49 # between "cargo build" and "cargo intall".
50 num-traits = "*"
51
52 [build-dependencies]
53 vergen = "3"
54
55 [features]
56 default = ["cargo_miri"]
57 cargo_miri = ["cargo_metadata", "directories", "rustc_version"]
58 rustc_tests = []
59
60 [dev-dependencies]
61 compiletest_rs = { version = "0.3.22", features = ["tmp", "stable"] }
62 colored = "1.6"