Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

derive: implement template attribute blocks #337

Merged
merged 4 commits into from
Feb 8, 2025

Conversation

Kijewski
Copy link
Collaborator

@Kijewski Kijewski commented Feb 8, 2025

The new attribute blocks is feature-gated because it depends on syn/full, which we don't need otherwise.

The implementation is quite big (8 files changed, 269 insertions(+), 9 deletions(-)), but also reasonably self-contained, so I'm still happy. :)

Todos:

  • add documentation

Resolves #328.

@Kijewski Kijewski force-pushed the pr-blocks branch 2 times, most recently from ecf1210 to 45443c5 Compare February 8, 2025 01:01
@GuillaumeGomez
Copy link
Collaborator

Nice, thanks!

@GuillaumeGomez GuillaumeGomez merged commit 77e846f into askama-rs:master Feb 8, 2025
37 checks passed
@GuillaumeGomez
Copy link
Collaborator

Arf, didn't realize the doc was missing, was too excited about the changes. ><

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generate methods to render each Block independently?
2 participants