2017-07-21 13:39:06 +02: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 19:56:29 +09:00
|
|
|
repository = "https://github.com/rust-lang/miri"
|
2017-07-21 13:39:06 +02:00
|
|
|
version = "0.1.0"
|
2018-08-01 16:34:39 +02:00
|
|
|
default-run = "miri"
|
2018-11-05 15:45:24 +01:00
|
|
|
edition = "2018"
|
2017-07-21 13:39:06 +02:00
|
|
|
|
2018-08-14 20:57:58 +02:00
|
|
|
[lib]
|
|
|
|
test = true # we have unit tests
|
|
|
|
doctest = false # but no doc tests
|
|
|
|
|
2017-07-21 13:39:06 +02:00
|
|
|
[[bin]]
|
|
|
|
name = "miri"
|
2018-08-14 20:57:58 +02:00
|
|
|
test = false # we have no unit tests
|
|
|
|
doctest = false # and no doc tests
|
2017-07-21 13:39:06 +02:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "cargo-miri"
|
2018-08-14 20:57:58 +02:00
|
|
|
test = false # we have no unit tests
|
|
|
|
doctest = false # and no doc tests
|
2017-08-09 16:12:27 +02:00
|
|
|
required-features = ["cargo_miri"]
|
2017-07-21 13:39:06 +02:00
|
|
|
|
2018-10-14 11:45:56 +02: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 13:39:06 +02:00
|
|
|
[dependencies]
|
2019-10-27 23:01:01 +01:00
|
|
|
cargo_metadata = { version = "0.9.0", optional = true }
|
2019-06-03 09:55:02 +07:00
|
|
|
directories = { version = "2.0", optional = true }
|
2018-12-10 09:32:54 +01:00
|
|
|
rustc_version = { version = "0.2.3", optional = true }
|
2019-08-27 15:12:12 +02:00
|
|
|
getrandom = { version = "0.1.8", features = ["std"] }
|
2019-09-12 12:45:00 +02:00
|
|
|
byteorder = "1.3"
|
2019-10-27 23:01:01 +01:00
|
|
|
env_logger = "0.7.1"
|
2018-01-06 10:21:24 -05:00
|
|
|
log = "0.4"
|
2019-02-08 20:37:07 +01:00
|
|
|
shell-escape = "0.1.4"
|
2019-10-27 23:01:01 +01:00
|
|
|
hex = "0.4.0"
|
2019-09-11 18:33:48 +02:00
|
|
|
rand = "0.7"
|
|
|
|
|
2018-12-16 19:34:00 -08: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 18:33:48 +02:00
|
|
|
|
2019-05-27 09:45:00 +02:00
|
|
|
# Depend on num-traits with default features to avoid having to rebuild
|
|
|
|
# between "cargo build" and "cargo intall".
|
|
|
|
num-traits = "*"
|
2017-07-21 13:39:06 +02:00
|
|
|
|
2018-09-16 15:06:05 +02:00
|
|
|
[build-dependencies]
|
2018-10-09 20:17:54 +02:00
|
|
|
vergen = "3"
|
2018-09-16 15:06:05 +02:00
|
|
|
|
2017-08-09 16:12:27 +02:00
|
|
|
[features]
|
2018-11-25 16:08:24 +01:00
|
|
|
default = ["cargo_miri"]
|
2018-12-10 09:32:54 +01:00
|
|
|
cargo_miri = ["cargo_metadata", "directories", "rustc_version"]
|
2018-10-14 11:45:56 +02:00
|
|
|
rustc_tests = []
|
2017-08-09 16:12:27 +02:00
|
|
|
|
2017-07-21 13:39:06 +02:00
|
|
|
[dev-dependencies]
|
2019-11-16 09:07:35 +01:00
|
|
|
compiletest_rs = { version = "0.3.24", features = ["tmp", "stable"] }
|
2018-07-12 11:26:09 +02:00
|
|
|
colored = "1.6"
|