rust/Cargo.toml

62 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 04:56:29 -06:00
repository = "https://github.com/rust-lang/miri"
version = "0.1.0"
build = "build.rs"
default-run = "miri"
2018-11-05 08:45:24 -06:00
edition = "2018"
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
[[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
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]
byteorder = { version = "1.1", features = ["i128"]}
2019-06-02 21:52:19 -05:00
cargo_metadata = { version = "0.8", 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 }
2018-12-26 04:25:20 -06:00
env_logger = "0.6"
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-05-27 02:45:00 -05:00
hex = "0.3.2"
rand = "0.6"
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-05-27 02:45:00 -05:00
# Depend on num-traits with default features to avoid having to rebuild
# between "cargo build" and "cargo intall".
num-traits = "*"
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
[features]
default = ["cargo_miri"]
2018-12-10 02:32:54 -06:00
cargo_miri = ["cargo_metadata", "directories", "rustc_version"]
rustc_tests = []
[dev-dependencies]
2019-04-19 11:30:53 -05:00
compiletest_rs = { version = "0.3.22", features = ["tmp", "stable"] }
2018-07-12 04:26:09 -05:00
colored = "1.6"