summaryrefslogtreecommitdiff
path: root/Cargo.toml
AgeCommit message (Collapse)AuthorFilesLines
2023-10-29chore: Update MSRV everywhere to 1.70Daniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2023-08-27(release): Prepare 0.9.0 releaseDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2023-06-14version: Update versions to 0.8.0Daniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2023-04-30chore: prepare release 0.7.1Lars Wirzenius1-1/+1
Sponsored-by: author
2023-04-25chore: bump dependency on roadmap crateLars Wirzenius1-1/+1
roadmap 0.5.0 drops the binary it used to create. This means we also don't need an old version of clap and various other stuff. Sponsored-by: author
2023-04-10(release) Prepare 0.7.0 releaseDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2023-04-10(chore) cargo update -p tera --precise=1.18.1Daniel Silverstone1-1/+1
Updating crates.io index Updating humansize v1.1.1 -> v2.1.3 Adding libm v0.2.6 Updating tera v1.17.1 -> v1.18.1 Updating thread_local v1.1.7 -> v1.1.4 Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2023-04-10(chore): Update base64, env_logger, and serde_yamlDaniel Silverstone1-3/+3
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2023-04-10(chore): Update rust-version to 1.63 in all cratesDaniel Silverstone1-0/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2023-04-10(chore): Update edition to 2021 across cratesDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2023-04-08chore: drop Pandoc stuff as a Rust depenendencyLars Wirzenius1-8/+2
Sponsored-by: author
2022-12-01(chore): Update to clap4Daniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-11-13(release): Prepare 0.6.0 releaseDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-10-09chore: drop unused pretty_env_logger from Cargo.tomlLars Wirzenius1-1/+0
Sponsored-by: author
2022-09-13chore: prepare release 0.5.0Lars Wirzenius1-4/+4
The os_str_bytes crate dependency is kept at the 6.1.0 version so that we don't have to bump the MSRV version. Likewise, the time crate is kept at 0.3.9, and serde_yaml at 0.8.26. Sponsored-by: author
2022-09-05(Cargo.toml): Fix homepage URL everywhereDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-07-29fix: prepare new release to bump dependency on roadmapLars Wirzenius1-2/+2
roadmap version 0.4.4 is needed to not drag in structopt. The old version of 0.4 wasn't enough. Sponsored-by: author
2022-07-28chore: prepare release 0.4.2 of all cratesLars Wirzenius1-1/+1
Sponsored-by: author
2022-05-14(cli): Change from structopt to clap3-deriveDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(chore): Update everything to 0.4.0Daniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(chore): Update serde-aux dependency to remove chronoDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(chore): Update tera dependency to remove chronoDaniel Silverstone1-1/+3
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-03-24feat! change logging to use log/env_logger instead of tracingLars Wirzenius1-3/+3
We don't use async in Subplot, and the mental overhead of learning tracing and the code overhead to add support for logging custom values (implementing the Value trait for Subplot internal types) does not seem worthwhile. Sponsored-by: author
2022-03-12(chore): Update various crates a bit moreDaniel Silverstone1-6/+6
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-03-12docs: add example of minimal subplot using Rust step functionsLars Wirzenius1-1/+1
Sponsored-by: author
2022-02-02chore: rewrite use of chorno crate to use just time crateLars Wirzenius1-15/+15
Also, sort the dependency list in Cargo.toml so it's tidy. Sponsored-by: author
2021-11-23chore: bump dependency on roadmap to MIT-0 versionLars Wirzenius1-1/+1
Sponsored-by: author
2021-11-16chore: update crate versionsLars Wirzenius1-1/+1
Sponsored-by: author
2021-11-10chore: change licence to MIT-0Lars Wirzenius1-1/+1
We've decided to simplify the Subplot licensing situation by changing the licence to MIT-0 from the GPL. See https://gitlab.com/subplot/subplot/-/issues/229 for agreements from everyone involved. Sponsored-by: author
2021-10-21chore: update version numbers for cratesLars Wirzenius1-1/+1
Sponsored-by: author
2021-10-13feat: add crate subplot-build for using Subplot from build.rsLars Wirzenius1-1/+1
Make it easy to generate test code from a subplot in another project's `build.rs` script. Move the code to load documents and generate test code from src/bin/subplot.rs and src/bin/cli/mod.rs to src/doc.rs so it can be used without using the subplot executable. Make the add_search_path function public so it can be used outside its module. The subplot executable arranged for the directory where the markdown input file resides to be added to the search path via another way. Sponsored-by: pep.foundation
2021-09-16feat! parse Markdown input with pull-cmark instead of PandocLars Wirzenius1-1/+2
This is a first step towards being able to use Subplot codegen from a project's build.rs, and with only pure-Rust build dependencies. Replace Pandoc for parsing Markdown input with pulldown-cmark. This is mostly a drop-in replacement, but not entirely. The YAML parsing is more strict now. Note that this is a breaking change. Some subplots that used to work, and still work with docgen, no longer work with the new parser. Major differences are: * Only specific fields are supported. All the Markdown files in the Subplot source tree work. If anything else is needed, and it likely is, the new parser needs to be extended. * The bindings, functions, classes, and bibliography fields MUST be lists of strings. A single string value will no longer work. Sponsored-by: pep.foundation
2021-09-05cargo.toml: Set default-run target to subplot binaryDaniel Silverstone1-0/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-09-04chore: Enable tracingDaniel Silverstone1-0/+3
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-08-07chore: update crate version number and dependencies, for releaseLars Wirzenius1-2/+2
Update git-testament to depend on current version.
2021-07-11release: Subplot version 0.2.1Lars Wirzenius1-1/+1
Sponsored-by: author
2021-06-12chore: update top level version to 0.2.0Daniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-06-12chore: update Cargo.tomls for releaseDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-05-01pandoc_ast: Support multiple versions of pandoc_astDaniel Silverstone1-1/+7
In order to cope with multiple versions of Pandoc, we need to support various pandoc_ast versions. This patch introduces support for both 0.8 and 0.7, defaulting to the older 0.7. If you use Subplot on a system with a much newer pandoc, then switch to the 0.8 variant to cope. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-04-23version: Add support for git-testament derived version infoDaniel Silverstone1-0/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-02-13Cargo.{lock,toml}: Update pandoc_ast and serde-auxDaniel Silverstone1-2/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-01-10resource: Support embedded the resourcesDaniel Silverstone1-0/+4
We detect the content of the share/ tree at build time and embed files into it. Symbolic links to files will be followed and the target will be embedded. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-12-21chore: Wire new libs into workspaceDaniel Silverstone1-0/+3
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-12-18bindings: Refactor kinds into a lazy static for reuseDaniel Silverstone1-0/+1
We want to use kind patterns elsewhere so refactoring them into a lazy static seemed sensible. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-11-21chore: Update serde-auxDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-11-21chore: Update base64Daniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-11-04graphmarkup: Add pikchr rendererDaniel Silverstone1-0/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-06-20feat: Ensure keys in bindings files are case insensitiveDaniel Silverstone1-0/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-08chore: Update to pandoc 0.8.0 releaseDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-04-11Change: docgen to not change output needlesslyLars Wirzenius1-0/+1
If the output file wouldn't change, then don't update it. This is imperfect, since it still needs to produce the output file, so it can spend a bit of processing power to make no changes. But the alternative would be to make needless changes.