diff options
author | 2025-05-30 21:02:41 +0100 | |
---|---|---|
committer | 2025-05-30 21:10:09 +0100 | |
commit | d6d76a630b6e6ba2b5955dda8c130d9a3252c0f6 (patch) | |
tree | 0d0630bf2e39d7e6d0c3afc29d311c2497aabfe4 | |
parent | 76ea017eb8d9feda691d21ec501e31e02a8fa224 (diff) | |
download | luz-d6d76a630b6e6ba2b5955dda8c130d9a3252c0f6.tar.gz luz-d6d76a630b6e6ba2b5955dda8c130d9a3252c0f6.tar.bz2 luz-d6d76a630b6e6ba2b5955dda8c130d9a3252c0f6.zip |
chore(lampada): move dependencies to workspace
-rw-r--r-- | Cargo.toml | 6 | ||||
-rw-r--r-- | lampada/Cargo.toml | 18 |
2 files changed, 14 insertions, 10 deletions
@@ -4,18 +4,22 @@ resolver = "2" members = ["luz", "lampada", "stanza", "jid", "filamento"] [workspace.dependencies] -tokio = { version = "1.42.0" } jid = { path = "jid" } stanza = { path = "stanza" } +luz = { path = "luz" } +lampada = { path = "lampada" } +tokio = { version = "1.42.0" } peanuts = { version = "0.1.0", git = "https://bunny.garden/peanuts" } thiserror = "2.0.11" chrono = { version = "0.4.40" } serde = { version = "1.0.219" } tracing = { version = "0.1.40" } uuid = { version = "1.13.1" } +futures = { version = "0.3.30" } # WASM dependencies +tokio_with_wasm = "0.8.2" web-sys = "0.3" js-sys = "0.3" wasm-bindgen = "0.2" diff --git a/lampada/Cargo.toml b/lampada/Cargo.toml index 421360c..1937162 100644 --- a/lampada/Cargo.toml +++ b/lampada/Cargo.toml @@ -7,20 +7,20 @@ edition = "2021" serde = ["dep:serde"] [dependencies] -futures = "0.3.30" -luz = { version = "0.1.0", path = "../luz" } -peanuts = { version = "0.1.0", git = "https://bunny.garden/peanuts" } -jid = { version = "0.1.0", path = "../jid" } -stanza = { version = "0.1.0", path = "../stanza", features = ["xep_0203"] } -tracing = "0.1.41" -thiserror = "2.0.11" -serde = { version = "1.0.219", features = ["derive"], optional = true } +futures = { workspace = true } +luz = { workspace = true } +peanuts = { workspace = true } +jid = { workspace = true } +stanza = { workspace = true, features = ["xep_0203"] } +tracing = { workspace = true } +thiserror = { workspace = true } +serde = { workspace = true, features = ["derive"], optional = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tokio = { workspace = true, features = ["macros", "sync"] } [target.'cfg(target_arch = "wasm32")'.dependencies] -tokio_with_wasm = { version = "0.8.2", features = [ +tokio_with_wasm = { workspace = true, features = [ "macros", "rt", "time", |