How to use Tera templates with Axum(Rust)
Initialize the project
Create a new Rust project and initialize it.
mkdir axum-tera
cd axum-tera
cargo init
Edit your Cargo.toml file:
[package]
name = "axum-tera"
version = "0.1.0"
edition = "2024"
[dependencies]
axum = "0.8.4"
tokio = { version =...
nishujangra27.hashnode.dev2 min read