a0d562a183
Use the derive feature of `clap` to generate CLI of clippy-dev. Adding new commands will be easier in the future and we get better compile time checking through exhaustive matching.
22 lines
412 B
TOML
22 lines
412 B
TOML
[package]
|
|
name = "clippy_dev"
|
|
description = "Clippy developer tooling"
|
|
version = "0.0.1"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
aho-corasick = "1.0"
|
|
clap = { version = "4.1.4", features = ["derive"] }
|
|
indoc = "1.0"
|
|
itertools = "0.12"
|
|
opener = "0.6"
|
|
shell-escape = "0.1"
|
|
walkdir = "2.3"
|
|
|
|
[features]
|
|
deny-warnings = []
|
|
|
|
[package.metadata.rust-analyzer]
|
|
# This package uses #[feature(rustc_private)]
|
|
rustc_private = true
|