-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
60 lines (53 loc) · 1.54 KB
/
Cargo.toml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "comet-web"
version = "0.1.6"
edition = "2021"
license = "MIT"
description = "Reactive Isomorphic Web Framework"
repository = "https://github.com/Champii/Comet"
[lib]
name = "comet"
crate-type = ["cdylib", "rlib"]
[dependencies]
wasm-bindgen = "0.2.83"
wasm-bindgen-futures = "0.4.30"
futures = { version = "0.3"}
paste = "1.0.9"
comet_macro_procs = { path = "./macros/macro_procs/", version = "0.1.6" }
serde = { version = "1.0.147", features = ["derive"] }
serde_cbor = "0.11.2"
lazy_static = "1.4.0"
derive_more = "0.99.17"
async-trait = "0.1.58"
percy-dom = { version = "0.9.0", default-features = false, features = ["macro"] }
uuid = { version = "1.3.0", features = ["v4", "js"] }
log = "0.4.17"
[dependencies.web-sys]
version = "0.3.4"
features = [
'Document',
'Text',
'Element',
'HtmlElement',
'Node',
'Window',
'DomTokenList',
'HtmlInputElement',
'HtmlSelectElement',
]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
axum = { version = "0.5.17", features = ["ws"] }
tokio = { version = "1.21.2", features = ["full"] }
axum-extra = { version = "0.3.7", features = ["spa"] }
reactive-pg = { path = "../reactive-postgres-rs/", version = "0.2.0" }
diesel = { version = "2.0.2", features = ["postgres"] }
pretty_env_logger = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies]
ws_stream_wasm = "0.7.3"
pharos = "0.5"
wasm-bindgen-futures = "0.4.30"
console_error_panic_hook = "0.1.7"
tokio = { version = "1.21.2", features = ["sync", "rt", "macros"] }
wasm-logger = "0.2.0"
[dev-dependencies]
wasm-bindgen-test = "0.3.0"