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