Skip to content

Commit 89352f4

Browse files
convex-renovate-runner[bot]Convex, Inc.
authored and
Convex, Inc.
committed
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 c7fd08e commit 89352f4

File tree

48 files changed

+495
-508
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+495
-508
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ async-recursion = "1.1.1"
1515
async-trait = "0.1"
1616
async_zip = { version = "0.0.17", default-features = false, features = [ "deflate", "tokio", "zstd" ] }
1717
async_zip_0_0_9 = { package = "async_zip", version = "0.0.9", default-features = false, features = [ "zstd", "deflate" ] }
18-
cbc = { version = "0.1.2" }
19-
csv-async = "1.2"
2018
atomic_refcell = "0.1.13"
2119
aws-config = { version = "1.6", default-features = false, features = [ "client-hyper", "default-https-client", "rustls", "rt-tokio" ] }
2220
aws-lc-rs = { version = "1.13", default-features = false, features = [ "aws-lc-sys", "prebuilt-nasm" ] }
@@ -27,23 +25,25 @@ aws-types = "1"
2725
axum = { version = "0.8", features = [ "ws", "original-uri", "macros", "multipart" ] }
2826
axum-extra = { version = "0.10", features = [ "typed-header", "cookie" ] }
2927
backoff = { version = "0.4", features = [ "tokio" ] }
30-
base32 = "0.5.0"
3128
base-62 = { rev = "6f91a3da4b83f20379469835f64195bd52d7b9dd", git = "https://github.com/kryptco/base62.rs" }
29+
base32 = "0.5.0"
3230
base64 = "0.13"
3331
biscuit = { rev = "05bdaab2f43d144aedc9ef2dfcdb87d304540afd", git = "https://github.com/get-convex/biscuit" }
3432
bitvec = "1.0.1"
3533
byteorder = "1.5.0"
3634
bytes = "1.6.0"
3735
bytesize = "2.0.0"
36+
cbc = { version = "0.1.2" }
3837
cfg-if = "1.0"
3938
chrono = "0.4.38"
4039
clap = { version = "^4.1.8", features = [ "derive" ] }
41-
serde_bytes = "0.11.14"
4240
colored = "2"
41+
const-oid = "0.9.6"
4342
criterion = "0.5"
4443
crossbeam-channel = "0.5"
4544
csf = "0.1.11"
4645
cstr = "0.2.11"
46+
csv-async = "1.2"
4747
ctrlc = "3.4"
4848
deadpool-postgres = "^0.14.0"
4949
deno_core = "0.347.0"
@@ -55,74 +55,70 @@ dynfmt = "0.1.5"
5555
either = "1.9.0"
5656
elliptic-curve = { version = "0.13", features = [ "std", "pem" ] }
5757
encoding_rs = "0.8.32"
58-
p256 = { version = "0.13", features = [ "ecdh" ] }
58+
enum-iterator = "2.1.0"
5959
event-listener = "5.3.1"
60+
fastrace = { version = "0.7", features = [ "enable" ] }
61+
flate2 = { version = "1", features = [ "zlib-ng" ] }
6062
flexbuffers = "25"
6163
float_next_after = "1.0.0"
6264
fnv = "1.0.7"
63-
fxhash = "0.2.1"
64-
spki = "0.7.3"
65-
flate2 = { version = "1", features = [ "zlib-ng" ] }
6665
futures = "0.3"
6766
futures-async-stream = "0.2.11"
6867
futures-util = "0.3.30"
68+
fxhash = "0.2.1"
6969
governor = "0.10.0"
7070
hdrhistogram = "7.5.4"
7171
headers = "0.4"
7272
hex = "0.4"
7373
home = "0.5"
74-
enum-iterator = "2.1.0"
7574
http = "1.0.0"
76-
http-cache = { version = "0.20.1", default-features = false }
7775
http-body-util = "0.1.2"
76+
http-cache = { version = "0.20.1", default-features = false }
7877
http-cache-reqwest = { version = "0.15.1", features = [ "manager-moka" ] }
7978
humansize = { version = "2.1.3", features = [ "impl_style" ] }
8079
hyper = "1.3.1"
8180
hyper-util = { version = "0.1.5", features = [ "server-graceful", "tokio" ] }
82-
proc-macro2 = { version = "1.0" }
8381
imbl = "5.0.0"
8482
itertools = "0.14"
85-
tikv-jemallocator = { version = "0.6", features = [ "profiling", "unprefixed_malloc_on_supported_platforms" ] }
86-
tikv-jemalloc-sys = { version = "0.6", features = [ "profiling", "unprefixed_malloc_on_supported_platforms" ] }
8783
jemalloc_pprof = "0.6"
8884
jsonschema = "0.29"
8985
levenshtein_automata = "0.2.1"
9086
libc = "0.2"
9187
libsodium-sys-stable = { version = "1.22.2", features = [ "minimal" ] }
92-
multer = "3.1.0"
9388
lru = "0.13.0"
9489
maplit = "1"
9590
mime = "0.3"
9691
mime2ext = "0.1.52"
97-
fastrace = { version = "0.7", features = [ "enable" ] }
9892
moka = { version = "0.12", features = [ "future", "sync" ] }
93+
multer = "3.1.0"
9994
must-let = { git = "https://github.com/sujayakar/must-let", rev = "5b487d78db235e396e61dd03ce261ced0eafff9d" }
10095
mysql_async = { version = "0.36.0", default-features = false, features = [ "default-rustls" ] }
10196
num_cpus = "1.16.0"
10297
oauth2 = { version = "5", default-features = false, features = [ "reqwest" ] }
10398
openidconnect = { git = "https://github.com/get-convex/openidconnect-rs", rev = "f21c7999356bd374a683d13378bd2a6c0ebdbf11", default-features = false, features = [ "accept-rfc3339-timestamps", "timing-resistant-secret-traits", "reqwest" ] }
10499
openssl = { version = "0.10.72", features = [ "aws-lc" ] }
100+
p256 = { version = "0.13", features = [ "ecdh" ] }
101+
p384 = "0.13"
105102
parking_lot = { version = "0.12", features = [ "hardware-lock-elision" ] }
106103
paste = { version = "1.0.12" }
107104
phf = { version = "0.11.2", features = [ "macros" ] }
108105
pin-project = "1"
109-
p384 = "0.13"
110106
portpicker = "0.1"
111-
const-oid = "0.9.6"
112107
postgres-protocol = { version = "0.6" }
113108
pretty_assertions = "1"
109+
proc-macro2 = { version = "1.0" }
114110
prometheus = { git = "https://github.com/get-convex/rust-prometheus", rev = "8794d2bbf2a5a9adc501067ee4440dde6b5e6e25" }
115111
proptest = "1"
116112
proptest-derive = "0.5.0"
117113
proptest-http = { git = "https://github.com/nipunn1313/proptest-http", rev = "0e658bd4f6dbb73bdd3be66f0d2c34c00cc3a446" }
118114
prost = { version = "0.13", features = [ "no-recursion-limit" ] }
119-
prost-types = "0.13"
120115
prost-reflect = { version = "0.14.0", features = [ "text-format", "miette" ] }
116+
prost-types = "0.13"
121117
pyo3 = "0.24"
122118
pyo3-async-runtimes = { version = "0.24", features = [ "tokio-runtime" ] }
123119
pyo3-build-config = { version = "0.24", features = [ "resolve-config" ] }
124-
qdrant_segment = { git = "https://github.com/get-convex/qdrant", rev = "a5d1b7bc9fd04861316b6455204c8a946d43117e", package = "segment" }
125120
qdrant_common = { git = "https://github.com/get-convex/qdrant", rev = "a5d1b7bc9fd04861316b6455204c8a946d43117e", package = "qdrant_common" }
121+
qdrant_segment = { git = "https://github.com/get-convex/qdrant", rev = "a5d1b7bc9fd04861316b6455204c8a946d43117e", package = "segment" }
126122
quote = "1.0"
127123
rand = "0.9"
128124
rand_chacha = "0.9.0"
@@ -134,21 +130,23 @@ reqwest-middleware = "0.4.1"
134130
rsa = "0.9.6"
135131
rusqlite = { version = "0.32", features = [ "bundled" ] }
136132
rustls = { version = "0.23", default-features = false }
137-
rustls-pki-types = { version = "1" }
138133
rustls-native-certs = { version = "0.8" }
134+
rustls-pki-types = { version = "1" }
139135
saffron = { git = "https://github.com/get-convex/saffron", rev = "1d842379919fb5c1988ac127cebd6167b1eb9bec", features = [ "std" ] }
140136
schemars = { version = "0.8" }
141137
semver = { version = "1", features = [ "serde" ] }
142138
sentry = { version = "0.37", features = [ "anyhow", "tower", "tower-http" ] }
143139
sentry-tracing = "0.37"
144140
serde = { version = "1", features = [ "derive" ] }
141+
serde_bytes = "0.11.14"
145142
serde_json = { version = "1", features = [ "float_roundtrip", "preserve_order", "unbounded_depth" ] }
146143
sha1 = { version = "0.10.5", features = [ "oid" ] }
147144
sha2 = { version = "0.10.8" }
148145
short_future = { version = "0.1.1" }
149146
slab = "0.4.9"
150147
smallvec = "1"
151148
sourcemap = "9"
149+
spki = "0.7.3"
152150
strum = { version = "0.27", features = [ "derive" ] }
153151
sucds = { version = "0.8.1", features = [ "intrinsics" ] }
154152
syn = { version = "2.0", features = [ "full" ] }
@@ -158,6 +156,8 @@ tempfile = "3"
158156
textplots = "0.8"
159157
thiserror = "2"
160158
thousands = "0.2.0"
159+
tikv-jemalloc-sys = { version = "0.6", features = [ "profiling", "unprefixed_malloc_on_supported_platforms" ] }
160+
tikv-jemallocator = { version = "0.6", features = [ "profiling", "unprefixed_malloc_on_supported_platforms" ] }
161161
tld = "2.36.0"
162162
tokio = { version = "1", features = [ "full" ] }
163163
tokio-metrics = { version = "0.4.0" }

