Dirkjan Ochtman
|
5549f9a3cd
|
Use 2018 edition idioms
|
2018-12-08 21:43:20 +01:00 |
|
Dirkjan Ochtman
|
d042c5d758
|
Upgrade to 2018 edition
|
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
|
b18664fe9f
|
Upgrade to Rocket 0.4
|
2018-12-08 21:43:20 +01:00 |
|
Juan Aguilar Santillana
|
cdafc8d641
|
Fix cargo fmt
|
2018-12-07 20:18:16 +01:00 |
|
Dirkjan Ochtman
|
93136a66ed
|
Fix typo in serde_json feature
|
2018-12-07 19:41:48 +01:00 |
|
Dirkjan Ochtman
|
d42c5c04aa
|
Make testing all features actually fail the test job
|
2018-12-07 19:41:48 +01:00 |
|
Juan Aguilar Santillana
|
94db5b1cb6
|
Fix unnecessary len at capitalize filter
|
2018-12-01 22:31:12 +01:00 |
|
youmouse
|
768c571f9d
|
Add filesizeformat filter
|
2018-11-16 20:25:41 +01:00 |
|
bott
|
c7fe975b27
|
Add assignments documentation
|
2018-11-14 16:19:29 +01:00 |
|
Dirkjan Ochtman
|
e7fde0733b
|
Move escaping benchmarks into askama_escape crate
|
2018-11-14 16:18:19 +01:00 |
|
bott
|
ade72a0f9d
|
Update generate code example
|
2018-11-13 22:59:25 +01:00 |
|
bott
|
c5f5d80cbc
|
Fix generated code style
|
2018-11-13 22:59:25 +01:00 |
|
imaperson
|
0a7e35c7e3
|
Merge pull request #155 from djc/simplify-expr-writing
Simplify expr writing
|
2018-11-11 23:48:00 +01:00 |
|
bott
|
a899561db2
|
Add e2e test for escape
|
2018-11-11 22:39:22 +01:00 |
|
bott
|
7e6eda2f69
|
Fix write expression wrapper
|
2018-11-11 22:39:22 +01:00 |
|
Dirkjan Ochtman
|
75098f3561
|
Code style tweaks
|
2018-11-11 21:22:56 +01:00 |
|
Dirkjan Ochtman
|
5111818c67
|
Use early returns to prevent deep indentation
|
2018-11-11 21:10:53 +01:00 |
|
bott
|
eb5f35ef9b
|
Update generated code example
|
2018-11-11 21:06:51 +01:00 |
|
bott
|
e7ed953b88
|
Add write! named arguments
|
2018-11-11 21:06:51 +01:00 |
|
Dirkjan Ochtman
|
6a2cff0ab6
|
Tweak metadata for new askama_escape crate
|
2018-11-07 21:37:07 +01:00 |
|
Dirkjan Ochtman
|
349b3c2612
|
Simplify whitespace handling in expression code generation
|
2018-11-07 21:37:07 +01:00 |
|
Dirkjan Ochtman
|
460079e347
|
Clean up unused features
|
2018-11-07 21:37:07 +01:00 |
|
Tomas
|
93884b7fbe
|
Update generated code example
|
2018-11-07 20:13:11 +01:00 |
|
Tomas
|
471654dd94
|
Fix generated code format
|
2018-11-07 20:13:11 +01:00 |
|
bott
|
8224f06f3e
|
Create askama_escape crate
|
2018-11-07 17:58:13 +01:00 |
|
Dirkjan Ochtman
|
2e028ed903
|
Reorder and tweak code style a little bit
|
2018-11-05 21:03:31 +01:00 |
|
bott
|
99abc3e303
|
Improve performance simplify
|
2018-11-05 21:03:31 +01:00 |
|
Dirkjan Ochtman
|
57dc7ef9ca
|
Escape into Formatter
|
2018-11-05 21:03:31 +01:00 |
|
bott
|
2ef8258e8f
|
Improve performance of html escape
|
2018-11-05 21:03:31 +01:00 |
|
bott
|
2721c44a20
|
Add bench for escaping
|
2018-11-05 21:03:31 +01:00 |
|
Tomas
|
962c24eaed
|
Add f64 filter
|
2018-11-05 20:24:39 +01:00 |
|
Tomas
|
1b3c5a8696
|
Add isize filter
|
2018-11-05 20:24:39 +01:00 |
|
Dirkjan Ochtman
|
31dfd81cca
|
Send debug output to stderr instead of stdout
|
2018-11-05 14:36:22 +01:00 |
|
Dirkjan Ochtman
|
6c442903c6
|
Disable tests that need dependencies by default
|
2018-11-04 22:36:45 +01:00 |
|
Dirkjan Ochtman
|
8edf5dea2a
|
Use nightly channel
|
2018-11-04 22:36:03 +01:00 |
|
Yusuke Sasaki
|
82a406df79
|
use UFCS in derived code
|
2018-11-04 22:14:11 +01:00 |
|
Dirkjan Ochtman
|
efe621195e
|
Remove unused #[macro_use] attribute
|
2018-11-04 22:10:09 +01:00 |
|
bott
|
940f90bea6
|
Improve bench with writable buffer for generate format string of write! argument
|
2018-10-29 12:53:53 +01:00 |
|
bott
|
83af269785
|
Improve bench with literals buffer for optimize ws writer
|
2018-10-27 19:52:51 +02:00 |
|
bott
|
76d29eb591
|
Improve bench reducing the number of calls to writer.write_str
|
2018-10-26 03:55:53 +02:00 |
|
Benjamin Li
|
7062aabbcb
|
Fix off-by-one error with HTML escaping
If the second-to-last character of a string should be escaped,
but not the last, the last character was not being included in the
result.
|
2018-10-25 21:41:40 +02:00 |
|
Qian Linfeng
|
5be6479f2c
|
Add test for unescaped variable expressions (see #132)
|
2018-10-20 20:34:47 +02:00 |
|
Dirkjan Ochtman
|
4fa029f26f
|
Take reference of unescaped expressions directly (fixes #132)
|
2018-10-20 20:34:47 +02:00 |
|
Casey Rodarmor
|
5ffe3de311
|
Replace format!() with to_string() in filters
|
2018-10-17 11:14:27 +02:00 |
|
Casey Rodarmor
|
65e13033e1
|
Add indent filter
|
2018-10-17 11:14:27 +02:00 |
|
Dirkjan Ochtman
|
d48bd54bbe
|
Fix dependency version
|
2018-10-12 14:38:33 +02:00 |
|
Dirkjan Ochtman
|
39e807d94d
|
Bump version number to 0.8.0 for API change
|
2018-10-12 14:21:53 +02:00 |
|
Dirkjan Ochtman
|
3c30d3a396
|
Remove default implementation for extension()
|
2018-10-12 14:20:55 +02:00 |
|
Yusuke Sasaki
|
1f11e7133d
|
make Template::extension() static
It is useful for calculating the media type without instantiating
the context value.
|
2018-10-12 14:18:12 +02:00 |
|