2315 Commits

Author SHA1 Message Date
Dirkjan Ochtman
77c8279031 Bump version number to 0.3.2 2017-08-02 20:51:35 +02:00
Dirkjan Ochtman
85ed025368 Add test that starts with a single brace (see #24) 2017-08-02 20:49:08 +02:00
Dirkjan Ochtman
82d85bbc20 Fix edge cases in content literal parser (fixes #24) 2017-08-02 20:48:41 +02:00
Dirkjan Ochtman
ce84543b69 Add test for basic chained attributes 2017-05-26 11:45:27 +02:00
Dirkjan Ochtman
71d99927a6 Add support for chained attributes (fixes #22) 2017-05-26 11:45:27 +02:00
Jordan Danford
52733424e7 Remove duplicate "if/else" 2017-05-14 07:00:23 +02:00
Dirkjan Ochtman
f0efc21b3e Update dependencies 2017-05-12 20:31:31 +02:00
Dirkjan Ochtman
1d798e4a48 Bump version to 0.3.2 0.3.2 2017-03-12 20:55:15 +01:00
Dirkjan Ochtman
2585a4dae0 Add some documentation about inheritance pitfalls 2017-03-12 20:53:13 +01:00
Dirkjan Ochtman
fe00fabd5c Reference askama and std from the global scope (fixes #17)
With this change, importing `std` and `askama` into modules where templates
are defined is no longer necessary. `askama::Template` must still be imported
in scopes where methods of the `Template` trait are called.
2017-03-11 22:24:00 +01:00
Andy Librian
bedc16cbe3 reorganized filter tests 2017-03-11 21:24:21 +07:00
Andy Librian
6f9fc729eb added trim filter (#18) 2017-03-11 21:23:02 +07:00
Christian Legnitto
7362ca0dcb Add lower and upper filters 2017-03-10 22:41:46 +01:00
Christian Legnitto
ba70b11f40 Bump versions in README
Without using this version I was getting a warning on stable rust.
2017-03-10 22:30:44 +01:00
Jordan Danford
24fdb49e30 Change preposition in "Variables" section of docs
Changed "of the template context" to "to the template context"
2017-03-09 21:20:06 +01:00
Jordan Danford
1442aa71e5 Fix formatting in "Variables" section of docs 2017-03-09 21:20:06 +01:00
Dirkjan Ochtman
e1b70fb1b9 Bump version to 0.3.1 0.3.1 2017-03-08 21:17:56 +01:00
Dirkjan Ochtman
4b31ed5193 Ask for feedback before diving into details 2017-03-08 20:35:50 +01:00
Dirkjan Ochtman
8dc590dcb4 Clarify limitations a bit more 2017-03-08 20:35:09 +01:00
Dirkjan Ochtman
e558318dd2 Improve feature documentation in README and docs 2017-03-08 20:33:55 +01:00
Dirkjan Ochtman
39ec850b4a Thank @dtolnay for his support in the README 2017-03-08 20:19:06 +01:00
Dirkjan Ochtman
ed89e5f027 Remove type parameter defaults from impls (fixes #12) 2017-03-08 20:14:55 +01:00
Dirkjan Ochtman
9397378e4e Add missing template for test_generics 2017-03-08 20:08:46 +01:00
Dirkjan Ochtman
1d513f2781 Version bump to 0.3.0 0.3.0 2017-03-08 20:06:46 +01:00
Dirkjan Ochtman
6cf4907be8 Update quote and syn dependencies 2017-03-08 20:06:32 +01:00
Dirkjan Ochtman
c84f081043 Clean up askama crate per clippy's suggestions 2017-03-08 20:03:08 +01:00
Dirkjan Ochtman
a20340d2e8 Improve language in talking about build script 2017-03-08 19:58:27 +01:00
Dirkjan Ochtman
3d52968a18 Remove incorrect remark about proc macro export restrictions 2017-03-08 19:58:11 +01:00
Dirkjan Ochtman
6e1ef94b93 Use if let to better handle Option type 2017-03-08 19:56:53 +01:00
Dirkjan Ochtman
f71b2f0323 Add test for type parameters and where clauses (see #9) 2017-03-08 19:55:47 +01:00
Dirkjan Ochtman
c927d51fe1 Copy type parameters and where clauses (fixes #11) 2017-03-08 19:55:27 +01:00
Dirkjan Ochtman
f229c79517 Inline annotations() helper into write_header() 2017-03-07 21:39:41 +01:00
Dirkjan Ochtman
4c8a5b5104 Remove debugging cruft from test_nested_for 2017-03-07 21:34:50 +01:00
Dirkjan Ochtman
2d5c2d2f10 Extract writing of impl headers in generator 2017-03-07 21:34:09 +01:00
Dirkjan Ochtman
8d97f81880 Panic with better message if template not found (fixes #4) 2017-03-07 21:14:57 +01:00
Dirkjan Ochtman
d65d08b937 Panic with better message if template attribute is not found (fixes #3) 2017-03-07 21:07:01 +01:00
Dirkjan Ochtman
0eeb5d1b2d Add test for nested loops and loops over slices (see #6, #7, #9) 2017-03-07 21:00:44 +01:00
Dirkjan Ochtman
a0a3e4018c Create separate test module for loops 2017-03-07 07:39:42 +01:00
Dirkjan Ochtman
18735c9644 Use enumerate() for much simpler loop indexes (fixes #10) 2017-03-06 22:47:25 +01:00
Dirkjan Ochtman
b469bc208f Better support for Iterator variants in for loop (fixes #8) 2017-03-06 22:42:46 +01:00
Dirkjan Ochtman
5763b88a70 Remove unused template alias from README (see #5) 2017-03-06 22:41:06 +01:00
Dirkjan Ochtman
664398b225 Hide askama_derive dependency inside askama (fixes #2) 2017-03-06 22:40:04 +01:00
Dirkjan Ochtman
0efd0c5cc5 Remove unused TemplateFrom types (fixes #5) 2017-03-06 22:20:54 +01:00
Dirkjan Ochtman
90f6acaa68 Add link to documentation to Cargo manifest 2017-03-05 20:03:13 +01:00
Dirkjan Ochtman
bd94bf2d01 Bump version to 0.2.1 0.2.1 2017-03-05 19:56:35 +01:00
Dirkjan Ochtman
0725008142 Slightly update limitations in README 2017-03-05 19:55:08 +01:00
Dirkjan Ochtman
c362310e8b Add readme to Cargo package metadata 2017-03-05 19:54:36 +01:00
Dirkjan Ochtman
a56ee12990 Rewrite README in Markdown 2017-03-05 19:51:21 +01:00
Dirkjan Ochtman
b8c36fbdc8 Add note about working on stable Rust 2017-03-05 19:38:11 +01:00
Dirkjan Ochtman
5e3ee8e427 Add testimonial from Armin Ronacher 2017-03-05 19:35:55 +01:00