Trangar / periodic_table

Library that provides a list of elements in the periodic table
3 stars 1 forks source link

Update askama requirement from 0.10 to 0.11 #15

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on askama to permit the latest version.

Release notes

Sourced from askama's releases.

0.11.0

After almost 18 months of development, I'm happy to finally announce the 0.11.0 release of Askama, the type-safe, compiled Jinja-like template engine for Rust. Importantly, during this release cycles two new members joined the Askama team (consisting of just @​djc at the start of this release): @​vallentin and @​Kijewski, who both contributed many well-designed improvements to this release. Contributors added integrations for the Axum and Tide web frameworks to our existing set of integrations for Rocket, Actix-Web, Warp and Gotham.

Perhaps the most visible change in this release is the redefined Template trait which now has a DynTemplate counterpart rather than the SizedTemplate used in the previous release (see #579). That said, the template language itself has grown a number of helpful features (as detailed below), while the code generator can now avoid many compilation issues due to better heuristics. We also improved whitespace handling to be more correct, and made several dependencies optional such that using default-features = false on any of the Askama crates should minimize dependencies if so desired.

Changes:

  • Use a separate trait for object safety (#579)
  • Allow whitespace in expressions (#327, thanks to @​cipriancraciun)
  • Add support for shadowing variables (#411)
  • Change extension values to ignore common Jinja extensions (#458)
  • Disable default features for askama_shared in askama_derive (#344, thanks to @​JohnTitor)
  • Disable Askama's default features in integration crates (#409, thanks to @​Randati)
  • Upgrade to nom 7 (#530; nom 6 was done in #372)
  • Improve error messages using cuts (#513)
  • Improve error messages using compile_error!() (#373, thanks to @​msrd0 for improving this in #374)
  • Allow paths to start with :: (#393)
  • Improve template loop generation (#401)
  • Remove implicit borrowing of literals, calls and more (#423)
  • Pass all-uppercase variables through as constants (#433)
  • Enable no_std support in askama_escape (#436, thanks to @​Nemo157)
  • Use raw identifiers for identifiers which collide with Rust keywords (#476, thanks to @​SciStarter)
  • Rework implicit borrowing to be more relaxed (#396, thanks to @​msrd0 for adding tests in #379)
  • Improve if-statement generation to avoid issues with implicit borrows (#392)

Bug fixes:

  • Fix whitespace issues in match blocks (#399)
  • Fix path parser to account for single identifier type names (#453)
  • Fix support for raw method identifiers (#548, thanks to @​kellytk)
  • Fix code generation for macro calls that store args in variables (#499, thanks to @​rfk)
  • Fix loop generation when accessing field (#500)
  • Fix whitespace handling in if-blocks (#394)
  • Fix implicit borrow of expressions (#390)
  • Avoid hanging the build due to template recursion (#539, thanks to @​grv07)
  • Avoid parsing non-template attributes (#549)

Template language:

  • Implement nested tuple destructuring in let and for (#506)
  • Implement struct destructuring in let and for (#509)
  • Add support for loop.cycle() expressions (#517)
  • Add support for for-else blocks (#518)
  • Add support for break and continue blocks (#519)
  • Allow whitespace trimming in raw blocks (#546)
  • Add set alias for let blocks (#402)
  • Add support for parsing nested comments (#408)
  • Fix parsing precedence and associativity (#391, #426)

Filters:

... (truncated)

Commits
  • 5cfef32 Use a separate trait for object safety (#579)
  • 228f6b2 updated for actix-web 4.0.0-beta.14
  • 9531747 Use char for patterns where possible
  • c35a2c0 Update mendes requirement from 0.0.59 to 0.0.60
  • d77553d Update axum to 0.4 (by switching to axum-core)
  • e0daa9b Add missing license files to askama_actix and askama_mendes
  • e3d690b Move askama_mendes integration into Askama repo (#561)
  • 671bc7f Fix tests for new error messages in Rust nightly
  • 3d82b59 Merge pull request #562 from djc/prepare-0.12
  • 1762792 Merge pull request #546 from Kijewski/pr-fix-raw
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Looks like askama is up-to-date now, so this is no longer needed.