summaryrefslogtreecommitdiff
path: root/src/codegen.rs
AgeCommit message (Expand)AuthorFilesLines
2023-08-12subplot: Enable passing of location into the template expansionDaniel Silverstone1-0/+17
2023-06-21refactor: rename Document::files to ::embedded_filesLars Wirzenius1-1/+1
2023-04-30chore: drop now-obsolete commentLars Wirzenius1-2/+0
2023-04-24fix(src/codegen.rs): formattingLars Wirzenius1-3/+3
2023-04-10(chore): Update for newer base64 APIDaniel Silverstone1-2/+2
2023-04-01fix: create Tera using ::default, instead of ::newLars Wirzenius1-1/+1
2022-05-06refactor! split SubplotError::IoError into more specific errorsLars Wirzenius1-4/+9
2021-11-19various: Rework document to support multiple implementationsDaniel Silverstone1-20/+12
2021-10-08codegen: Refuse to codegen if there are zero scenariosDaniel Silverstone1-1/+7
2021-09-07subplot: Properly support polyglot bindingsDaniel Silverstone1-1/+1
2021-09-07chore: Unwind global template nameDaniel Silverstone1-7/+10
2021-09-04chore: Fix unnecessary borrow lintsDaniel Silverstone1-3/+3
2021-04-14refactor: don't use anyhow in the library part of the crateLars Wirzenius1-11/+12
2021-04-09chore: Clear some clippy lintsDaniel Silverstone1-2/+2
2021-01-23codegen: Load helpers before main templateDaniel Silverstone1-9/+8
2021-01-10resources: Rearrange share/ structure ready for lib importDaniel Silverstone1-3/+3
2021-01-10resource: Switch from 'templates' to 'share'Daniel Silverstone1-4/+5
2021-01-09chore: Simplify to use resource::read_as_stringDaniel Silverstone1-10/+3
2021-01-09resource: Step one of VFS support, redirect all opensDaniel Silverstone1-5/+8
2020-12-10codegen: Add tests for new filtersDaniel Silverstone1-0/+37
2020-12-10codegen: Add commentsafe filterDaniel Silverstone1-0/+19
2020-12-10codegen: Add a nameslug filterDaniel Silverstone1-0/+20
2020-12-03codegen: Make template metadata entry mandatoryDaniel Silverstone1-4/+4
2020-09-04feat(codegen): allow templates to list helper filesLars Wirzenius1-1/+6
2020-06-07feat: supply source file name for functions filesLars Wirzenius1-3/+19
2020-06-06fix: report name of missing bindings or functions file in error msgLars Wirzenius1-2/+4
2020-05-20feat!: allow multiple bindings and functions filesLars Wirzenius1-5/+5
2020-05-09Change: use a base directory for relative pathsLars Wirzenius1-1/+1
2020-04-22Refactor: move code generation logic to src/codegen.rsLars Wirzenius1-5/+80
2020-01-01Add: codegen.rs moduleLars Wirzenius1-0/+8