32 lines
996 B
TOML
Raw Permalink Normal View History

2025-07-02 15:31:24 -05:00
[package]
name = "offline-web-storage"
version = "0.1.0"
edition = "2021"
[dependencies]
offline-web-model = { path = "../offline-web-model" }
2025-07-23 15:21:39 -04:00
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "sqlite", "uuid", "chrono"], optional=true }
tokio = { version = "1.0", features = ["full"], optional=true }
2025-07-23 16:50:46 -04:00
tokio-test = { version = "0.4", optional = true }
2025-07-02 15:31:24 -05:00
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
anyhow = "1.0"
uuid = { version = "1.0", features = ["v4"] }
chrono = { version = "0.4", features = ["serde"] }
blake2 = "0.10"
2025-07-03 16:58:56 -05:00
thiserror = "2.0.12"
2025-07-23 15:21:39 -04:00
wasm-bindgen = { version = "0.2.100", optional=true }
2025-07-23 16:50:46 -04:00
idb = { version = "0.6.1", optional=true }
web-sys = { version = "0.3", features = ["console"], optional=true }
2025-07-02 15:31:24 -05:00
2025-07-03 16:58:56 -05:00
[dev-dependencies]
2025-07-23 16:50:46 -04:00
wasm-bindgen-test = "0.3"
wasm-bindgen-futures = "0.4"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
native = ["sqlx", "tokio", "tokio-test"]
wasm = ["offline-web-model/wasm", "uuid/js", "idb", "wasm-bindgen", "web-sys"]