Make unshell-lib, and module system with components.

This commit is contained in:
Michael Mikovsky
2025-11-08 14:56:03 -07:00
parent 8f33945633
commit 3dba32264c
27 changed files with 461 additions and 311 deletions
+30
View File
@@ -0,0 +1,30 @@
cargo-features = ["trim-paths"]
[package]
name = "unshell-breakout-module"
version = "0.1.0"
edition = "2024"
[dependencies]
# unshell-modules = {path = "../unshell-modules"}
unshell-lib = {path = "../unshell-lib"}
[lib]
crate-type = ["cdylib"]
[features]
default = ["client", "server"]
client = []
server = []
[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"]