dioxus/packages/static-generation/Cargo.toml
Jonathan Kelley 143ad749ea
Split out isrg from ssr and reorient build graph to make interpreter build 2x faster (#2969)
* split out isrg and core-types to speed up interpreter build
2024-09-16 16:49:06 -07:00

39 lines
1.6 KiB
TOML

[package]
name = "dioxus-static-site-generation"
authors = ["Evan Almloff"]
version = { workspace = true }
edition = "2021"
description = "Static site generation for Dioxus"
license = "MIT OR Apache-2.0"
repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com"
keywords = ["ui", "gui", "react", "ssg"]
resolver = "2"
[dependencies]
dioxus-fullstack = { workspace = true }
dioxus-lib.workspace = true
dioxus-router = { workspace = true, features = ["fullstack"]}
dioxus-ssr = { workspace = true, optional = true }
dioxus-isrg = { workspace = true, optional = true }
axum = { workspace = true, features = ["ws", "macros"], optional = true }
tower-http = { workspace = true, features = ["fs"], optional = true }
dioxus-hot-reload = { workspace = true, features = ["serve"], optional = true }
dioxus-cli-config = { workspace = true, features = ["read-config"], optional = true }
dioxus-web = { workspace = true, features = ["hydrate"], optional = true }
tokio = { workspace = true, optional = true }
http = { workspace = true, optional = true }
tower = { workspace = true, features = ["util"], optional = true }
tracing.workspace = true
[dev-dependencies]
dioxus = { workspace = true }
criterion = { workspace = true }
[features]
default = []
server = ["dioxus-fullstack/server", "dioxus-router/ssr", "dep:dioxus-ssr", "dep:tokio", "dep:http", "dep:axum", "dep:tower-http", "dep:dioxus-hot-reload", "dep:dioxus-cli-config", "dep:tower"]
web = ["dioxus-fullstack/web", "dioxus-router/web", "dep:dioxus-web"]
[package.metadata.docs.rs]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]