[package]
name = "dioxus_server_macro"
version = { workspace = true }
edition = "2021"
repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com/docs/0.5/guide/en/getting_started/fullstack.html"
keywords = ["dom", "ui", "gui", "react", "liveview"]
authors = ["Jonathan Kelley", "Evan Almloff"]
license = "MIT OR Apache-2.0"
description = "Server function macros for Dioxus"

[dependencies]
proc-macro2 = { workspace = true }
quote = { workspace = true }
syn = { workspace = true, features = ["full"] }
server_fn_macro = { workspace = true }


[dev-dependencies]
dioxus = { workspace = true, features = ["fullstack"] }
serde = { workspace = true, features = ["derive"] }
tower-http = { workspace = true, features = ["timeout"] }
axum = { workspace = true }

[lib]
proc-macro = true

[features]
axum = ["server_fn_macro/axum"]
server = ["server_fn_macro/ssr"]
reqwest = ["server_fn_macro/reqwest"]
generic = ["server_fn_macro/generic"]

[package.metadata.docs.rs]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
