]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/Cargo.toml
Rollup merge of #107524 - cjgillot:both-storage, r=RalfJung
[rust.git] / src / tools / miri / Cargo.toml
1 [package]
2 authors = ["Miri Team"]
3 description = "An experimental interpreter for Rust MIR (core driver)."
4 license = "MIT OR 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 = "2021"
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 [dependencies]
21 getrandom = { version = "0.2", features = ["std"] }
22 env_logger = "0.9"
23 log = "0.4"
24 rand = "0.8"
25 smallvec = "1.7"
26
27 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
28 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
29 # for more information.
30 rustc-workspace-hack = "1.0.0"
31 measureme = "10.0.0"
32
33 [target.'cfg(unix)'.dependencies]
34 libc = "0.2"
35
36 [target.'cfg(target_os = "linux")'.dependencies]
37 libffi = "3.0.0"
38 libloading = "0.7"
39
40 [dev-dependencies]
41 colored = "2"
42 ui_test = "0.5"
43 rustc_version = "0.4"
44 # Features chosen to match those required by env_logger, to avoid rebuilds
45 regex = { version = "1.5.5", default-features = false, features = ["perf", "std"] }
46 lazy_static = "1.4.0"
47
48 [package.metadata.rust-analyzer]
49 # This crate uses #[feature(rustc_private)].
50 # See https://github.com/rust-analyzer/rust-analyzer/pull/7891
51 rustc_private = true
52
53 [[test]]
54 name = "compiletest"
55 harness = false
56
57 [features]
58 default = ["stack-cache"]
59 stack-cache = []
60
61 # Be aware that this file is inside a workspace when used via the
62 # submodule in the rustc repo. That means there are many cargo features
63 # we cannot use, such as profiles.