-
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathCargo.toml
More file actions
174 lines (162 loc) · 4.39 KB
/
Cargo.toml
File metadata and controls
174 lines (162 loc) · 4.39 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
[package]
name = "hl"
version.workspace = true
edition.workspace = true
rust-version = "1.86.0"
description = "JSON and logfmt log converter to human readable representation"
repository.workspace = true
license.workspace = true
keywords = ["cli", "json", "log", "logfmt", "viewer"]
categories = ["command-line-utilities", "development-tools", "parsing", "text-processing"]
build = "build.rs"
[workspace]
members = [
".",
"crates/encstr",
"crates/enumset-ext",
"crates/enumset-serde",
"crates/heapopt",
"crates/lifecycle",
"crates/pager",
"crates/serde-logfmt",
"crates/styled-help",
"crates/wildcard",
]
[workspace.package]
version = "0.36.1"
edition = "2024"
repository = "https://github.com/pamburus/hl"
license = "MIT"
[workspace.dependencies]
capnp = "0.25"
capnpc = "0.25"
clap = { version = "4", features = ["derive", "env", "string", "wrap_help"] }
clap_complete = { version = "4" }
clap_mangen = { git = "https://github.com/pamburus/rust-clap.git", rev = "20f0ffd737581a5ebf7479d2174f2c197f25c94d" }
json = { package = "serde_json", version = "1", features = ["raw_value"] }
log = "0.4"
memchr = "2"
rstest = "0.26"
shellwords = "1"
wildcard = { path = "crates/wildcard" }
[[bench]]
harness = false
name = "bench"
[dependencies]
anstream = "1"
bytefmt = "0.1"
capnp.workspace = true
chrono = { version = "0.4", default-features = false, features = ["clock", "serde", "std"] }
chrono-english = "0.1"
chrono-tz = { version = "0.10", features = ["serde"] }
ciborium = "0.2"
clap = { workspace = true }
clap_complete = { workspace = true }
clap_mangen = { workspace = true }
closure = "0.3"
collection_macros = "0.2"
color-print = "0.3"
config = { version = "0.15", features = ["json", "toml", "yaml"] }
const-str = "1"
crossbeam-channel = "0.5"
crossbeam-queue = "0.3"
crossbeam-utils = "0.8"
deko = "0.6"
derive_more = { version = "2", features = ["deref", "deref_mut", "display", "eq", "from", "into", "into_iterator"] }
digest-io = "0.1"
dirs = "6"
dirs-sys = "0.5"
encstr = { path = "./crates/encstr" }
enum-map = "2"
enumset = "1"
enumset-ext = { path = "./crates/enumset-ext", features = ["clap", "serde"] }
enumset-serde = { path = "./crates/enumset-serde" }
env_logger = "0.11"
flate2 = "1"
heapless = "0.9"
heapopt = { path = "./crates/heapopt" }
hex = "0.4"
humantime = "2"
itertools = "0.14"
itoa = { version = "1", default-features = false }
json.workspace = true
known-folders = "1"
liblzma = { version = "*", features = ["static"] }
lifecycle = { path = "./crates/lifecycle" }
log.workspace = true
logos = "0.16"
memchr.workspace = true
mline = { path = "./crates/mline" }
nonzero_ext = "0.3"
notify = { version = "8", features = ["macos_kqueue"] }
num_cpus = "1"
once_cell = "1"
owo-colors = "4"
pager = { path = "./crates/pager" }
pest = "2"
pest_derive = "2"
regex = "1"
rust-embed = "8"
serde = { version = "1", features = ["derive", "rc"] }
serde-logfmt = { path = "./crates/serde-logfmt" }
serde_plain = "1"
serde-value = "0.7"
sha2 = "0.11"
shellwords.workspace = true
signal-hook = "0.4"
snap = "1"
static_assertions = "1"
strsim = "0.11"
strum = { version = "0.28", features = ["derive"] }
styled-help = { path = "./crates/styled-help" }
terminal_size = "0.4"
thiserror = "2"
titlecase = "3"
toml = "1"
unicode-segmentation = "1"
unicode-width = "0.2"
utf8-supported = "1"
which = "8"
wild = "2"
wildcard.workspace = true
winapi-util = { version = "0.1" }
wyhash = "0.6"
yaml = { package = "yaml-peg", version = "1" }
[dev-dependencies]
assert_matches = "1"
base32 = "0.5"
byte-strings = "0.3"
clean-path = "0.2"
criterion = "0.8"
fnv = "1"
maplit = "1"
mockall = "0.14"
rand = "0.10"
regex = "1"
rstest.workspace = true
stats_alloc = "0.1"
wildmatch = "2"
[build-dependencies]
anyhow = "1"
capnpc.workspace = true
const-str = "1"
hex = "0.4"
json.workspace = true
semver = "1"
serde = { version = "1", features = ["derive"] }
sha2 = "0.10"
# Use native-tls on Windows ARM64 to avoid ring/clang requirement
# Use rustls (default) on all other platforms
[target.'cfg(all(target_os = "windows", target_arch = "aarch64"))'.build-dependencies]
ureq = { version = "3", default-features = false, features = ["gzip", "native-tls", "platform-verifier"] }
[target.'cfg(not(all(target_os = "windows", target_arch = "aarch64")))'.build-dependencies]
ureq = "3"
[target.'cfg(target_os = "macos")'.dependencies]
kqueue = "1"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[profile.release]
opt-level = 3
debug = false
lto = true
codegen-units = 1