Fix warnings: unused variable, profile in non-root package

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Siavash Sameni
2026-03-27 09:12:55 +04:00
parent 99783c1fa4
commit 54a66fa0ee
2 changed files with 2 additions and 4 deletions

View File

@@ -21,6 +21,4 @@ x25519-dalek.workspace = true
ed25519-dalek.workspace = true
uuid = { version = "1", features = ["v4", "serde", "js"] }
[profile.release]
opt-level = "s"
lto = true
# profile.release is set at workspace root

View File

@@ -226,7 +226,7 @@ pub fn self_test() -> Result<String, JsValue> {
public_key: *bob_otpks[0].public.as_bytes(),
}),
};
let bob_bundle_bytes = bincode::serialize(&bob_bundle)
let _bob_bundle_bytes = bincode::serialize(&bob_bundle)
.map_err(|e| JsValue::from_str(&e.to_string()))?;
// Alice initiates X3DH and encrypts