[package]
edition = "2024"
rust-version = "1.99"
name = "oxblade"
version = "0.3.2"
authors = ["Bowerbird SI"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Laravel Blade templates for Rust: Blade's markup and directives with Rust expressions, rendering the same HTML as Laravel. Community package, not affiliated with Laravel."
homepage = "https://oss.bowerbird.si/oxblade/"
documentation = "https://docs.rs/oxblade"
readme = "README.md"
keywords = [
"blade",
"laravel",
"templates",
"template-engine",
"html",
]
categories = ["template-engine"]
license = "MIT"
repository = "https://github.com/bowerbird-si/oxblade"
[features]
carbon-locale-all = ["laravel-rust-format-core/carbon-locale-all"]
default = []
jiff = ["jiff/serde"]
rust_decimal = ["dep:rust_decimal"]
ulid = ["dep:ulid"]
uuid = ["dep:uuid"]
[lib]
name = "oxblade"
path = "src/lib.rs"
[[example]]
name = "quickstart"
path = "examples/quickstart.rs"
[[test]]
name = "wp01_examples"
path = "tests/wp01_examples.rs"
[[test]]
name = "wp01_foundation"
path = "tests/wp01_foundation.rs"
[[test]]
name = "wp03_encoders"
path = "tests/wp03_encoders.rs"
[[test]]
name = "wp04_attributes"
path = "tests/wp04_attributes.rs"
[[test]]
name = "wp05_shape"
path = "tests/wp05_shape.rs"
[[test]]
name = "wp07_evaluator"
path = "tests/wp07_evaluator.rs"
[[test]]
name = "wp08_collections"
path = "tests/wp08_collections.rs"
[[test]]
name = "wp09_renderer"
path = "tests/wp09_renderer.rs"
[[test]]
name = "wp09b_blade_parity"
path = "tests/wp09b_blade_parity.rs"
[[test]]
name = "wp10_components"
path = "tests/wp10_components.rs"
[[test]]
name = "wp10_receiver_bench"
path = "tests/wp10_receiver_bench.rs"
[[test]]
name = "wp12_checker"
path = "tests/wp12_checker.rs"
[[test]]
name = "wp12_examples"
path = "tests/wp12_examples.rs"
[[test]]
name = "wp13_translate"
path = "tests/wp13_translate.rs"
[[test]]
name = "wp14_extensions"
path = "tests/wp14_extensions.rs"
[[test]]
name = "wp17_limits"
path = "tests/wp17_limits.rs"
[[test]]
name = "wp17_output_safety"
path = "tests/wp17_output_safety.rs"
[[test]]
name = "wp20_performance"
path = "tests/wp20_performance.rs"
[[test]]
name = "wp21_lexer"
path = "tests/wp21_lexer.rs"
[[test]]
name = "wp21_limits"
path = "tests/wp21_limits.rs"
[[test]]
name = "wp22_translation_runtime"
path = "tests/wp22_translation_runtime.rs"
[[test]]
name = "wp23_parity"
path = "tests/wp23_parity.rs"
[[test]]
name = "wp26_checker"
path = "tests/wp26_checker.rs"
[[test]]
name = "wp27_checker"
path = "tests/wp27_checker.rs"
[[test]]
name = "wp27_core"
path = "tests/wp27_core.rs"
[[test]]
name = "wp30_depth"
path = "tests/wp30_depth.rs"
[[test]]
name = "wp31_depth"
path = "tests/wp31_depth.rs"
[[test]]
name = "wp35_prefix"
path = "tests/wp35_prefix.rs"
[[test]]
name = "wp36_migration_limits"
path = "tests/wp36_migration_limits.rs"
[[test]]
name = "wp39_stacks"
path = "tests/wp39_stacks.rs"
[[test]]
name = "wp40_namespaces"
path = "tests/wp40_namespaces.rs"
[[test]]
name = "wp41_blocks"
path = "tests/wp41_blocks.rs"
[[test]]
name = "wp41_lazy_value"
path = "tests/wp41_lazy_value.rs"
[[test]]
name = "wp43_labels"
path = "tests/wp43_labels.rs"
[[test]]
name = "wp43_lazy_blocks"
path = "tests/wp43_lazy_blocks.rs"
[[test]]
name = "wp43_regions"
path = "tests/wp43_regions.rs"
[[test]]
name = "wp43_sites"
path = "tests/wp43_sites.rs"
[[test]]
name = "wp44_checker"
path = "tests/wp44_checker.rs"
[[test]]
name = "wp44_css"
path = "tests/wp44_css.rs"
[[test]]
name = "wp44_stacks"
path = "tests/wp44_stacks.rs"
[[test]]
name = "wp46_collections"
path = "tests/wp46_collections.rs"
[[test]]
name = "wp46_css"
path = "tests/wp46_css.rs"
[[test]]
name = "wp51_checker"
path = "tests/wp51_checker.rs"
[[test]]
name = "wp54_sources"
path = "tests/wp54_sources.rs"
[[test]]
name = "wp55_bounds"
path = "tests/wp55_bounds.rs"
[[test]]
name = "wp57_render_state"
path = "tests/wp57_render_state.rs"
[[test]]
name = "wp58_release"
path = "tests/wp58_release.rs"
[[test]]
name = "wp61_cache_budget"
path = "tests/wp61_cache_budget.rs"
[[test]]
name = "wpfmt_bridge"
path = "tests/wpfmt_bridge.rs"
[dependencies.blake3]
version = "1"
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.inventory]
version = "0.3"
[dependencies.jiff]
version = "1"
[dependencies.laravel-rust-format-core]
version = "0.1.1"
[dependencies.oxblade-macros]
version = "0.3.2"
[dependencies.rust_decimal]
version = "1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.ulid]
version = "1"
features = ["serde"]
optional = true
[dependencies.uuid]
version = "1"
features = ["serde"]
optional = true
[dev-dependencies.insta]
version = "1"
[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"