2 authors = ["Miri Team"]
3 description = "An experimental interpreter for Rust MIR (core driver)."
4 license = "MIT OR Apache-2.0"
6 repository = "https://github.com/rust-lang/miri"
12 test = true # we have unit tests
13 doctest = false # but no doc tests
17 test = false # we have no unit tests
18 doctest = false # and no doc tests
21 getrandom = { version = "0.2", features = ["std"] }
24 shell-escape = "0.1.4"
28 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
29 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
30 # for more information.
31 rustc-workspace-hack = "1.0.0"
34 [target."cfg(unix)".dependencies]
42 # Features chosen to match those required by env_logger, to avoid rebuilds
43 regex = { version = "1.5.5", default-features = false, features = ["perf", "std"] }
46 [package.metadata.rust-analyzer]
47 # This crate uses #[feature(rustc_private)].
48 # See https://github.com/rust-analyzer/rust-analyzer/pull/7891
56 default = ["stack-cache"]
59 # Be aware that this file is inside a workspace when used via the
60 # submodule in the rustc repo. That means there are many cargo features
61 # we cannot use, such as profiles.