Work on custom binaries

This commit is contained in:
Michael Mikovsky
2026-01-30 14:05:07 -07:00
parent b2fe85a698
commit 82d8e1ba10
21 changed files with 217 additions and 278 deletions
+16 -10
View File
@@ -1,4 +1,4 @@
cargo-features = ["trim-paths"]
cargo-features = ["trim-paths", "panic-immediate-abort"]
[package]
name = "unshell"
@@ -14,11 +14,14 @@ include = ["LICENSE-APACHE", "LICENSE-MIT", "**/*.rs", "Cargo.toml"]
[workspace]
members = [
# Binaries
"unshell-gui", "unshell-server",
"unshell-gui",
# UnShell Binaries
"unshell-server", "unshell-payload",
# Libraries
"unshell-manager", "unshell-obfuscate", "unshell-crypt"
]
, "core-modules/server2"]
[features]
default = []
@@ -51,18 +54,21 @@ toml = "0.9.9"
[profile.release]
opt-level = 2
# strip = true # Strip symbols from the binary
# opt-level = "z" # Optimize for size
# lto = true # Link tree optimization
# codegen-units = 1
# panic = "abort"
# debug = false # Remove debug
# trim-paths="all"
# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 2
[profile.minimize]
inherits = "release"
strip = true # Strip symbols from the binary
opt-level = "z" # Optimize for size
lto = true # Link tree optimization
codegen-units = 1
panic = "immediate-abort"
debug = false # Remove debug
trim-paths="all"
# ----------------------------------------------------------------------------------------
# Lints: