canonrs-server 0.1.0

CanonRS server-side rendering support
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "canonrs-server"
version = "0.1.0"
authors = ["CanonRS Team"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CanonRS server-side rendering support"
homepage = "https://github.com/canonrs/canonrs"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/canonrs/canonrs"

[features]
default = []
examples = []
hydrate = [
    "leptos/hydrate",
    "canonrs-core/hydrate",
]
ssr = [
    "axum",
    "tokio",
    "tower",
    "tower-http",
    "leptos_axum",
    "leptos/ssr",
    "leptos_meta/ssr",
    "leptos_router/ssr",
    "canonrs-core/ssr",
    "syntect",
    "pulldown-cmark",
    "html-escape",
    "dep:canonrs-client",
]

[lib]
name = "canonrs_server"
path = "src/lib.rs"

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.canonrs-client]
version = "0.1.0"
optional = true

[dependencies.canonrs-core]
version = "0.1.0"

[dependencies.cfg-if]
version = "1.0"

[dependencies.futures-util]
version = "0.3"

[dependencies.html-escape]
version = "0.2"
optional = true

[dependencies.leptos]
version = "0.8"
default-features = false

[dependencies.leptos_axum]
version = "0.8"
optional = true

[dependencies.leptos_meta]
version = "0.8"
default-features = false

[dependencies.leptos_router]
version = "0.8"
default-features = false

[dependencies.pulldown-cmark]
version = "0.12.2"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.syntect]
version = "5.2"
features = [
    "default-syntaxes",
    "default-themes",
    "html",
    "regex-fancy",
]
optional = true
default-features = false

[dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[dependencies.tower]
version = "0.5"
optional = true

[dependencies.tower-http]
version = "0.6"
optional = true