-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
58 lines (50 loc) · 1.52 KB
/
Cargo.toml
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
[package]
name = "rust-rm"
description = "A modern alternative to the rm(1) command"
license = "Apache-2.0"
authors = ["Eric Cornelissen <[email protected]>"]
repository = "https://github.com/ericcornelissen/rust-rm"
keywords = ["cli", "rm", "trash"]
categories = ["development-tools", "filesystem"]
rust-version = "1.82"
edition = "2021"
[features]
default = ["gnu-mode", "trash"]
## Build features
# Include support for the RUST_RM_GNU_MODE environment variable
gnu-mode = []
# Include support for the --trash CLI option
trash = ["dep:trash"]
## Test-only features
# Used for running dangerous tests conditionally.
test-dangerous = []
# Used for running tests involving symbolic links conditionally (Windows only).
test-symlink = []
# Used for running test that move things to the trash conditionally.
test-trash = []
[dependencies]
anstream = "0.6.14"
clap = { version = "4.5.8", features = ["derive"] }
log = "0.4.21"
owo-colors = "4.0.0"
trash = { version = "5.1.1", optional = true }
[dev-dependencies]
assert_cmd = { version = "2.0.13", features = ["color-auto"] }
assert_fs = "1.1.1"
predicates = "3.1.0"
proptest = "1.5.0"
proptest-attr-macro = "1.0.0"
proptest-derive = "0.4.0"
[lints.rust]
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(tarpaulin_include)'] }
[profile.release]
debug = false
debug-assertions = false
incremental = false
lto = true
opt-level = 3
overflow-checks = false
panic = "abort"
strip = "debuginfo"
[package.metadata.cargo-all-features]
denylist = ["test-dangerous", "test-symlink", "test-trash"]