# 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 = "anvilforge-spark"
version = "0.3.4"
authors = ["Anvilforge contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Spark — Livewire-equivalent reactive components baked into Anvilforge. Signed snapshots, partial re-render, real-time push via Bellows."
homepage = "https://github.com/anvilforge/anvilforge"
readme = "README.md"
keywords = [
    "livewire",
    "reactive",
    "ssr",
    "anvilforge",
    "spark",
]
categories = [
    "web-programming",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/anvilforge/anvilforge"

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

[[test]]
name = "concurrency"
path = "tests/concurrency.rs"

[[test]]
name = "csrf"
path = "tests/csrf.rs"

[[test]]
name = "embedded_templates"
path = "tests/embedded_templates.rs"

[[test]]
name = "macros_e2e"
path = "tests/macros_e2e.rs"

[[test]]
name = "template_at_directives"
path = "tests/template_at_directives.rs"

[[bench]]
name = "snapshot"
path = "benches/snapshot.rs"
harness = false

[[bench]]
name = "template"
path = "benches/template.rs"
harness = false

[dependencies.aes-gcm]
version = "0.10"

[dependencies.anvilforge-bellows]
version = "0.3.4"

[dependencies.anvilforge-core]
version = "0.3.4"

[dependencies.anvilforge-spark-derive]
version = "0.3.4"

[dependencies.anvilforge-templates]
version = "0.3.4"

[dependencies.anvilforge-templates-codegen]
version = "0.3.4"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.7"
features = [
    "macros",
    "ws",
    "multipart",
]

[dependencies.base64]
version = "0.22"

[dependencies.flate2]
version = "1.0"

[dependencies.futures]
version = "0.3"

[dependencies.hmac]
version = "0.12"

[dependencies.http]
version = "1.1"

[dependencies.hyper]
version = "1.4"

[dependencies.inventory]
version = "0.3"

[dependencies.minijinja]
version = "2.0"
features = ["loader"]

[dependencies.moka]
version = "0.12"
features = [
    "future",
    "sync",
]

[dependencies.once_cell]
version = "1.20"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.8"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.40"
features = ["full"]

[dependencies.tower]
version = "0.5"
features = [
    "util",
    "timeout",
]

[dependencies.tower-sessions]
version = "0.13"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.10"
features = [
    "v4",
    "v7",
    "serde",
]

[dev-dependencies.anvilforge-cast-core]
version = "0.3.4"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

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

[dev-dependencies.http-body-util]
version = "0.1"

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

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
    "mysql",
    "sqlite",
    "macros",
    "chrono",
    "uuid",
    "json",
    "any",
]

[dev-dependencies.tempfile]
version = "3.10"

[dev-dependencies.tokio]
version = "1.40"
features = ["full"]

[dev-dependencies.tower]
version = "0.5"
features = [
    "util",
    "timeout",
]

[dev-dependencies.uuid]
version = "1.10"
features = [
    "v4",
    "v7",
    "serde",
]
