2017-07-21 06:39:06 -05:00
|
|
|
[package]
|
2020-05-21 04:00:06 -05:00
|
|
|
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"
|
2017-07-21 06:39:06 -05:00
|
|
|
name = "miri"
|
2019-02-23 04:56:29 -06:00
|
|
|
repository = "https://github.com/rust-lang/miri"
|
2017-07-21 06:39:06 -05:00
|
|
|
version = "0.1.0"
|
2018-08-01 09:34:39 -05:00
|
|
|
default-run = "miri"
|
2022-04-09 10:16:50 -05:00
|
|
|
edition = "2021"
|
2017-07-21 06:39:06 -05:00
|
|
|
|
2018-08-14 13:57:58 -05:00
|
|
|
[lib]
|
|
|
|
test = true # we have unit tests
|
|
|
|
doctest = false # but no doc tests
|
|
|
|
|
2017-07-21 06:39:06 -05:00
|
|
|
[[bin]]
|
|
|
|
name = "miri"
|
2018-08-14 13:57:58 -05:00
|
|
|
test = false # we have no unit tests
|
|
|
|
doctest = false # and no doc tests
|
2017-07-21 06:39:06 -05:00
|
|
|
|
|
|
|
[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
|
|
|
|
2020-05-21 04:21:03 -05:00
|
|
|
[target."cfg(unix)".dependencies]
|
|
|
|
libc = "0.2"
|
2022-09-21 04:49:30 -05:00
|
|
|
libffi = "3.0.0"
|
|
|
|
libloading = "0.7"
|
2020-05-21 04:21:03 -05:00
|
|
|
|
2020-03-15 09:15:22 -05:00
|
|
|
[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"
|
2022-07-03 11:28:57 -05:00
|
|
|
# Features chosen to match those required by env_logger, to avoid rebuilds
|
|
|
|
regex = { version = "1.5.5", default-features = false, features = ["perf", "std"] }
|
2022-03-17 08:49:10 -05:00
|
|
|
lazy_static = "1.4.0"
|
2021-03-08 11:28:52 -06:00
|
|
|
|
|
|
|
[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
|
2021-03-08 11:28:52 -06:00
|
|
|
rustc_private = true
|
2021-04-30 04:22:24 -05:00
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "compiletest"
|
|
|
|
harness = false
|
2021-12-07 21:05:13 -06:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["stack-cache"]
|
|
|
|
stack-cache = []
|
2022-07-13 18:22:22 -05:00
|
|
|
|
2022-07-18 16:47:32 -05:00
|
|
|
# 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.
|