-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (42 loc) · 976 Bytes
/
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
[package]
name = "hsize"
version = "0.1.0"
edition = "2021"
description = "Convert file sizes to and from human-readable units"
license = "LGPL-3.0-or-later"
repository = "https://github.com/ErrorNoInternet/hsize"
keywords = [
"converter",
"utility",
"regex",
"humanize",
"human-size",
"file-size",
]
categories = [
"command-line-interface",
"command-line-utilities",
"mathematics",
"text-processing",
]
[profile.release]
codegen-units = 1
lto = true
panic = "abort"
strip = true
[profile.small]
inherits = "release"
opt-level = "z"
[dependencies]
clap = { version = "4", features = ["derive", "env"] }
clap_complete = { version = "4", optional = true }
clap_mangen = { version = "0", optional = true }
num-derive = "0"
num-traits = "0"
oorandom = { version = "11", optional = true }
regex = { version = "1", optional = true }
[features]
default = ["replace"]
replace = ["oorandom", "regex"]
completions = ["clap_complete"]
manpages = ["clap_mangen"]