[package] name = "app" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] leptos.workspace = true leptos_meta.workspace = true leptos_router.workspace = true server_fn.workspace = true leptos_axum = { workspace = true, optional = true } tokio = { workspace = true, optional = true } serde.workspace = true http.workspace = true cfg-if.workspace = true thiserror.workspace = true cynic = { version = "3.9.1", optional = true, features = [ "http-reqwest", "reqwest", "serde_json", ] } reqwest = { version = "0.12.11", optional = true, features = ["json"] } axum = { workspace = true, optional = true, features = ["macros"] } serde_json = { version = "1.0.134", optional = true } [features] default = [] hydrate = ["leptos/hydrate"] ssr = [ "leptos/ssr", "leptos_meta/ssr", "leptos_router/ssr", "dep:leptos_axum", "dep:tokio", "dep:cynic", "dep:reqwest", "dep:axum", "dep:serde_json", ] cynic = ["dep:cynic"] reqwest = ["dep:reqwest"] axum = ["dep:axum"] serde_json = ["dep:serde_json"]