rust/Cargo.toml

52 lines
1.1 KiB
TOML

cargo-features = ["default-run"]
[package]
authors = ["Scott Olson <scott@solson.me>"]
description = "An experimental interpreter for Rust MIR."
license = "MIT/Apache-2.0"
name = "miri"
repository = "https://github.com/solson/miri"
version = "0.1.0"
build = "build.rs"
default-run = "miri"
edition = "2018"
[lib]
test = true # we have unit tests
doctest = false # but no doc tests
[[bin]]
name = "miri"
test = false # we have no unit tests
doctest = false # and no doc tests
[[bin]]
name = "cargo-miri"
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"]}
cargo_metadata = { version = "0.6", optional = true }
env_logger = "0.5"
log = "0.4"
[build-dependencies]
vergen = "3"
[features]
default = ["cargo_miri"]
cargo_miri = ["cargo_metadata"]
rustc_tests = []
[dev-dependencies]
compiletest_rs = { version = "0.3.17", features = ["tmp"] }
colored = "1.6"