crates/application/Cargo.toml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,31 @@ license = "LicenseRef-FSL-1.1-Apache-2.0"
77
[lib]
88
doctest = false
99

10+
[features]
11+
testing = [
12+
"authentication/testing",
13+
"common/testing",
14+
"database/testing",
15+
"errors/testing",
16+
"events/testing",
17+
"function_runner/testing",
18+
"isolate/testing",
19+
"keybroker/testing",
20+
"metrics/testing",
21+
"model/testing",
22+
"node_executor/testing",
23+
"proptest",
24+
"proptest-derive",
25+
"runtime/testing",
26+
"search/testing",
27+
"storage/testing",
28+
"shape_inference/testing",
29+
"udf/testing",
30+
"usage_tracking/testing",
31+
"value/testing",
32+
"vector/testing",
33+
]
34+
1035
[dependencies]
1136
anyhow = { workspace = true }
1237
async-broadcast = { workspace = true }
@@ -116,30 +141,5 @@ usage_tracking = { path = "../../crates/usage_tracking", features = [
116141
value = { path = "../value", features = ["testing"] }
117142
vector = { path = "../vector", features = ["testing"] }
118143

119-
[features]
120-
testing = [
121-
"authentication/testing",
122-
"common/testing",
123-
"database/testing",
124-
"errors/testing",
125-
"events/testing",
126-
"function_runner/testing",
127-
"isolate/testing",
128-
"keybroker/testing",
129-
"metrics/testing",
130-
"model/testing",
131-
"node_executor/testing",
132-
"proptest",
133-
"proptest-derive",
134-
"runtime/testing",
135-
"search/testing",
136-
"storage/testing",
137-
"shape_inference/testing",
138-
"udf/testing",
139-
"usage_tracking/testing",
140-
"value/testing",
141-
"vector/testing",
142-
]
143-
144144
[lints]
145145
workspace = true

crates/async_zip_reader/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ tokio-stream = { workspace = true }
1313
tokio-util = { workspace = true }
1414
zip = { version = "2.2.2", features = ["deflate-zlib-ng", "deflate64", "zstd"] }
1515

16-
[lints]
17-
workspace = true
18-
1916
[dev-dependencies]
2017
async_zip = { workspace = true }
2118
async_zip_0_0_9 = { workspace = true }
2219
futures = { workspace = true }
20+
21+
[lints]
22+
workspace = true

crates/authentication/Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ license = "LicenseRef-FSL-1.1-Apache-2.0"
88
[lib]
99
doctest = false
1010

11+
[features]
12+
metrics = ["common/testing"]
13+
tracy-tracing = ["common/tracy-tracing"]
14+
testing = [
15+
"common/testing",
16+
"errors/testing",
17+
"keybroker/testing",
18+
"metrics/testing",
19+
]
20+
1121
[dependencies]
1222
anyhow = { workspace = true }
1323
async-trait = { workspace = true }
@@ -37,15 +47,5 @@ keybroker = { path = "../keybroker", features = ["testing"] }
3747
metrics = { path = "../metrics", features = ["testing"] }
3848
tokio = { workspace = true }
3949

40-
[features]
41-
metrics = ["common/testing"]
42-
tracy-tracing = ["common/tracy-tracing"]
43-
testing = [
44-
"common/testing",
45-
"errors/testing",
46-
"keybroker/testing",
47-
"metrics/testing",
48-
]
49-
5050
[lints]
5151
workspace = true

crates/big_brain_private_api_types/Cargo.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,22 @@ version = "0.1.0"
44
edition = "2021"
55
license = "LicenseRef-FSL-1.1-Apache-2.0"
66

7+
[package.metadata.cargo-machete]
8+
ignored = [
9+
# proptest_derive macro depends on proptest
10+
"proptest",
11+
"proptest_derive",
12+
# Used in macros
13+
"derive_more",
14+
"serde_json",
15+
]
16+
717
[lib]
818
doctest = false
919

20+
[features]
21+
testing = ["common/testing", "keybroker/testing", "proptest", "proptest-derive"]
22+
1023
[dependencies]
1124
anyhow = { workspace = true }
1225
common = { path = "../../crates/common" }
@@ -27,18 +40,5 @@ keybroker = { path = "../../crates/keybroker", features = ["testing"] }
2740
proptest = { workspace = true }
2841
proptest-derive = { workspace = true }
2942

30-
[features]
31-
testing = ["common/testing", "keybroker/testing", "proptest", "proptest-derive"]
32-
33-
[package.metadata.cargo-machete]
34-
ignored = [
35-
# proptest_derive macro depends on proptest
36-
"proptest",
37-
"proptest_derive",
38-
# Used in macros
39-
"derive_more",
40-
"serde_json",
41-
]
42-
4343
[lints]
4444
workspace = true

crates/clusters/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ authors = ["Convex, Inc. <[email protected]>"]
55
edition = "2021"
66
license = "LicenseRef-FSL-1.1-Apache-2.0"
77

8+
[features]
9+
testing = ["common/testing"]
10+
811
[dependencies]
912
anyhow = { workspace = true }
1013
clap = { workspace = true }
1114
common = { path = "../../crates/common" }
1215
url = { workspace = true }
1316

14-
[features]
15-
testing = ["common/testing"]
17+
[dev-dependencies]
18+
common = { path = "../../crates/common", features = ["testing"] }
1619

1720
[lints]
1821
workspace = true
19-
20-
[dev-dependencies]
21-
common = { path = "../../crates/common", features = ["testing"] }

crates/common/Cargo.toml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,29 @@ authors = ["Convex, Inc. <[email protected]>"]
55
edition = "2021"
66
license = "LicenseRef-FSL-1.1-Apache-2.0"
77

8-
[lib]
9-
doctest = false
10-
118
[package.metadata.cargo-udeps.ignore]
129
normal = ["proptest", "proptest-derive"]
1310
development = ["proptest", "proptest-derive"]
1411

12+
[lib]
13+
doctest = false
14+
15+
[features]
16+
tracy-tracing = ["tracy-client", "tracy-client/enable"]
17+
testing = [
18+
"errors/testing",
19+
"metrics/testing",
20+
"packed_value/testing",
21+
"proptest",
22+
"proptest-derive",
23+
"proptest-http",
24+
"rand_chacha",
25+
"sync_types/testing",
26+
"shape_inference/testing",
27+
"value/testing",
28+
"tokio/test-util",
29+
]
30+
1531
[dependencies]
1632
anyhow = { workspace = true }
1733
async-trait = { workspace = true }
@@ -112,21 +128,5 @@ sync_types = { package = "convex_sync_types", path = "../convex/sync_types", fea
112128
tokio = { workspace = true, features = ["test-util"] }
113129
value = { path = "../value", features = ["testing"] }
114130

115-
[features]
116-
tracy-tracing = ["tracy-client", "tracy-client/enable"]
117-
testing = [
118-
"errors/testing",
119-
"metrics/testing",
120-
"packed_value/testing",
121-
"proptest",
122-
"proptest-derive",
123-
"proptest-http",
124-
"rand_chacha",
125-
"sync_types/testing",
126-
"shape_inference/testing",
127-
"value/testing",
128-
"tokio/test-util",
129-
]
130-
131131
[lints]
132132
workspace = true

0 commit comments

Comments
 (0)