djc / askama

Type-safe, compiled Jinja-like templates for Rust
Apache License 2.0
3.35k stars 215 forks source link

Do we need a built-in yaml filter? #1002

Closed Kijewski closed 5 months ago

Kijewski commented 5 months ago

I don't really see a compelling use case for a built-in yaml filter. It's a serialization format widely used for input configurations, not for generated web output. The feature was asked for in #192, and it was added in #201.

The package serde_yaml is now marked as deprecated and unmaintained by its author. If we keep the feature, then maybe we should look around if there is an active fork of the project?

Cc @antifuchs.

GuillaumeGomez commented 5 months ago

I think it's "easy enough" to add your own yaml filter if needed. Seems to be out of scope of askama.

djc commented 5 months ago

That's fair -- let's kill it.

GuillaumeGomez commented 5 months ago

Sending a PR to remove it then. :3

antifuchs commented 5 months ago

Fine by me to kill the feature - I honestly had to look up what askama even was, it's been so long that I used the tool that I built using it ((: