aboutsummaryrefslogtreecommitdiffstats
path: root/lampada/Cargo.toml
blob: 421360c9f88a5980d665a35c613373de202c1b46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[package]
name = "lampada"
version = "0.1.0"
edition = "2021"

[features]
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 }

[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 = [
	"macros",
	"rt",
	"time",
	"sync",
] }