2026-04-25 11:36:10 -06:00
|
|
|
cargo-features = ["trim-paths", "panic-immediate-abort"]
|
|
|
|
|
|
2026-01-26 09:13:46 -07:00
|
|
|
[workspace]
|
2026-04-24 13:37:30 -06:00
|
|
|
members = [
|
2026-04-24 14:10:03 -06:00
|
|
|
"ush-obfuscate",
|
|
|
|
|
"base62",
|
2026-04-24 16:19:42 -06:00
|
|
|
"treetest",
|
2026-04-24 13:37:30 -06:00
|
|
|
]
|
2026-04-20 23:38:02 -06:00
|
|
|
resolver = "2"
|
2026-01-26 09:13:46 -07:00
|
|
|
|
2026-04-20 23:38:02 -06:00
|
|
|
[workspace.package]
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2024"
|
|
|
|
|
authors = ["ASTATIN3"]
|
|
|
|
|
license = "MIT"
|
|
|
|
|
repository = "https://github.com/Astatin3/unshell"
|
|
|
|
|
include = ["LICENSE", "**/*.rs", "Cargo.toml"]
|
|
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
2026-04-24 13:37:30 -06:00
|
|
|
rkyv = "0.8.16"
|
2026-04-20 23:38:02 -06:00
|
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
|
|
|
serde_json = "1.0.149"
|
2026-04-24 13:37:30 -06:00
|
|
|
thiserror = "2.0.18"
|
2026-04-24 12:32:24 -06:00
|
|
|
chrono = "0.4.44"
|
2026-04-24 13:37:30 -06:00
|
|
|
static_init = "1.0.4"
|
|
|
|
|
unshell = { path = "." }
|
|
|
|
|
# ush-obfuscate = { path = "./ush-obfuscate" }
|
|
|
|
|
# base62 = { path = "./base62" }
|
2026-01-26 09:13:46 -07:00
|
|
|
|
2026-04-20 23:38:02 -06:00
|
|
|
[package]
|
|
|
|
|
name = "unshell"
|
|
|
|
|
version.workspace = true
|
|
|
|
|
edition.workspace = true
|
2026-04-24 13:37:30 -06:00
|
|
|
description = "Pure no_std implementation of the UnShell Protocol"
|
2026-03-17 16:40:05 -06:00
|
|
|
|
2026-04-20 23:38:02 -06:00
|
|
|
[features]
|
2026-04-24 13:37:30 -06:00
|
|
|
default = []
|
|
|
|
|
log = []
|
2026-04-20 23:38:02 -06:00
|
|
|
log_debug = ["log", "dep:chrono"]
|
2026-04-24 13:37:30 -06:00
|
|
|
# obfuscate_aes = ["ush-obfuscate/obfuscate_aes"]
|
|
|
|
|
# obfuscate_ref = ["ush-obfuscate/obfuscate_ref"]
|
2026-01-26 09:13:46 -07:00
|
|
|
|
2026-04-20 23:38:02 -06:00
|
|
|
[dependencies]
|
|
|
|
|
rkyv = { workspace = true }
|
2026-04-24 13:37:30 -06:00
|
|
|
thiserror = { workspace = true, optional = true }
|
2026-04-20 23:38:02 -06:00
|
|
|
chrono = { workspace = true, optional = true }
|
2026-04-24 13:37:30 -06:00
|
|
|
# ush-obfuscate = { workspace = true }
|
2026-04-20 23:38:02 -06:00
|
|
|
static_init = { workspace = true }
|
|
|
|
|
|
2026-04-25 11:36:10 -06:00
|
|
|
[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"
|
|
|
|
|
|
2026-04-24 13:37:30 -06:00
|
|
|
[lints.rust]
|
2026-04-20 23:38:02 -06:00
|
|
|
elided_lifetimes_in_paths = "warn"
|
|
|
|
|
future_incompatible = { level = "warn", priority = -1 }
|
|
|
|
|
nonstandard_style = { level = "warn", priority = -1 }
|
|
|
|
|
rust_2018_idioms = { level = "warn", priority = -1 }
|
|
|
|
|
rust_2021_prelude_collisions = "warn"
|
2026-01-26 09:13:46 -07:00
|
|
|
semicolon_in_expressions_from_macros = "warn"
|
2026-04-20 23:38:02 -06:00
|
|
|
unsafe_op_in_unsafe_fn = "warn"
|
|
|
|
|
unused_import_braces = "warn"
|
|
|
|
|
unused_lifetimes = "warn"
|
|
|
|
|
trivial_casts = "allow"
|