snapfire 0.4.1

High-productivity web templating library designed to accelerate development with an integrated, zero-configuration live-reload server. Provides first class integration with Tera and Actix Web.
Documentation
# 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 = "2024"
name = "snapfire"
version = "0.4.1"
authors = ["Norm O <normo.pub@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-productivity web templating library designed to accelerate development with an integrated, zero-configuration live-reload server. Provides first class integration with Tera and Actix Web."
homepage = "https://github.com/excsn/snapfire"
readme = "README.md"
keywords = [
    "actix",
    "tera",
    "template",
    "reload",
    "web",
]
categories = [
    "web-programming::http-server",
    "template-engine",
]
license = "MPL-2.0"
repository = "https://github.com/excsn/snapfire"
resolver = "2"

[features]
default = []
devel = [
    "dep:notify",
    "dep:actix-ws",
    "dep:async-stream",
    "dep:bytes",
]

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

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

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

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

[dependencies.actix]
version = "^0.13"

[dependencies.actix-web]
version = "^4"
default-features = false

[dependencies.actix-ws]
version = "^0.3"
optional = true

[dependencies.anyhow]
version = "^1"

[dependencies.async-stream]
version = "0.3"
optional = true

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

[dependencies.bytes]
version = "1"
optional = true

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

[dependencies.log]
version = "^0.4"

[dependencies.notify]
version = "^6.0"
optional = true

[dependencies.parking_lot]
version = "^0.12"

[dependencies.serde]
version = "^1"
features = ["derive"]

[dependencies.tera]
version = "^1"

[dependencies.thiserror]
version = "^2.0"

[dependencies.tokio]
version = "^1"
features = [
    "macros",
    "sync",
    "rt",
    "rt-multi-thread",
]

[dev-dependencies.actix-http]
version = "^3.1"

[dev-dependencies.actix-rt]
version = "^2"

[dev-dependencies.tempfile]
version = "^3.21"

[dev-dependencies.tokio]
version = "^1"
features = ["rt"]

[dev-dependencies.tokio-tungstenite]
version = "^0.27"

[dev-dependencies.url]
version = "^2.5"