23 Commits

Author SHA1 Message Date
René Kijewski
532e343c40 parser: reject illegal string literals 2025-06-09 19:24:08 +02:00
René Kijewski
d531c96d13 parser: recognize/reject prefixed ids and lits in macro calls 2025-06-05 18:44:02 +02:00
René Kijewski
96796cb1aa ci: don't collect filter output into String
We don't have to care if the output is big. If the user calls a filter
with a big input, then they should know that the output will probably be
even bigger.
2025-06-02 00:40:43 +02:00
René Kijewski
0e30499f59 ci: update fuzzing corpus to include derive 2025-06-01 19:14:28 +02:00
René Kijewski
e99f612391 Drive-by fixes 2025-05-18 23:06:42 +02:00
René Kijewski
b716014612 Fuzz code generator, too 2025-05-17 23:21:45 +02:00
René Kijewski
0ad2a3d973 Fuzz more filters
Added: `|escape`, `|filesizeformat`, `|join`, `|json`, `|json(..)`,
`|unique`, and `|wordcount`.
2025-05-16 16:23:20 +02:00
René Kijewski
7881bc131b Implement first and blank arguments for |indent 2025-04-17 15:07:21 +02:00
Guillaume Gomez
3b52c907c3 Rename rinja into askama 2025-03-11 19:31:06 +01:00
René Kijewski
84edf1cc77 Replace from_utf8_unsafe() with AsciiStr
This moves many unsafe block into one file.
2025-02-11 00:37:40 +01:00
René Kijewski
9b8ace77b4 Fix rust 1.86 clippy warnings
* [`manual_div_ceil`]
* [`sliced_string_as_bytes`]
* Add `cargo.toml` for global clippy settings, e.g. msrv

[`manual_div_ceil`]: <https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil>
[`sliced_string_as_bytes`]: <https://rust-lang.github.io/rust-clippy/master/index.html#sliced_string_as_bytes>
2025-01-31 21:22:33 +01:00
René Kijewski
d3a1afd99d fuzzing: update corpus 2025-01-04 18:25:38 +01:00
René Kijewski
d1287adf80 fuzzing: add option to write out fuzzed scenarios 2025-01-04 11:03:16 +01:00
René Kijewski
b49e42f0ea Use cargo reference manifest section order
In [#131] I added a check that ensures that the section in `Cargo.toml`
(and there values) are in a specific order. I invented the order quite
randomly, in the order which I thought might be useful.

This PR changes the order to be the same as in Cargo's reference about
[The Manifest Format]. Also some missing softlinks were added.

[#131]: <https://github.com/rinja-rs/rinja/pull/131>
[The Manifest Format]: <https://doc.rust-lang.org/cargo/reference/manifest.html>
2024-12-13 10:00:48 +01:00
René Kijewski
69ad5ea026 Remove integration crates 2024-11-25 03:03:15 +01:00
René Kijewski
0d8cda38b7 ci: make sure all settings apply to subprojects, too 2024-09-24 02:28:16 +02:00
René Kijewski
785aea3668 fuzz: add minified corpus after 1,000,000,000 runs 2024-08-29 17:05:42 +02:00
René Kijewski
757ba0ac7e doc: use feature(doc_cfg, doc_auto_cfg) everywhere 2024-08-20 07:36:11 +02:00
René Kijewski
22e6667217 Update after #141 was merged 2024-08-19 13:37:15 +02:00
René Kijewski
33e80a2be4 fuzz: fuzz text filters 2024-08-19 13:31:07 +02:00
René Kijewski
1176c654ba fuzz: fuzz everything at once 2024-08-19 13:31:07 +02:00
René Kijewski
79873f6a17 Make clippy happy 2024-08-19 13:31:07 +02:00
René Kijewski
8433e24917 filters: fuzzer for html escaping 2024-08-19 13:31:07 +02:00