diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-04-03 15:48:20 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-04-03 15:48:20 +0200 |
| commit | 893a6a381e5e65c712fba24ab23a9b6e3365bc26 (patch) | |
| tree | 84f83562af43c8242259a92cef686720de12cee0 | |
| parent | 193e9f2c69df0ee8eb6ece420bed841521b4a226 (diff) | |
| download | rust-893a6a381e5e65c712fba24ab23a9b6e3365bc26.tar.gz rust-893a6a381e5e65c712fba24ab23a9b6e3365bc26.zip | |
Update to new rinja version (askama)
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | askama.toml (renamed from rinja.toml) | 0 | ||||
| -rw-r--r-- | tests/compile-test.rs | 4 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml index 1a46bcf7502..1ae5b7d6af0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ walkdir = "2.3" filetime = "0.2.9" itertools = "0.12" pulldown-cmark = { version = "0.11", default-features = false, features = ["html"] } -rinja = { version = "0.3", default-features = false, features = ["config"] } +askama = { version = "0.13", default-features = false, features = ["alloc", "config", "derive"] } # UI test dependencies clippy_utils = { path = "clippy_utils" } diff --git a/rinja.toml b/askama.toml index a10da6e1f28..a10da6e1f28 100644 --- a/rinja.toml +++ b/askama.toml diff --git a/tests/compile-test.rs b/tests/compile-test.rs index ea93ced8a86..0f75914335b 100644 --- a/tests/compile-test.rs +++ b/tests/compile-test.rs @@ -2,6 +2,8 @@ #![warn(rust_2018_idioms, unused_lifetimes)] #![allow(unused_extern_crates)] +use askama::Template; +use askama::filters::Safe; use cargo_metadata::Message; use cargo_metadata::diagnostic::{Applicability, Diagnostic}; use clippy_config::ClippyConfiguration; @@ -9,8 +11,6 @@ use clippy_lints::LintInfo; use clippy_lints::declared_lints::LINTS; use clippy_lints::deprecated_lints::{DEPRECATED, DEPRECATED_VERSION, RENAMED}; use pulldown_cmark::{Options, Parser, html}; -use rinja::Template; -use rinja::filters::Safe; use serde::Deserialize; use test_utils::IS_RUSTC_TEST_SUITE; use ui_test::custom_flags::Flag; |
