rust/Cargo.toml

64 lines
1.6 KiB
TOML
Raw Normal View History

[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"
version = "0.1.0"
default-run = "miri"
2018-11-05 15:45:24 +01:00
edition = "2018"
2018-08-14 20:57:58 +02:00
[lib]
test = true # we have unit tests
doctest = false # but no doc tests
[[bin]]
name = "miri"
2018-08-14 20:57:58 +02:00
test = false # we have no unit tests
doctest = false # and no doc tests
[[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
required-features = ["cargo_miri"]
[[bin]]
name = "miri-rustc-tests"
test = false # we have no unit tests
doctest = false # and no doc tests
required-features = ["rustc_tests"]
[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 }
getrandom = { version = "0.1.8", features = ["std"] }
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 = "*"
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
[features]
default = ["cargo_miri"]
2018-12-10 09:32:54 +01:00
cargo_miri = ["cargo_metadata", "directories", "rustc_version"]
rustc_tests = []
[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"