diff --git a/Cargo.lock b/Cargo.lock index 59f6b96..35152a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1868,7 +1868,6 @@ name = "shared" version = "0.1.0" dependencies = [ "crux_core", - "lazy_static", "libsql", "serde", "uniffi", diff --git a/shared/Cargo.toml b/shared/Cargo.toml index 74fb488..4a55077 100644 --- a/shared/Cargo.toml +++ b/shared/Cargo.toml @@ -14,7 +14,6 @@ typegen = ["crux_core/typegen"] [dependencies] crux_core.workspace = true serde = { workspace = true, features = ["derive"] } -lazy_static = "1.5.0" uniffi = "0.28.0" wasm-bindgen = "0.2.92" libsql = { version = "0.4.0", features = ["encryption"] } diff --git a/shared/src/lib.rs b/shared/src/lib.rs index f4e1766..67d413d 100644 --- a/shared/src/lib.rs +++ b/shared/src/lib.rs @@ -2,20 +2,14 @@ pub mod app; pub mod database; use std::sync::OnceLock; -use lazy_static::lazy_static; use wasm_bindgen::prelude::wasm_bindgen; pub use crux_core::{bridge::Bridge, Core, Request}; pub use app::*; -// TODO hide this plumbing uniffi::include_scaffolding!("shared"); -// -// lazy_static! { -// static ref CORE: Bridge = Bridge::new(Core::new()); -// } fn core() -> &'static Bridge { static CORE: OnceLock> = OnceLock::new();