rust/Cargo.toml

62 lines
1.5 KiB
TOML
Raw Normal View History

[package]
authors = ["Miri Team"]
description = "An experimental interpreter for Rust MIR (core driver)."
2022-04-04 17:52:09 -05:00
license = "MIT OR Apache-2.0"
name = "miri"
2019-02-23 04:56:29 -06:00
repository = "https://github.com/rust-lang/miri"
version = "0.1.0"
default-run = "miri"
2022-04-09 10:16:50 -05:00
edition = "2021"
2018-08-14 13:57:58 -05:00
[lib]
test = true # we have unit tests
doctest = false # but no doc tests
[[bin]]
name = "miri"
2018-08-14 13:57:58 -05:00
test = false # we have no unit tests
doctest = false # and no doc tests
[dependencies]
2020-09-18 05:17:09 -05:00
getrandom = { version = "0.2", features = ["std"] }
2021-10-01 16:08:58 -05:00
env_logger = "0.9"
2018-01-06 09:21:24 -06:00
log = "0.4"
2019-02-08 13:37:07 -06:00
shell-escape = "0.1.4"
2021-04-04 04:45:09 -05:00
rand = "0.8"
2021-10-01 16:08:58 -05:00
smallvec = "1.7"
2019-09-11 11:33:48 -05:00
2018-12-16 21:34:00 -06:00
# A noop dependency that changes in the Rust repository, it's a bit of a hack.
# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
# for more information.
rustc-workspace-hack = "1.0.0"
2022-06-24 18:04:50 -05:00
measureme = "10.0.0"
2019-09-11 11:33:48 -05:00
[target."cfg(unix)".dependencies]
libc = "0.2"
2022-09-21 04:49:30 -05:00
libffi = "3.0.0"
libloading = "0.7"
[dev-dependencies]
2020-09-18 05:17:09 -05:00
colored = "2"
2022-08-31 06:06:35 -05:00
ui_test = "0.3.1"
# Features chosen to match those required by env_logger, to avoid rebuilds
regex = { version = "1.5.5", default-features = false, features = ["perf", "std"] }
lazy_static = "1.4.0"
[package.metadata.rust-analyzer]
2022-04-30 12:40:35 -05:00
# This crate uses #[feature(rustc_private)].
2021-03-09 12:27:22 -06:00
# See https://github.com/rust-analyzer/rust-analyzer/pull/7891
rustc_private = true
[[test]]
name = "compiletest"
harness = false
[features]
default = ["stack-cache"]
stack-cache = []
# Be aware that this file is inside a workspace when used via the
# submodule in the rustc repo. That means there are many cargo features
# we cannot use, such as profiles.