···67[features]
8default = ["web"]
9-# The feature that are only required for the web = ["dioxus/web"] build target should be optional and only enabled in the web = ["dioxus/web"] feature
10-web = ["dioxus/web", "chrono/wasmbind"]
11-# The feature that are only required for the desktop = ["dioxus/desktop"] build target should be optional and only enabled in the desktop = ["dioxus/desktop"] feature
012desktop = ["dioxus/desktop"]
13-# The feature that are only required for the mobile = ["dioxus/mobile"] build target should be optional and only enabled in the mobile = ["dioxus/mobile"] feature
14mobile = ["dioxus/mobile"]
15-# The feature that are only required for the server = ["dioxus/server"] build target should be optional and only enabled in the server = ["dioxus/server"] feature
16-server = ["dioxus/server", "dep:jacquard-axum", "dep:axum"]
001718[dependencies]
19dashmap = "6.1.0"
20-dioxus = { version = "0.7.0", features = ["router", "fullstack"] }
0021weaver-common = { path = "../weaver-common" }
22jacquard = { workspace = true, features = ["streaming"] }
23jacquard-axum = { workspace = true, optional = true }
···373839[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies]
40-sqlite-wasm-rs = { version = "0.4", features = ["relaxed-idb"] }
41-42-43-44-[target.'cfg(target_arch = "wasm32")'.dependencies]
45time = { version = "0.3", features = ["wasm-bindgen"] }
46console_error_panic_hook = "0.1"
47mini-moka = { git = "https://github.com/moka-rs/mini-moka", rev = "da864e849f5d034f32e02197fee9bb5d5af36d3d", features = ["js"] }
00000
···67[features]
8default = ["web"]
9+# Fullstack mode with SSR and server functions
10+fullstack-server = ["dioxus/fullstack"]
11+12+web = ["dioxus/web"]
13desktop = ["dioxus/desktop"]
014mobile = ["dioxus/mobile"]
15+server = [ "dioxus/server", "dep:jacquard-axum", "dep:axum"]
16+17+18+1920[dependencies]
21dashmap = "6.1.0"
22+23+dioxus = { version = "0.7.0", features = ["router"] }
24+#dioxus = { version = "0.7.0", features = ["router", "fullstack"] }
25weaver-common = { path = "../weaver-common" }
26jacquard = { workspace = true, features = ["streaming"] }
27jacquard-axum = { workspace = true, optional = true }
···414243[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies]
44+sqlite-wasm-rs = { version = "0.4", default-features = false, features = ["precompiled", "relaxed-idb"] }
000045time = { version = "0.3", features = ["wasm-bindgen"] }
46console_error_panic_hook = "0.1"
47mini-moka = { git = "https://github.com/moka-rs/mini-moka", rev = "da864e849f5d034f32e02197fee9bb5d5af36d3d", features = ["js"] }
48+chrono = { version = "0.4", features = ["wasmbind"] }
49+wasm-bindgen = "0.2"
50+wasm-bindgen-futures = "0.4"
51+web-sys = { version = "0.3", features = ["ServiceWorkerContainer", "ServiceWorker", "ServiceWorkerRegistration", "RegistrationOptions", "Window", "Navigator", "MessageEvent", "console"] }
52+js-sys = "0.3"