]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
c36a97bb0a1ae2a844944adba3a98e9b6bcc202f
[rust.git] / Cargo.toml
1 [package]
2 authors = ["Miri Team"]
3 description = "An experimental interpreter for Rust MIR (core driver)."
4 license = "MIT/Apache-2.0"
5 name = "miri"
6 repository = "https://github.com/rust-lang/miri"
7 version = "0.1.0"
8 default-run = "miri"
9 edition = "2018"
10
11 [lib]
12 test = true # we have unit tests
13 doctest = false # but no doc tests
14
15 [[bin]]
16 name = "miri"
17 test = false # we have no unit tests
18 doctest = false # and no doc tests
19
20 [[bin]]
21 name = "miri-rustc-tests"
22 test = false # we have no unit tests
23 doctest = false # and no doc tests
24 required-features = ["rustc_tests"]
25
26 [dependencies]
27 getrandom = { version = "0.2", features = ["std"] }
28 env_logger = "0.7.1"
29 log = "0.4"
30 shell-escape = "0.1.4"
31 hex = "0.4.0"
32 rand = "0.7"
33
34 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
35 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
36 # for more information.
37 rustc-workspace-hack = "1.0.0"
38
39 # Enable some feature flags that dev-dependencies need but dependencies
40 # do not.  This makes `./miri install` after `./miri build` faster.
41 [target."cfg(unix)".dependencies]
42 libc = "0.2"
43
44 [dev-dependencies]
45 compiletest_rs = { version = "0.5", features = ["tmp"] }
46 rustc_version = "0.2.3"
47 colored = "2"
48
49 [features]
50 rustc_tests = []