43 lines
1.3 KiB
TOML
43 lines
1.3 KiB
TOML
[package]
|
|
name = "nimanyatta-ui"
|
|
version = "1.0.0"
|
|
authors = ["Nigig Ltd <info@nigigltg.com>"]
|
|
edition = "2021"
|
|
description = "Nimanyatta UI"
|
|
|
|
[dependencies]
|
|
makepad-widgets = { path = "../../../MadeByMakepad/makepad/widgets", version = "1.0.0" }
|
|
nimanyatta-protocol = { path = "../crates/nimanyatta-protocol" }
|
|
futures-util = { version = "0.3.31", features = ["sink"] }
|
|
futures-channel = "0.3.31"
|
|
url = "2.2.2"
|
|
bincode = "2.0.1"
|
|
serde = { version = "1.0", features = ["derive"]}
|
|
postcard = { version = "1.0", features = ["alloc"]}
|
|
serde_json = "1.0"
|
|
cfg-if = "1.0.0" # Helpful for conditional compilation
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
tokio = { version = "1", features = [
|
|
"rt",
|
|
"rt-multi-thread",
|
|
"signal",
|
|
"sync",
|
|
"macros",
|
|
"process",
|
|
"time",
|
|
] }
|
|
tokio-tungstenite = { version = "0.27.0", features = ["native-tls"] }
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
wasm-bindgen-futures = { version = "0.4.50" }
|
|
gloo-net = { version = "0.6.0", features = ["websocket"] }
|
|
wasm-bindgen = "0.2.100"
|
|
ulid = { version = "1.2.1", default-features = false, features = [
|
|
"serde",
|
|
"std",
|
|
] }
|
|
getrandom = { version = "0.3", default-features = false, features = [
|
|
"wasm_js",
|
|
] }
|