-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
24 lines (22 loc) · 865 Bytes
/
Copy pathCargo.toml
File metadata and controls
24 lines (22 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[package]
name = "syskey-crypt"
version = "0.1.0"
edition = "2021"
authors = ["Leandro Medeiros"]
description = "Runtime-derived Fernet encryption/decryption CLI. Key generated from hardware + system info at runtime (no files, no secrets stored)."
license = "MIT OR Apache-2.0"
publish = false
[dependencies]
clap = { version = "4.5", features = ["derive"] }
fernet = "0.2"
zeroize = "1"
base64 = "0.22"
sha2 = "0.10"
libc = "0.2"
tempfile = "3"
[profile.release]
opt-level = "z" # Optimize for size (use "s" if "z" is too aggressive)
lto = true # Enable Link Time Optimization (merges modules, makes RE harder)
codegen-units = 1 # Limit parallel blocks to improve optimization
panic = "abort" # Remove stack unwinding code (saves space and hides metadata)
strip = true # Automatically strip symbols and debug info (requires Rust 1.59+)