diff options
author | René Kijewski <kijewski@library.vetmed.fu-berlin.de> | 2022-06-16 07:44:06 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-06-16 08:44:28 +0200 |
commit | 5cdffd6e0e9eb0a408cec6e5a143231e139970fe (patch) | |
tree | a2c803de0fac66fa07f217878479fdb87143cb93 /askama_derive/src/generator.rs | |
parent | d4c13f5b4367fd3ca57fc14fdcf1d01694060c7a (diff) | |
download | askama-5cdffd6e0e9eb0a408cec6e5a143231e139970fe.tar.gz askama-5cdffd6e0e9eb0a408cec6e5a143231e139970fe.tar.bz2 askama-5cdffd6e0e9eb0a408cec6e5a143231e139970fe.zip |
Update to Rocket 0.5
Though Rocket 0.5 still only a release candidate, Rocket 0.4 severely
outdated, and depends on a bunch of crates with active security
advisories. Rocket 0.5 updates its dependencies to fixes versions.
Also Rocket 0.4 needs a nightly Rust, which caused multiple problems.
Diffstat (limited to '')
-rw-r--r-- | askama_derive/src/generator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs index fdc9cae..142ff7f 100644 --- a/askama_derive/src/generator.rs +++ b/askama_derive/src/generator.rs @@ -506,7 +506,7 @@ impl<'a> Generator<'a> { let param = syn::GenericParam::Lifetime(syn::LifetimeDef::new(lifetime)); self.write_header( buf, - "::askama_rocket::Responder<'askama>", + "::askama_rocket::Responder<'askama, 'askama>", Some(vec![param]), )?; |