2017-07-21 06:39:06 -05:00
|
|
|
[package]
|
|
|
|
authors = ["Scott Olson <scott@solson.me>"]
|
|
|
|
description = "An experimental interpreter for Rust MIR."
|
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
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"
|
2018-11-05 08:45:24 -06:00
|
|
|
edition = "2018"
|
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
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "cargo-miri"
|
2018-08-14 13:57:58 -05:00
|
|
|
test = false # we have no unit tests
|
|
|
|
doctest = false # and no doc tests
|
2017-08-09 09:12:27 -05:00
|
|
|
required-features = ["cargo_miri"]
|
2017-07-21 06:39:06 -05:00
|
|
|
|
2018-10-14 04:45:56 -05:00
|
|
|
[[bin]]
|
|
|
|
name = "miri-rustc-tests"
|
|
|
|
test = false # we have no unit tests
|
|
|
|
doctest = false # and no doc tests
|
|
|
|
required-features = ["rustc_tests"]
|
|
|
|
|
2017-07-21 06:39:06 -05:00
|
|
|
[dependencies]
|
2019-10-27 17:01:01 -05:00
|
|
|
cargo_metadata = { version = "0.9.0", optional = true }
|
2019-06-02 21:55:02 -05:00
|
|
|
directories = { version = "2.0", optional = true }
|
2018-12-10 02:32:54 -06:00
|
|
|
rustc_version = { version = "0.2.3", optional = true }
|
2020-03-04 03:29:00 -06:00
|
|
|
serde_json = { version = "1.0.40", optional = true }
|
2020-02-24 07:42:45 -06:00
|
|
|
|
2019-08-27 08:12:12 -05:00
|
|
|
getrandom = { version = "0.1.8", features = ["std"] }
|
2019-09-12 05:45:00 -05:00
|
|
|
byteorder = "1.3"
|
2019-10-27 17:01:01 -05:00
|
|
|
env_logger = "0.7.1"
|
2018-01-06 09:21:24 -06:00
|
|
|
log = "0.4"
|
2019-02-08 13:37:07 -06:00
|
|
|
shell-escape = "0.1.4"
|
2019-10-27 17:01:01 -05:00
|
|
|
hex = "0.4.0"
|
2019-09-11 11:33:48 -05:00
|
|
|
rand = "0.7"
|
|
|
|
|
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"
|
2019-09-11 11:33:48 -05:00
|
|
|
|
2019-12-06 01:25:50 -06:00
|
|
|
# Some extra dependency for better feature control to avoid having to rebuild
|
2019-05-27 02:45:00 -05:00
|
|
|
# between "cargo build" and "cargo intall".
|
|
|
|
num-traits = "*"
|
2019-12-06 01:25:50 -06:00
|
|
|
serde = { version = "*", features = ["derive"] }
|
2017-07-21 06:39:06 -05:00
|
|
|
|
2018-09-16 08:06:05 -05:00
|
|
|
[build-dependencies]
|
2018-10-09 13:17:54 -05:00
|
|
|
vergen = "3"
|
2018-09-16 08:06:05 -05:00
|
|
|
|
2020-03-15 09:15:22 -05:00
|
|
|
[dev-dependencies]
|
2020-04-10 07:57:22 -05:00
|
|
|
compiletest_rs = { version = "0.5", features = ["tmp"] }
|
2020-03-15 09:15:22 -05:00
|
|
|
colored = "1.6"
|
|
|
|
|
2017-08-09 09:12:27 -05:00
|
|
|
[features]
|
2018-11-25 09:08:24 -06:00
|
|
|
default = ["cargo_miri"]
|
2020-02-24 07:42:45 -06:00
|
|
|
cargo_miri = ["cargo_metadata", "directories", "rustc_version", "serde_json"]
|
2018-10-14 04:45:56 -05:00
|
|
|
rustc_tests = []
|