12 Commits

Author SHA1 Message Date
Guillaume Gomez
3b52c907c3 Rename rinja into askama 2025-03-11 19:31:06 +01:00
Guillaume Gomez
6e13c81a5f Move types into their tests 2024-11-09 22:22:42 +01:00
Guillaume Gomez
2d80cc3524 Rename everything to rinja 2024-06-17 15:58:52 +02:00
Matthew Taylor
ac8de6260e
Fix Rust macro invocations not accepting a path (#837) 2023-07-24 11:39:14 +02:00
René Kijewski
e9badca257 Replace rust_macro test to work on nightly
The current rust_test uses `stringify!()`. The documentation gives us
the warning:

> Note that the expanded results of the input tokens may change in the
> future. You should be careful if you rely on the output.

In the current nightly rust the result was indeed changed, so the test
not fails.

This PR replaces the test with another macro, that does not depend on
`stringify!()`.

Closes issue #504.
2021-07-02 16:37:11 +02:00
Dirkjan Ochtman
8c56de1e69 Limit test sensitivity to macro pretty printing output
See https://github.com/rust-lang/rust/issues/65207.
2019-10-09 11:45:13 +02:00
Juan Aguilar Santillana
39e08325c0 fix rust macro arguments 2018-12-13 09:32:03 +01:00
Dirkjan Ochtman
5549f9a3cd Use 2018 edition idioms 2018-12-08 21:43:20 +01:00
Dirkjan Ochtman
cf8dc532f0 Remove unused macro_use attributes 2018-12-08 21:43:20 +01:00
Dirkjan Ochtman
ca6706711e Fix formatting 2018-10-08 11:12:57 +02:00
Dirkjan Ochtman
35e241f429 Clean up warning about unused field 2018-10-08 10:40:20 +02:00
bott
28d7696408 Add Rust macro support at templates 2018-10-07 17:26:08 +02:00