Skip to content

Commit c4ee8cd

Browse files
convex-renovate-runner[bot]Convex, Inc.
authored andcommitted
Update Rust crate askama to 0.14 (#36882)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [askama](https://askama.readthedocs.io/) ([source](https://redirect.github.com/askama-rs/askama)) | workspace.dependencies | minor | `0.12` -> `0.14` | --- ### Release Notes <details> <summary>askama-rs/askama (askama)</summary> ### [`v0.14.0`](https://redirect.github.com/askama-rs/askama/releases/tag/v0.14.0) [Compare Source](https://redirect.github.com/askama-rs/askama/compare/v0.13.1...v0.14.0) #### Added Features - Implement `Values` on tuple by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/391](https://redirect.github.com/askama-rs/askama/pull/391) - Pass variables to sub-templates more reliably even if indirectly by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/397](https://redirect.github.com/askama-rs/askama/pull/397) - Implement `first` and `blank` arguments for `|indent` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/401](https://redirect.github.com/askama-rs/askama/pull/401) - Add named arguments for builtin filters by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/403](https://redirect.github.com/askama-rs/askama/pull/403) - Add `unique` filter by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/405](https://redirect.github.com/askama-rs/askama/pull/405) #### Bug Fixes And Consistency - `askama_derive` accidentally exposed as a feature by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/384](https://redirect.github.com/askama-rs/askama/pull/384) - Track config files by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/385](https://redirect.github.com/askama-rs/askama/pull/385) - If using local variable as value when creating a new variable, do not put it behind a reference by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/392](https://redirect.github.com/askama-rs/askama/pull/392) - generator: make `CARGO_MANIFEST_DIR` part of `ConfigKey` by [@&#8203;strickczq](https://redirect.github.com/strickczq) in [https://github.com/askama-rs/askama/pull/395](https://redirect.github.com/askama-rs/askama/pull/395) - Do not put question mark initialization expressions behind a reference by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/400](https://redirect.github.com/askama-rs/askama/pull/400) - Update to more current rust version on readthedocs by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/410](https://redirect.github.com/askama-rs/askama/pull/410) - Fix `unique` filter implementation by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/417](https://redirect.github.com/askama-rs/askama/pull/417) - Add `|titlecase` as alias for `|title` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/416](https://redirect.github.com/askama-rs/askama/pull/416) #### Further Changes - book: add page about `FastWritable` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/407](https://redirect.github.com/askama-rs/askama/pull/407) - Add throughput to derive benchmark by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/413](https://redirect.github.com/askama-rs/askama/pull/413) - Move `FastWritable` into `askama` root by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/411](https://redirect.github.com/askama-rs/askama/pull/411) #### New Contributors - [@&#8203;strickczq](https://redirect.github.com/strickczq) made their first contribution in [https://github.com/askama-rs/askama/pull/395](https://redirect.github.com/askama-rs/askama/pull/395) **Full Changelog**: askama-rs/askama@v0.13.0...v0.14.0 ### [`v0.13.1`](https://redirect.github.com/askama-rs/askama/releases/tag/v0.13.1) [Compare Source](https://redirect.github.com/askama-rs/askama/compare/v0.13.0...v0.13.1) #### What's Changed - `askama_derive` accidentally exposed as a feature by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/384](https://redirect.github.com/askama-rs/askama/pull/384) - Track config files by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/385](https://redirect.github.com/askama-rs/askama/pull/385) - Implement `Values` on tuple by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/391](https://redirect.github.com/askama-rs/askama/pull/391) - generator: make `CARGO_MANIFEST_DIR` part of `ConfigKey` by [@&#8203;strickczq](https://redirect.github.com/strickczq) in [https://github.com/askama-rs/askama/pull/395](https://redirect.github.com/askama-rs/askama/pull/395) #### New Contributors - [@&#8203;strickczq](https://redirect.github.com/strickczq) made their first contribution in [https://github.com/askama-rs/askama/pull/395](https://redirect.github.com/askama-rs/askama/pull/395) **Full Changelog**: askama-rs/askama@v0.13.0...v0.13.1 ### [`v0.13.0`](https://redirect.github.com/askama-rs/askama/releases/tag/v0.13.0): – Rinja is Askama, again! [Compare Source](https://redirect.github.com/askama-rs/askama/compare/0.12.1...v0.13.0) With this release, the [fork](https://blog.guillaume-gomez.fr/articles/2024-07-31+docs.rs+switching+jinja+template+framework+from+tera+to+rinja) rinja got merged back into the main project. Please have a look at our [blog post](https://blog.guillaume-gomez.fr/articles/2025-03-19+Askama+and+Rinja+merge) for more information about the split and the merge. #### What's Changed This release (v0.13.0), when [compared to](https://redirect.github.com/askama-rs/askama/compare/0.12.1...v0.13.0) the last stable askama release (v0.12.1), consists of: - over 1000 commits - with changes in over 500 files - with over 40k additions and 8000 deletions #### Compared to rinja v0.3.5 - Rename `rinja` into `askama` by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/353](https://redirect.github.com/askama-rs/askama/pull/353) - Bump version number to 0.13.0 by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/382](https://redirect.github.com/askama-rs/askama/pull/382) Major added and improved features: - Add support for "runtime" values by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/311](https://redirect.github.com/askama-rs/askama/pull/311) - Implement `enum` variants by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/255](https://redirect.github.com/askama-rs/askama/pull/255) - Relax `filesizeformat` filter requirements by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/216](https://redirect.github.com/askama-rs/askama/pull/216) - derive: implement template attribute `blocks` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/337](https://redirect.github.com/askama-rs/askama/pull/337) - Add concat operator `~` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/236](https://redirect.github.com/askama-rs/askama/pull/236) - Remove restriction preventing to have | surrounded by whistespace characters by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/250](https://redirect.github.com/askama-rs/askama/pull/250) - Make rinja `#![no_std]` compatible by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/286](https://redirect.github.com/askama-rs/askama/pull/286) - Make `derive` optional by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/342](https://redirect.github.com/askama-rs/askama/pull/342) More added and improved features: - Let `FastWritable` propagate custom errors by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/217](https://redirect.github.com/askama-rs/askama/pull/217) - Implement `PrimitiveType` for non-zero integers by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/220](https://redirect.github.com/askama-rs/askama/pull/220) - Implement `AsIndent` for `NonZeroUsize` and `Wrapping<usize>` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/221](https://redirect.github.com/askama-rs/askama/pull/221) - Implement `HtmlSafe` for all reference wrappers by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/219](https://redirect.github.com/askama-rs/askama/pull/219) - Add support for default value in macros by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/207](https://redirect.github.com/askama-rs/askama/pull/207) - parser: allow whitespace control on `extends` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/241](https://redirect.github.com/askama-rs/askama/pull/241) - Allow idents to start with `_` by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/244](https://redirect.github.com/askama-rs/askama/pull/244) - `std::num::Saturating` is stable since rust 1.74 by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/270](https://redirect.github.com/askama-rs/askama/pull/270) - Make working with `Error`s a bit easier by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/277](https://redirect.github.com/askama-rs/askama/pull/277) - Add full support for if let chain feature by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/296](https://redirect.github.com/askama-rs/askama/pull/296) - Make filters `|fmt` and `|format` available with feature `"alloc"`, but without `"std"` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/319](https://redirect.github.com/askama-rs/askama/pull/319) - Add support for generics syntax in parser by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/317](https://redirect.github.com/askama-rs/askama/pull/317) - derive: add ".askama" to list of HTML extensions by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/321](https://redirect.github.com/askama-rs/askama/pull/321) - derive: for `enum`s, let `Self` refer to the original type by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/333](https://redirect.github.com/askama-rs/askama/pull/333) - derive: add option to specify `rinja` path by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/334](https://redirect.github.com/askama-rs/askama/pull/334) - Implement `Values` for all collection types by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/346](https://redirect.github.com/askama-rs/askama/pull/346) - Revive `askama_escaped` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/378](https://redirect.github.com/askama-rs/askama/pull/378) Removed features: - Remove `EXTENSION` constant from `Template` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/252](https://redirect.github.com/askama-rs/askama/pull/252) - parser: remove obsolete parser fuzzing by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/261](https://redirect.github.com/askama-rs/askama/pull/261) - Remove integrations and `MIME_TYPE` guessing by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/271](https://redirect.github.com/askama-rs/askama/pull/271) - parser: deny all rust keywords as target names and add `gen` to keywords by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/294](https://redirect.github.com/askama-rs/askama/pull/294) Performance: - Omit `fmt::Formatter` machinery in URL encoding by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/218](https://redirect.github.com/askama-rs/askama/pull/218) - filters: don't collect into intermediate `String` if we can help it by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/235](https://redirect.github.com/askama-rs/askama/pull/235) - parser: use built-in whitespace trimming by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/238](https://redirect.github.com/askama-rs/askama/pull/238) - derive: some clean-ups and optimizations by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/260](https://redirect.github.com/askama-rs/askama/pull/260) - parser: shrink the size of `WithSpan` to one register by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/257](https://redirect.github.com/askama-rs/askama/pull/257) - derive: less `format!()`, shorter context on error by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/276](https://redirect.github.com/askama-rs/askama/pull/276) - Speed-up HTML escaping a bit by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/301](https://redirect.github.com/askama-rs/askama/pull/301) - Remove intermediate allocations for error messages by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/322](https://redirect.github.com/askama-rs/askama/pull/322) - derive: some optimizations by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/338](https://redirect.github.com/askama-rs/askama/pull/338) - Allow parallel compilation of `serde` and `serde_derive` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/343](https://redirect.github.com/askama-rs/askama/pull/343) Safety and correctness: - parser: reject excessively long syntax delimiters by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/230](https://redirect.github.com/askama-rs/askama/pull/230) - derive: reject `union`s as they require `unsafe` code by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/231](https://redirect.github.com/askama-rs/askama/pull/231) - Canonicalize include paths before emitting by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/258](https://redirect.github.com/askama-rs/askama/pull/258) - fix: normalize macro args on call (fixes [#&#8203;259](https://redirect.github.com/askama-rs/askama/issues/259)) by [@&#8203;chrisp60](https://redirect.github.com/chrisp60) in [https://github.com/askama-rs/askama/pull/262](https://redirect.github.com/askama-rs/askama/pull/262) - derive: a safe-guard to disable bindings a unit struct was expected by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/269](https://redirect.github.com/askama-rs/askama/pull/269) - Canonicalize paths to ensure includes behave as expected when folders are involved by [@&#8203;LukeMathWalker](https://redirect.github.com/LukeMathWalker) in [https://github.com/askama-rs/askama/pull/289](https://redirect.github.com/askama-rs/askama/pull/289) - derive: reserve variable prefix `__rinja` and free name `writer` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/292](https://redirect.github.com/askama-rs/askama/pull/292) - parser: use drop guards to track nesting level by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/297](https://redirect.github.com/askama-rs/askama/pull/297) - parser: fix excessive filter blocks by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/304](https://redirect.github.com/askama-rs/askama/pull/304) - parser: add missing level guard in `if let` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/332](https://redirect.github.com/askama-rs/askama/pull/332) - Replace `from_utf8_unsafe()` with `AsciiStr` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/351](https://redirect.github.com/askama-rs/askama/pull/351) - Allow variables inheritance in block by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/264](https://redirect.github.com/askama-rs/askama/pull/264) - Fix minimum supported `syn` version by [@&#8203;paolobarbolini](https://redirect.github.com/paolobarbolini) in [https://github.com/askama-rs/askama/pull/379](https://redirect.github.com/askama-rs/askama/pull/379) Documentation, our book, and examples: - Fix crate version numbers in book by [@&#8203;BD103](https://redirect.github.com/BD103) in [https://github.com/askama-rs/askama/pull/212](https://redirect.github.com/askama-rs/askama/pull/212) - Add link to blog post for differences between rinja and askama by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/233](https://redirect.github.com/askama-rs/askama/pull/233) - book: pin to mdbook v0.4.40 for now and add table of contents to pages by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/240](https://redirect.github.com/askama-rs/askama/pull/240) - Fix integrations book chapter by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/249](https://redirect.github.com/askama-rs/askama/pull/249) - Add missing "Escapers" title in the book by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/248](https://redirect.github.com/askama-rs/askama/pull/248) - book: add `upgrading.md` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/303](https://redirect.github.com/askama-rs/askama/pull/303) - book: document `blocks` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/340](https://redirect.github.com/askama-rs/askama/pull/340) - Add bleeding edge API documentation to rtd by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/363](https://redirect.github.com/askama-rs/askama/pull/363) - docs: update twig's URL by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/364](https://redirect.github.com/askama-rs/askama/pull/364) - Update askama_playground URL by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/368](https://redirect.github.com/askama-rs/askama/pull/368) - book: mention `askama_web` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/369](https://redirect.github.com/askama-rs/askama/pull/369) - book: fix article link by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/372](https://redirect.github.com/askama-rs/askama/pull/372) - fix toml features field in the filters chapter of the book by [@&#8203;bionicles](https://redirect.github.com/bionicles) in [https://github.com/askama-rs/askama/pull/373](https://redirect.github.com/askama-rs/askama/pull/373) - Add link to blog post explaining merge of rinja and askama by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/374](https://redirect.github.com/askama-rs/askama/pull/374) - Remove "Using integrations" part in book by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/310](https://redirect.github.com/askama-rs/askama/pull/310) - examples: add {axum,poem,rocket,warp} by translating the actix-web example; book: add frameworks section by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/308](https://redirect.github.com/askama-rs/askama/pull/308) - Add salvo example by translating the axum example by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/313](https://redirect.github.com/askama-rs/askama/pull/313) - docs: fix recursive example in template_syntax.md by [@&#8203;m4tx](https://redirect.github.com/m4tx) in [https://github.com/askama-rs/askama/pull/315](https://redirect.github.com/askama-rs/askama/pull/315) - book: a features section by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/316](https://redirect.github.com/askama-rs/askama/pull/316) - "object safe" is now "dyn-compatible" by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/199](https://redirect.github.com/askama-rs/askama/pull/199) - Rename `Escaper` argument `fmt` into `dest` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/349](https://redirect.github.com/askama-rs/askama/pull/349) Testing: - Move types into their tests by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/228](https://redirect.github.com/askama-rs/askama/pull/228) - ci: add cluster-fuzz integration by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/229](https://redirect.github.com/askama-rs/askama/pull/229) - ci: group checks in fast, average and slow by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/305](https://redirect.github.com/askama-rs/askama/pull/305) - Update ui tests for rust 1.84, and deprecations in winnow 0.6.24 by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/312](https://redirect.github.com/askama-rs/askama/pull/312) - ci: ignore typos in librustdoc sources by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/360](https://redirect.github.com/askama-rs/askama/pull/360) - Add failing test from issue 272 by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/278](https://redirect.github.com/askama-rs/askama/pull/278) - Update fuzzing corpus URL by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/361](https://redirect.github.com/askama-rs/askama/pull/361) - ci: re-enable `Cluster-Fuzz` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/376](https://redirect.github.com/askama-rs/askama/pull/376) - ci: ensure that github CI config is safe using zizmor by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/380](https://redirect.github.com/askama-rs/askama/pull/380) - ci: fix up to [#&#8203;380](https://redirect.github.com/askama-rs/askama/issues/380) by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/381](https://redirect.github.com/askama-rs/askama/pull/381) Migrate to from nom to winnow - Migrate to from Nom 7 to Winnow 0.3 by [@&#8203;epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/209](https://redirect.github.com/askama-rs/askama/pull/209) - Upgrade from Winnow 0.3 to 0.4 by [@&#8203;epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/210](https://redirect.github.com/askama-rs/askama/pull/210) - refactor(parser): Clean up prep for 0.5 by [@&#8203;epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/213](https://redirect.github.com/askama-rs/askama/pull/213) - refactor(parser): Clean up prep for 0.5 by [@&#8203;epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/226](https://redirect.github.com/askama-rs/askama/pull/226) - refactor(parser): Move off of deprecated re-export by [@&#8203;epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/234](https://redirect.github.com/askama-rs/askama/pull/234) - refactor(parser): Remove redundant closure by [@&#8203;epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/242](https://redirect.github.com/askama-rs/askama/pull/242) - refactor(parser): Be explicit about `i`nput state by [@&#8203;epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/275](https://redirect.github.com/askama-rs/askama/pull/275) - Upgrade from Winnow 0.4 to 0.5 by [@&#8203;epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/214](https://redirect.github.com/askama-rs/askama/pull/214) - refactor(parser): Upgrade to Winnow 0.6 by [@&#8203;epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/291](https://redirect.github.com/askama-rs/askama/pull/291) - chore: Upgrade to Winnow 0.7 by [@&#8203;epage](https://redirect.github.com/epage) in [https://github.com/askama-rs/askama/pull/330](https://redirect.github.com/askama-rs/askama/pull/330) Refactoring, error messages, and changes invisible to the user: - derive: refactor `#[template]` parsing by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/243](https://redirect.github.com/askama-rs/askama/pull/243) - derive: refactor generator for greater re-usability by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/253](https://redirect.github.com/askama-rs/askama/pull/253) - derive standalone: opt out of native `proc-macro` support by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/268](https://redirect.github.com/askama-rs/askama/pull/268) - Second round of optimizations extracted from PR to implement `enum` variants by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/266](https://redirect.github.com/askama-rs/askama/pull/266) - derive: remove generics injection for `write_header()` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/274](https://redirect.github.com/askama-rs/askama/pull/274) - Fix clippy warnings in rust nightly 1.85 by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/284](https://redirect.github.com/askama-rs/askama/pull/284) - Use cargo reference manifest section order by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/285](https://redirect.github.com/askama-rs/askama/pull/285) - derive: fix typo that mixes up `uppercase` and `urlencode` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/287](https://redirect.github.com/askama-rs/askama/pull/287) - derive: use `file_info` in `find_template` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/290](https://redirect.github.com/askama-rs/askama/pull/290) - Improve reserved variable name error message by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/293](https://redirect.github.com/askama-rs/askama/pull/293) - parser: add better error messages for broken closing block tags by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/239](https://redirect.github.com/askama-rs/askama/pull/239) - Improve error message when an extension escaper is missing by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/247](https://redirect.github.com/askama-rs/askama/pull/247) - derive: fix typos and unify error messages by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/251](https://redirect.github.com/askama-rs/askama/pull/251) - derive: split generator implementation into 3 files by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/295](https://redirect.github.com/askama-rs/askama/pull/295) - derive: keep track of called macros by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/299](https://redirect.github.com/askama-rs/askama/pull/299) - Fix `block_in_include` and add explanations on what is going on by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/279](https://redirect.github.com/askama-rs/askama/pull/279) - Minor clean-ups by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/327](https://redirect.github.com/askama-rs/askama/pull/327) - Fix rust 1.86 clippy warnings by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/331](https://redirect.github.com/askama-rs/askama/pull/331) - Improve macro call arguments mismatch errors by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/325](https://redirect.github.com/askama-rs/askama/pull/325) - Improve code readability by [@&#8203;GuillaumeGomez](https://redirect.github.com/GuillaumeGomez) in [https://github.com/askama-rs/askama/pull/339](https://redirect.github.com/askama-rs/askama/pull/339) - derive: fail if requested template block is missing by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/341](https://redirect.github.com/askama-rs/askama/pull/341) - Don't format with `overflow_delimited_expr` by [@&#8203;Kijewski](https://redirect.github.com/Kijewski) in [https://github.com/askama-rs/askama/pull/350](https://redirect.github.com/askama-rs/askama/pull/350) - build(deps): update pulldown-cmark requirement from 0.12.0 to 0.13.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/askama-rs/askama/pull/352](https://redirect.github.com/askama-rs/askama/pull/352) #### New Contributors - [@&#8203;epage](https://redirect.github.com/epage) made their first contribution in [https://github.com/askama-rs/askama/pull/209](https://redirect.github.com/askama-rs/askama/pull/209) - [@&#8203;BD103](https://redirect.github.com/BD103) made their first contribution in [https://github.com/askama-rs/askama/pull/212](https://redirect.github.com/askama-rs/askama/pull/212) - [@&#8203;chrisp60](https://redirect.github.com/chrisp60) made their first contribution in [https://github.com/askama-rs/askama/pull/262](https://redirect.github.com/askama-rs/askama/pull/262) - [@&#8203;LukeMathWalker](https://redirect.github.com/LukeMathWalker) made their first contribution in [https://github.com/askama-rs/askama/pull/289](https://redirect.github.com/askama-rs/askama/pull/289) - [@&#8203;m4tx](https://redirect.github.com/m4tx) made their first contribution in [https://github.com/askama-rs/askama/pull/315](https://redirect.github.com/askama-rs/askama/pull/315) - [@&#8203;bionicles](https://redirect.github.com/bionicles) made their first contribution in [https://github.com/askama-rs/askama/pull/373](https://redirect.github.com/askama-rs/askama/pull/373) - [@&#8203;paolobarbolini](https://redirect.github.com/paolobarbolini) made their first contribution in [https://github.com/askama-rs/askama/pull/379](https://redirect.github.com/askama-rs/askama/pull/379) **Full Changelog**: askama-rs/askama@v0.3.5...v0.13.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on the first day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). GitOrigin-RevId: 9adc910b42ba0b1a2f80aa38351262d474b31113
1 parent 7d3fec3 commit c4ee8cd

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ license = "Apache-2.0"
88
name = "_convex"
99
crate-type = [ "cdylib" ]
1010

11+
[features]
12+
default = [ "native-tls-vendored" ]
13+
native-tls = [ "convex/native-tls" ]
14+
native-tls-vendored = [ "convex/native-tls-vendored" ]
15+
rustls-tls-native-roots = [ "convex/rustls-tls-native-roots" ]
16+
rustls-tls-webpki-roots = [ "convex/rustls-tls-webpki-roots" ]
17+
1118
[dependencies]
1219
convex = { version = "=0.9.0", default-features = false }
1320
futures = { version = "0.3" }
@@ -18,19 +25,12 @@ tokio = { features = [ "full" ], version = "1" }
1825
tracing = { version = "0.1" }
1926
tracing-subscriber = { features = [ "env-filter" ], version = "0.3.17" }
2027

21-
[dev-dependencies]
22-
convex = { version = "=0.9.0", default-features = false, features = [ "testing" ] }
23-
tracing-subscriber = { features = [ "env-filter" ], version = "0.3.17" }
24-
2528
[build-dependencies]
2629
pyo3-build-config = { version = "0.24" }
2730

28-
[features]
29-
default = [ "native-tls-vendored" ]
30-
native-tls = [ "convex/native-tls" ]
31-
native-tls-vendored = [ "convex/native-tls-vendored" ]
32-
rustls-tls-native-roots = [ "convex/rustls-tls-native-roots" ]
33-
rustls-tls-webpki-roots = [ "convex/rustls-tls-webpki-roots" ]
31+
[dev-dependencies]
32+
convex = { version = "=0.9.0", default-features = false, features = [ "testing" ] }
33+
tracing-subscriber = { features = [ "env-filter" ], version = "0.3.17" }
3434

3535
[lints.rust]
3636
unused_extern_crates = "warn"

0 commit comments

Comments
 (0)