# 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"
rust-version = "1.70"
name = "azumi"
version = "47.44.0"
authors = ["DraconDev <dracsharp@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Server-rendered HTML framework for Rust. Client interactivity without JavaScript. HTMX alternative with compile-time validation."
readme = "README.md"
keywords = [
    "html",
    "htmx",
    "ssr",
    "web-framework",
    "compile-time",
]
categories = [
    "template-engine",
    "web-programming",
    "gui",
]
license = "AGPL-3.0-only"
repository = "https://github.com/DraconDev/azumi-live-ssr-framework"

[features]
axum = [
    "dep:axum",
    "dep:inventory",
    "dep:futures",
]
default = ["axum"]
devtools = [
    "dep:notify",
    "dep:lru",
    "tokio/sync",
    "axum",
]
schema = ["azumi-macros/schema"]
test-utils = ["dep:scraper"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.azumi-macros]
version = "8.0.0"

[dependencies.base64]
version = "0.22"

[dependencies.fnv]
version = "1.0"

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.getrandom]
version = "0.3"

[dependencies.hmac]
version = "0.12"

[dependencies.inventory]
version = "0.3"
optional = true

[dependencies.lru]
version = "0.16"
optional = true

[dependencies.notify]
version = "6.1"
optional = true

[dependencies.scraper]
version = "0.18"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.0"
features = [
    "macros",
    "rt",
]

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

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

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.tower]
version = "0.5"

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