overhaul dioxus fullstack using a new implementation of server_fn This PR is a complete rewrite of dioxus fullstack designed to improve compatibility with axum and to fix a number of compilation errors based on feature flag unification plumbing through macros.
22 lines
632 B
TOML
22 lines
632 B
TOML
[package]
|
|
name = "ecommerce-site"
|
|
version = "0.1.1"
|
|
edition = "2021"
|
|
publish = false
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
dioxus = { workspace = true, features = ["fullstack", "router"] }
|
|
reqwest = { workspace = true, features = ["json"] }
|
|
serde = { workspace = true }
|
|
|
|
[target.'cfg(target_family = "wasm")'.dependencies]
|
|
chrono = { workspace = true, features = ["serde", "wasmbind"] }
|
|
|
|
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
|
chrono = { workspace = true, features = ["serde"] }
|
|
|
|
[features]
|
|
web = ["dioxus/web"]
|
|
server = ["dioxus/server"]
|