[package] name = "qtlib" version = "0.1.0" authors = ["zecwallet", "The Hush Developers"] edition = "2018" [lib] name = "silentdragonxlite" crate-type = ["staticlib"] [dependencies] libc = "0.2.58" lazy_static = "1.4.0" blake3 = "0.3.4" silentdragonxlitelib = { path = "../silentdragonxlite-cli/lib" } socket2 = "0.3.11" # Release profile for the static library linked into the Lite app. panic MUST stay "unwind": # litelib_execute wraps the command in catch_unwind, and the full-tx fetcher (fulltx_fetch.rs) and # threadpool turn scan-job panics into errors by unwinding. Do not set panic = "abort". Do not add # `strip`: rustc does not link a staticlib (no-op), and build.sh strips the final executable. [profile.release] opt-level = 3 lto = true # fat LTO; fall back to "thin" if build time/RAM is a problem codegen-units = 1 panic = "unwind"