Files
wasmtime/cranelift/Cargo.toml
Alex Crichton 5fe06f7345 Update to clap 3.* (#4082)
* Update to clap 3.0

This commit migrates all CLI commands internally used in this project
from structopt/clap2 to clap 3. The intent here is to ensure that we're
using maintained versions of the dependencies as structopt and clap 2
are less maintained nowadays. Most transitions were pretty
straightforward and mostly dealing with structopt/clap3 differences.

* Fix a number of `cargo deny` errors

This commit fixes a few errors around duplicate dependencies which
arose from the prior update to clap3. This also uses a new feature in
`deny.toml`, `skip-tree`, which allows having a bit more targeted
ignores for skips of duplicate version checks. This showed a few more
locations in Wasmtime itself where we could update some dependencies.
2022-04-28 12:47:12 -05:00

52 lines
1.9 KiB
TOML

[package]
name = "cranelift-tools"
authors = ["The Cranelift Project Developers"]
version = "0.73.0"
description = "Binaries for testing the Cranelift libraries"
license = "Apache-2.0 WITH LLVM-exception"
documentation = "https://github.com/bytecodealliance/wasmtime/blob/main/cranelift/docs/index.md"
repository = "https://github.com/bytecodealliance/wasmtime"
publish = false
edition = "2021"
[[bin]]
name = "clif-util"
path = "src/clif-util.rs"
[dependencies]
cfg-if = "1.0"
cranelift-codegen = { path = "codegen", version = "0.84.0" }
cranelift-entity = { path = "entity", version = "0.84.0" }
cranelift-interpreter = { path = "interpreter", version = "0.84.0" }
cranelift-reader = { path = "reader", version = "0.84.0" }
cranelift-frontend = { path = "frontend", version = "0.84.0" }
cranelift-wasm = { path = "wasm", version = "0.84.0", optional = true }
cranelift-native = { path = "native", version = "0.84.0" }
cranelift-filetests = { path = "filetests", version = "0.73.0" }
cranelift-module = { path = "module", version = "0.84.0" }
cranelift-object = { path = "object", version = "0.84.0" }
cranelift-jit = { path = "jit", version = "0.84.0" }
cranelift-preopt = { path = "preopt", version = "0.84.0" }
cranelift = { path = "umbrella", version = "0.84.0" }
filecheck = "0.5.0"
log = "0.4.8"
termcolor = "1.1.2"
capstone = { version = "0.9.0", optional = true }
wat = { version = "1.0.36", optional = true }
target-lexicon = { version = "0.12", features = ["std"] }
pretty_env_logger = "0.4.0"
rayon = { version = "1", optional = true }
file-per-thread-logger = "0.1.2"
indicatif = "0.13.0"
thiserror = "1.0.15"
walkdir = "2.2"
anyhow = "1.0.32"
clap = { version = "3.1.12", features = ["derive"] }
[features]
default = ["disas", "wasm", "cranelift-codegen/all-arch", "souper-harvest"]
disas = ["capstone"]
wasm = ["wat", "cranelift-wasm"]
souper-harvest = ["cranelift-codegen/souper-harvest", "rayon"]
all-arch = ["cranelift-codegen/all-arch"]