-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (44 loc) · 1.22 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
[package]
name = "yew_hybrid_ssr_client_template"
version = "0.0.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.dev]
opt-level = 0
debug = true
debug-assertions = true
overflow-checks = true
lto = false
panic = 'unwind'
incremental = true
codegen-units = 256
rpath = false
[profile.release]
opt-level = "z"
debug-assertions = false
overflow-checks = true
lto = true
panic = 'unwind'
incremental = false
codegen-units = 1
rpath = false
debug = false
strip = 'debuginfo'
[[bin]]
name = "server_app"
[dependencies]
yew-router = { git = "https://github.com/yewstack/yew.git" }
serde = { version = "1", features = ["derive"] }
log = "0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
yew = { git = "https://github.com/yewstack/yew.git", features = ["ssr"] } # Change this to your path
tokio = { version = "1", features = ["full"] }
actix-web = "4"
actix-files = "0"
clap = { version = "4", features = ["derive"] }
qstring = "0"
env_logger = "0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
yew = { git = "https://github.com/yewstack/yew.git", features = ["hydration"] } # Change this to your path
wasm-bindgen-futures = "0.4"
wasm-logger = "0.2"