aboutsummaryrefslogtreecommitdiffstats
path: root/filamento/Cargo.toml
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-05-08 10:18:07 +0100
committerLibravatar cel 🌸 <cel@bunny.garden>2025-05-08 10:18:07 +0100
commit5f1bc4f2807614dca1ac84136a5c355fde65543a (patch)
treec96e8074f112f7cf22f0182002ca40403a3720c3 /filamento/Cargo.toml
parent8e6a02f16c3e542492241f585a91fa0100ea7e33 (diff)
downloadluz-5f1bc4f2807614dca1ac84136a5c355fde65543a.tar.gz
luz-5f1bc4f2807614dca1ac84136a5c355fde65543a.tar.bz2
luz-5f1bc4f2807614dca1ac84136a5c355fde65543a.zip
feat(filamento): OPFS FileStore implementation
Diffstat (limited to '')
-rw-r--r--filamento/Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/filamento/Cargo.toml b/filamento/Cargo.toml
index 65ebcf4..08f482b 100644
--- a/filamento/Cargo.toml
+++ b/filamento/Cargo.toml
@@ -5,6 +5,7 @@ edition = "2024"
[features]
serde = ["dep:serde", "jid/serde", "uuid/serde", "chrono/serde", "lampada/serde"]
+opfs = ["dep:web-sys"]
reactive_stores = ["dep:reactive_stores"]
[dependencies]
@@ -32,6 +33,7 @@ reactive_stores = { version = "0.1.8", optional = true }
tokio = { workspace = true, features = ["sync", "time", "rt", "fs", "io-std"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
+web-sys = { version = "0.3", features = ["FileSystemDirectoryHandle", "FileSystemWritableFileStream", "FileSystemGetDirectoryOptions", "FileSystemFileHandle", "StorageManager", "File", "Url", "Window", "Navigator"], optional = true }
jid = { version = "0.1.0", path = "../jid", features = ["rusqlite"] }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"