Registry / web-framework / askama-actix

askama-actix

JSON →
library0.15.0+deprecatedrscratesunverified

Integration crate for Askama with Actix-web, now deprecated.

# Cargo.toml [dependencies] askama_actix = "0.15.0+deprecated"
INSTALL
IMPORT
SIG · ASKAMA-ACTIX
A
askama-actix
web-frameworkrustv0.15.0+deprecated
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Template
use askama_actix::Template;

Define a template using Askama with Actix integration.

use askama_actix::Template; #[derive(Template)] #[template(path = "hello.html")] struct HelloTemplate { name: String } fn main() { let t = HelloTemplate { name: "world".into() }; println!("{}", t.render().unwrap()); }
Debug
Known issues
breakingThis crate is deprecated; use askama directly with actix-web features.
fix
Replace with askama crate and enable actix feature.
affects: >=0.15.0
Upgrade
Version history
0.15.0+deprecatedlatest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
askama-actix — cargo add askama-actix · libregistry