diff options
author | Michael Alyn Miller <malyn@strangeGizmo.com> | 2021-11-27 20:59:51 -0800 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2021-11-27 22:03:18 -0800 |
commit | 4940b5dd5e792811491f1c3c3b1c70c8177c7e02 (patch) | |
tree | 4d28ad21a66ecf9496c265c0844b4c4d036763bc /askama_derive | |
parent | 3ef2869f48556a0aae4ca861889f9fd8bea02d66 (diff) | |
download | askama-4940b5dd5e792811491f1c3c3b1c70c8177c7e02.tar.gz askama-4940b5dd5e792811491f1c3c3b1c70c8177c7e02.tar.bz2 askama-4940b5dd5e792811491f1c3c3b1c70c8177c7e02.zip |
Add Axum integration
Diffstat (limited to 'askama_derive')
-rw-r--r-- | askama_derive/Cargo.toml | 1 | ||||
-rw-r--r-- | askama_derive/src/lib.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/askama_derive/Cargo.toml b/askama_derive/Cargo.toml index 92c05f3..19e327b 100644 --- a/askama_derive/Cargo.toml +++ b/askama_derive/Cargo.toml @@ -17,6 +17,7 @@ proc-macro = true config = ["askama_shared/config"] actix-web = [] +axum = [] gotham = [] iron = [] mendes = [] diff --git a/askama_derive/src/lib.rs b/askama_derive/src/lib.rs index f2bee66..35070fe 100644 --- a/askama_derive/src/lib.rs +++ b/askama_derive/src/lib.rs @@ -111,6 +111,7 @@ fn find_used_templates( const INTEGRATIONS: Integrations = Integrations { actix: cfg!(feature = "actix-web"), + axum: cfg!(feature = "axum"), gotham: cfg!(feature = "gotham"), iron: cfg!(feature = "iron"), mendes: cfg!(feature = "mendes"), |