-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
73 lines (63 loc) · 2.41 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "hunt"
description = "Simple command to quickly search a file/folder by name."
documentation = "https://github.com/LyonSyonII/hunt-rs"
repository = "https://github.com/LyonSyonII/hunt-rs"
keywords = ["algorithms", "filesystem"]
readme = "README.md"
license = "MIT"
version = "3.0.0"
authors = ["Liam G <liam.garriga@tutanota.com>"]
edition = "2021"
rust-version = "1.74.1"
[package.metadata.wix]
upgrade-guid = "93301563-2D91-4224-B838-C60D235011A0"
path-guid = "35E701F2-8BE5-44F5-A8AB-3864E32599B9"
license = false
eula = false
[dependencies]
clap = { version = "4.5.20", features = ["derive", "color"] } # Command line argument parser
colored = "2.1.0" # Colored output
rayon = "1.10.0" # Parallelism library
crossbeam-channel = "0.5.13" # Faster channels (mpmc)
mimalloc = { version = "0.1.43", default-features = false } # Faster allocator
thin_str = "0.1.0" # Thinner string (only 8 bytes)
memchr = { version = "2.7.4", features = ["std", "alloc"] } # Small substring search optimization
inquire = { version = "0.7.5" } # Multiselect CLI interface
# Multithreaded fine-grained profiler
[dependencies.profi]
version = "0.1.2"
features = ["rayon", "attributes"]
default-features = false
[target.'cfg(target_os = "linux")'.dependencies]
rustix = { version = "0.38.34", default-features = false, features = ["fs", "alloc"] }
[target.'cfg(windows)'.dependencies]
winapi-util = "0.1.8"
[profile.release]
lto = true
codegen-units = 1
strip = true
debug = false
panic = "abort"
[profile.profiling]
inherits = "release"
debug = true
strip = false
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[features]
perf = ["profi/enable"] # Enable performance measurements
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.10.0"
# CI backends to support
ci = ["github"]
# The installers to generate for each app
installers = ["shell", "powershell", "msi"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
# Publish jobs to run in CI
pr-run-mode = "plan"