start, reverse guard, cli-frontend for server and client
This commit is contained in:
52
Cargo.toml
Normal file
52
Cargo.toml
Normal file
@@ -0,0 +1,52 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = ["ostp", "oncp", "osn", "osds", "ostp-server", "ostp-client", "ostp-guard"]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
authors = ["Ospab Team"]
|
||||
license = "Proprietary"
|
||||
|
||||
# ============================================================================
|
||||
# HARDENED RELEASE PROFILE - Anti-Reverse Engineering
|
||||
# ============================================================================
|
||||
[profile.release]
|
||||
lto = true # Link-Time Optimization - merges all code, removes boundaries
|
||||
codegen-units = 1 # Single codegen unit - better optimization, harder to analyze
|
||||
panic = "abort" # No unwinding info - smaller binary, no stack traces
|
||||
strip = "symbols" # Remove ALL symbols - no function names in binary
|
||||
opt-level = 3 # Maximum optimization
|
||||
debug = false # No debug info
|
||||
debug-assertions = false # No debug assertions
|
||||
overflow-checks = false # No overflow checks (performance + less obvious control flow)
|
||||
incremental = false # Reproducible builds
|
||||
|
||||
# Distribution build - even more aggressive
|
||||
[profile.dist]
|
||||
inherits = "release"
|
||||
lto = "fat" # Full LTO across all crates
|
||||
strip = "debuginfo" # Alternative stripping
|
||||
|
||||
[workspace.dependencies]
|
||||
tokio = { version = "1.40", features = ["full"] }
|
||||
ring = "0.17"
|
||||
chacha20poly1305 = "0.10"
|
||||
x25519-dalek = { version = "2.0", features = ["static_secrets"] }
|
||||
bytes = "1.7"
|
||||
rusqlite = { version = "0.32", features = ["bundled"] }
|
||||
anyhow = "1.0"
|
||||
thiserror = "2.0"
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
uuid = { version = "1.10", features = ["v4", "serde"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
hmac = "0.12"
|
||||
sha2 = "0.10"
|
||||
rand = "0.8"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
clap = { version = "4.5", features = ["derive", "env"] }
|
||||
hex = "0.4"
|
||||
dialoguer = "0.11"
|
||||
console = "0.15"
|
||||
Reference in New Issue
Block a user