aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/path.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-11Move get_template_source() into askama_deriveLibravatar Dirkjan Ochtman1-29/+0
2018-07-11Move find_template_from_path() into ConfigLibravatar Dirkjan Ochtman1-65/+4
2018-07-11Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-2/+8
2018-07-11Revert to using assert_eq!() for path testsLibravatar Dirkjan Ochtman1-3/+13
2018-07-10Simplify get_template_source() by using fs::read_to_string()Libravatar Dirkjan Ochtman1-11/+8
2018-07-10Use Config type for build script helperLibravatar Dirkjan Ochtman1-4/+0
2018-07-10Move Config struct to askama_shared crate rootLibravatar Dirkjan Ochtman1-37/+3
2018-07-10Rename Config::from_file() to Config::new()Libravatar Dirkjan Ochtman1-3/+3
2018-07-10Simplify find_template_from_path() to use Config directlyLibravatar Dirkjan Ochtman1-12/+9
2018-07-10Stop searching for templates used as relative rootsLibravatar Dirkjan Ochtman1-13/+12
2018-07-10Get template sources directly from absolute pathsLibravatar Dirkjan Ochtman1-22/+15
2018-07-10Simplify code to read configurationLibravatar Dirkjan Ochtman1-29/+16
2018-07-10Simplify handling of file open errorsLibravatar Dirkjan Ochtman1-4/+3
2018-07-10Reorder items in top-down orderLibravatar Dirkjan Ochtman1-22/+22
2018-07-10Add complete support for multiple template dirsLibravatar mash1-43/+63
2018-07-10Add partial support for multiple template dirsLibravatar mash1-0/+32
2018-06-21Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-3/+7
2018-04-09Improve error message when template is not foundLibravatar Dirkjan Ochtman1-1/+1
2017-11-21Apply suggestions from rustfmt to improve styleLibravatar Dirkjan Ochtman1-2/+1
2017-09-06Code cleanups as suggested by ClippyLibravatar Dirkjan Ochtman1-2/+2
2017-08-27Move most of the code into new askama_shared crateLibravatar Dirkjan Ochtman1-2/+1
This makes it possible to share code between askama and askama_derive.
2017-08-16Change find_template_from_path() to take Path as start_at argumentLibravatar Dirkjan Ochtman1-5/+5
2017-08-16Simplify relative path handling in find_template_from_path()Libravatar Dirkjan Ochtman1-10/+7
2017-08-10Add note to template_dir() about being duplicatedLibravatar Dirkjan Ochtman1-0/+1
2017-08-08Reorganize code order in askama_derive modulesLibravatar Dirkjan Ochtman1-21/+21
2017-08-06Use one way of finding templates on the pathLibravatar Dirkjan Ochtman1-3/+3
2017-08-06Merge handling of trailing newline into get_template_source()Libravatar Dirkjan Ochtman1-1/+4
2017-08-06Add test for path::get_template_source()Libravatar Dirkjan Ochtman1-1/+6
2017-08-06Add tests for find_template_from_path()Libravatar Dirkjan Ochtman1-0/+30
2017-08-06Add function to find template relative to another template's pathLibravatar Dirkjan Ochtman1-0/+24
2017-03-07Panic with better message if template not found (fixes #4)Libravatar Dirkjan Ochtman1-1/+8
2017-03-06Hide askama_derive dependency inside askama (fixes #2)Libravatar Dirkjan Ochtman1-0/+19