-
Notifications
You must be signed in to change notification settings - Fork 242
Expand file tree
/
Copy pathCargo.toml
More file actions
116 lines (101 loc) · 2.99 KB
/
Cargo.toml
File metadata and controls
116 lines (101 loc) · 2.99 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
[package]
name = "skim"
version = "3.6.2"
authors = ["Loric ANDRE", "Zhang Jinzhou <lotabout@gmail.com>"]
description = "Fuzzy Finder in rust!"
documentation = "https://docs.rs/skim"
homepage = "https://github.com/skim-rs/skim"
repository = "https://github.com/skim-rs/skim"
readme = "README.md"
keywords = ["fuzzy", "menu", "util"]
license = "MIT"
edition = "2024"
[profile.release]
lto = true
codegen-units = 1
opt-level = 2
strip = true
# Kept for compatibility
[profile.dist]
inherits = "release"
[profile.release-debug]
inherits = "release"
debug = true
strip = false
[lib]
name = "skim"
path = "src/lib.rs"
[[bin]]
name = "sk"
path = "src/bin/main.rs"
required-features = ["cli"]
[dependencies]
assert_enum_variants = "=0.1.2"
clap = { version = "=4.5.60" , optional = true, features = ["cargo", "derive", "unstable-markdown"] }
clap_complete = { version = "=4.5.66", optional = true }
clap_mangen = { version = "=0.2.31", optional = true }
derive_builder = "=0.20.2"
env_logger = { version = "=0.11.9", optional = true, features = ["humantime"] }
indexmap = "=2.13.0"
log = "=0.4.29"
nix = { version = "=0.31.2", features = ["fs", "poll"] }
rand = "=0.10.0"
rayon = "=1.11.0"
regex = "=1.12.3"
shell-quote = "=0.7.2"
shlex = { version = "=1.3.0", optional = true }
tokio = { version = "=1.50.0", features = ["macros", "net", "rt-multi-thread", "sync", "time", "tokio-macros"] }
which = "=8.0.0"
ratatui = "=0.30.0"
color-eyre = "=0.6.5"
ansi-to-tui = "=8.0.1"
futures = "=0.3.32"
tokio-util = "=0.7.18"
thiserror = "=2.0.18"
tempfile = "=3.26.0"
crossterm = { version = ">=0.0.0", features = ["event-stream", "use-dev-tty", "libc"] }
thread_local = "=1.1.9"
memchr = "=2.8.0"
clap_complete_nushell = "=4.5.10"
interprocess = { version = "=2.4.0", features = ["tokio"] }
serde = { version = "=1.0.228", features = ["derive"] }
ron = "=0.12.0"
frizbee = { version = "=0.8.2" }
roff = "=1.0.0"
unicode-display-width = "=0.3.0"
unicode-normalization = "=0.1.25"
derive_more = { version = "=2.1.1", features = ["debug", "eq"] }
portable-pty = "=0.9.0"
tui-term = "=0.3.2"
kanal = "=0.1.1"
mimalloc = { version = "0.1.48", features = ["v3"] }
gungraun = { version = "0.17.2", optional = true }
[features]
default = ["cli"]
# Everyting needed to use skim as a cli (argument parsing, shell integrations...)
cli = ["dep:clap", "dep:clap_complete", "dep:shlex", "dep:env_logger", "dep:clap_mangen"]
# Enable test utilities (e.g., Tui::new_for_test)
test-utils = []
# Enable gungraun (Valgrind-based) benchmarks
gungraun = ["dep:gungraun"]
[dev-dependencies]
criterion = { version = "0.8.2", features = ["async_tokio"] }
insta = "1.46"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(feature, values("test-utils", "gungraun"))', 'cfg(coverage, coverage_nightly)'] }
[[bench]]
name = "read_and_match"
harness = false
[[bench]]
name = "filter"
harness = false
[[bench]]
name = "partial"
harness = false
[[bench]]
name = "matcher_micro"
harness = false
[[bench]]
name = "gungraun"
harness = false
required-features = ["gungraun"]