f44cfc6190
Add a justfile for the common fcry developer commands. The run recipe is variadic and uses just positional arguments so program flags are forwarded through cargo run without needing a second separator. Keep the default release profile debuggable and checked, then move the stripped, LTO-enabled artifact settings into the production profile. This keeps day-to-day release builds easier to inspect while preserving an explicit production build recipe for optimized distributable binaries. The clippy recipe uses workspace, all-target, all-feature coverage and denies warnings so the task runner matches the stricter local verification path. Test Plan: - cargo clippy - cargo clippy --benches - cargo clippy --tests - cargo +nightly fmt - just --fmt --check - just run --help - just clippy - git diff --cached --check Refs: none
56 lines
1.0 KiB
TOML
56 lines
1.0 KiB
TOML
[package]
|
|
name = "fcry"
|
|
version = "0.12.0"
|
|
edition = "2024"
|
|
license = "MIT-0"
|
|
|
|
[dependencies]
|
|
argon2 = "0.5"
|
|
blake3 = "1"
|
|
chacha20poly1305 = "0.10"
|
|
clap = { version = "4", features = ["derive"] }
|
|
crossbeam-channel = "0.5"
|
|
getrandom = { version = "0.4" }
|
|
protected-secrets = { package = "secrets", version = "1.3" }
|
|
same-file = "1"
|
|
unicode-normalization = "0.1"
|
|
zeroize = { version = "1", features = ["derive"] }
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2"
|
|
tempfile = "3"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
rlimit = "0.11"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = {
|
|
version = "0.61",
|
|
features = [
|
|
"Win32_Foundation",
|
|
"Win32_Security",
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_System_Console",
|
|
]
|
|
}
|
|
|
|
[profile.release]
|
|
debug = true
|
|
strip = false
|
|
debug-assertions = true
|
|
overflow-checks = true
|
|
lto = false
|
|
panic = "unwind"
|
|
incremental = true
|
|
|
|
[profile.production]
|
|
inherits = "release"
|
|
debug = false
|
|
strip = true
|
|
debug-assertions = false
|
|
overflow-checks = false
|
|
lto = true
|
|
incremental = false
|
|
codegen-units = 1
|