diff options
author | 2025-04-17 11:24:43 +0100 | |
---|---|---|
committer | 2025-04-17 11:24:43 +0100 | |
commit | 26d0ee51e232b793bc83ba565c0e9ab820d8d0db (patch) | |
tree | 26596552b1c7692fe9b4c95a9b254299273f2432 /filamento/Cargo.toml | |
parent | b9d75f38743113c054be3d97af36bdd2a7dd0d69 (diff) | |
download | luz-26d0ee51e232b793bc83ba565c0e9ab820d8d0db.tar.gz luz-26d0ee51e232b793bc83ba565c0e9ab820d8d0db.tar.bz2 luz-26d0ee51e232b793bc83ba565c0e9ab820d8d0db.zip |
feat(filamento): remove sqlx
Diffstat (limited to 'filamento/Cargo.toml')
-rw-r--r-- | filamento/Cargo.toml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/filamento/Cargo.toml b/filamento/Cargo.toml index 4c36c95..66cbc31 100644 --- a/filamento/Cargo.toml +++ b/filamento/Cargo.toml @@ -7,12 +7,12 @@ edition = "2024" futures = "0.3.31" lampada = { version = "0.1.0", path = "../lampada" } tokio = { workspace = true } -# tokio = "1.42.0" thiserror = "2.0.11" stanza = { version = "0.1.0", path = "../stanza", features = ["rfc_6121", "xep_0203", "xep_0030", "xep_0060", "xep_0172", "xep_0390", "xep_0128", "xep_0115", "xep_0084"] } # TODO: re-export jid? -jid = { version = "0.1.0", path = "../jid", features = ["sqlx"] } +jid = { version = "0.1.0", path = "../jid" } uuid = { version = "1.13.1", features = ["v4"] } +rusqlite = { git = "https://github.com/Spxg/rusqlite.git" } tracing = "0.1.41" chrono = "0.4.40" sha2 = "0.10.8" @@ -24,14 +24,10 @@ hex = "0.4.3" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tokio = { workspace = true, features = ["sync", "time", "rt", "fs"] } -sqlx = { path = "../../remote/sqlx", features = ["sqlite", "runtime-tokio", "uuid", "chrono"] } [target.'cfg(target_arch = "wasm32")'.dependencies] tokio = { workspace = true, features = ["sync", "time", "rt"] } -# tokio = { version = "1.44.3", features = [] } -sqlx = { path = "../../remote/sqlx", features = ["sqlite-precompiled-wasm", "runtime-tokio", "uuid", "chrono"] } tokio_with_wasm = { version = "0.8.2", features = ["sync", "time", "rt"] } -# wasm-bindgen-futures = "0.4" [dev-dependencies] tracing-subscriber = "0.3.19" |