-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
59 lines (53 loc) · 1.82 KB
/
Cargo.toml
File metadata and controls
59 lines (53 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[package]
name = "claptrap"
description = "Bring the power of Clap to shell scripts."
version = "0.3.0"
authors = ["FujiApple <fujiapple852@gmail.com>"]
documentation = "https://github.com/fujiapple852/claptrap"
homepage = "https://github.com/fujiapple852/claptrap"
repository = "https://github.com/fujiapple852/claptrap"
keywords = ["cli", "clap", "parse", "arg", "shell"]
categories = ["command-line-utilities"]
readme = "README.md"
license = "Apache-2.0"
edition = "2021"
rust-version = "1.82.0"
[features]
default = ["schema"]
schema = ["schemars"]
[dependencies]
anstream = "0.6.21"
anstyle = "1.0.11"
anyhow = "1.0.99"
clap = { version = "4.5.50", features = ["derive", "string", "cargo", "wrap_help", "usage", "unstable-styles", "color", "suggestions", "error-context", "env"] }
clap-markdown = "0.1.5"
clap_complete = "4.5.59"
clap_mangen = "0.2.31"
crc32fast = "1.5.0"
indexmap = { version = "2.12.1", features = ["serde"] }
itertools = "0.14.0"
minijinja = "2.14.0"
schemars = { version = "1.0.1", optional = true, features = ["derive", "indexmap2"] }
serde = { version = "1.0.225", features = ["derive"] }
serde_json = { version = "1.0.147", features = ["preserve_order"] }
serde_yaml = { version = "=0.9.33", features = [] }
toml = { version = "0.9.8", features = ["preserve_order"] }
[dev-dependencies]
insta = "1.45.0"
tempfile = "3.22.0"
test-case = "3.3.1"
[lints.rust]
rust_2018_idioms = { level = "warn", priority = -1 }
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
option_if_let_else = "allow"
cast_possible_truncation = "allow"
map_unwrap_or = "allow"
missing_const_for_fn = "allow"
struct_field_names = "allow"
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/claptrap", dest = "/usr/bin/claptrap", mode = "755" },
]