Get dynamic component loading working

This commit is contained in:
Michael Mikovsky
2025-11-14 09:43:41 -07:00
parent cc2b2960e8
commit f34ac017ce
13 changed files with 119 additions and 82 deletions
+5 -5
View File
@@ -9,24 +9,24 @@ edition = "2024"
crate-type = ["cdylib"]
[features]
default = ["client", "server"]
default = ["client", "server", "log_debug"]
client = ["unshell-lib/client"]
server = ["unshell-lib/server"]
log_debug = ["unshell-lib/log_debug"]
obfuscate = ["unshell-lib/obfuscate"]
[dependencies]
unshell-lib = {path = "../unshell-lib"}
unshell-lib = {path = "../unshell-lib", default-featues = false}
[profile.release]
strip = true # Strip symbols from the binary
# strip = "debuginfo"
opt-level = "s" # Optimize for size
lto = true
codegen-units = 1
panic = "abort"
debug = false
trim-paths = "all"
# crate-type = ["cdylib"]
+2 -2
View File
@@ -1,5 +1,5 @@
// Behold! The world's most sophisticated shared library! (it has no code)
#![no_main]
pub use unshell_lib::get_components;
// Behold! The world's most sophisticated shared library!