[dependencies.actix]
version = "^0.13"
[dependencies.actix-web]
version = "^4"
[dependencies.actix-ws]
optional = true
version = "^0.3"
[dependencies.anyhow]
version = "^1"
[dependencies.async-stream]
optional = true
version = "0.3"
[dependencies.async-trait]
version = "^0.1"
[dependencies.bytes]
optional = true
version = "1"
[dependencies.futures-util]
version = "^0.3"
[dependencies.log]
version = "^0.4"
[dependencies.notify]
optional = true
version = "^6.0"
[dependencies.parking_lot]
version = "^0.12"
[dependencies.serde]
features = ["derive"]
version = "^1"
[dependencies.tera]
version = "^1"
[dependencies.thiserror]
version = "^2.0"
[dependencies.tokio]
features = ["macros", "sync", "rt", "rt-multi-thread"]
version = "^1"
[dev-dependencies.actix-http]
version = "^3.1"
[dev-dependencies.actix-rt]
version = "^2"
[dev-dependencies.tempfile]
version = "^3.21"
[dev-dependencies.tokio]
features = ["rt"]
version = "^1"
[dev-dependencies.tokio-tungstenite]
version = "^0.27"
[dev-dependencies.url]
version = "^2.5"
[features]
default = []
devel = ["dep:notify", "dep:actix-ws", "dep:async-stream", "dep:bytes"]
[lib]
name = "snapfire"
path = "src/lib.rs"
[package]
authors = ["Norm O <normo.pub@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming::http-server", "template-engine"]
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."
edition = "2024"
homepage = "https://github.com/excsn/snapfire"
keywords = ["actix", "tera", "template", "reload", "web"]
license = "MPL-2.0"
name = "snapfire"
readme = "README.md"
repository = "https://github.com/excsn/snapfire"
resolver = "2"
version = "0.4.0"
[[test]]
name = "actix"
path = "tests/actix.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "tera"
path = "tests/tera.rs"