diff --git a/Cargo.lock b/Cargo.lock index 6b3982a2e..a60530166 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -126,7 +126,7 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb98f10f371286b177db5eeb9a6e5396609555686a35e1d4f7b9a9c6d8af0139" dependencies = [ - "askama_derive", + "askama_derive 0.11.2", "askama_escape", "askama_shared", ] @@ -142,12 +142,41 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "askama_derive" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "129397200fe83088e8a68407a8e2b1f826cf0086b21ccdb866a722c8bcd3a94f" +dependencies = [ + "askama_parser", + "basic-toml", + "memchr", + "proc-macro2", + "quote", + "rustc-hash", + "serde", + "serde_derive", + "syn 2.0.87", +] + [[package]] name = "askama_escape" version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "619743e34b5ba4e9703bba34deac3427c72507c7159f5fd030aea8cac0cfe341" +[[package]] +name = "askama_parser" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6ab5630b3d5eaf232620167977f95eb51f3432fc76852328774afbd242d4358" +dependencies = [ + "memchr", + "serde", + "serde_derive", + "winnow", +] + [[package]] name = "askama_shared" version = "0.12.2" @@ -207,6 +236,15 @@ version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" +[[package]] +name = "basic-toml" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba62675e8242a4c4e806d12f11d136e626e6c8361d6b829310732241652a178a" +dependencies = [ + "serde", +] + [[package]] name = "better-panic" version = "0.3.0" @@ -2748,6 +2786,12 @@ version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +[[package]] +name = "rustc-hash" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" + [[package]] name = "rustix" version = "0.38.39" @@ -3396,7 +3440,7 @@ dependencies = [ "anyhow", "approx", "askama", - "askama_derive", + "askama_derive 0.14.0", "blake3", "derivative", "fastrand", diff --git a/Cargo.toml b/Cargo.toml index df8a997f9..29d81101b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,7 +43,7 @@ github = { repository = "olimpiadi-informatica/task-maker-rust", workflow = "Rus anyhow = "1.0" approx = "0.5" askama = "0.11" -askama_derive = "0.11" +askama_derive = "0.14" better-panic = "0.3" bincode = "1.2" blake3 = "1.8"