mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Work on custom binaries
This commit is contained in:
+16
-10
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user