aboutsummaryrefslogtreecommitdiffstats
path: root/filamento/Cargo.toml
blob: 4c36c95b3ff52b05c599c6f0e672d54a4f466233 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[package]
name = "filamento"
version = "0.1.0"
edition = "2024"

[dependencies]
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"] }
uuid = { version = "1.13.1", features = ["v4"] }
tracing = "0.1.41"
chrono = "0.4.40"
sha2 = "0.10.8"
sha3 = "0.10.8"
base64 = "0.22.1"
sha1 = "0.10.6"
image = "0.25.6"
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"
peanuts = { version = "0.1.0", git = "https://bunny.garden/peanuts" }
tracing-wasm = "0.2.1"
tokio_with_wasm = { version = "0.8.2", features = ["sync", "time", "rt"] }
wasm-bindgen-test = "0.3.0"

[[example]]
name = "example"