summaryrefslogtreecommitdiff
path: root/subplotlib-derive
AgeCommit message (Collapse)AuthorFilesLines
2023-11-11chore: Update from fehler to culpaDaniel Silverstone2-2/+2
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-08-12subplotlib-derive: Add support for location in step macroDaniel Silverstone1-2/+3
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-10(release) Prepare 0.7.0 releaseDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2023-04-10(chore): Update to syn 2 from syn 1Daniel Silverstone2-4/+4
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-02-11chore: use variables in Rust format stringsLars Wirzenius1-7/+1
Change this: format!("{}", foo) into this: format!("{foo}") Support for this feature was added in Rust 1.58 (see https://github.com/rust-lang/rust/releases/tag/1.58.0) and in 1.67 clippy suggests about this. Because the new style seems to be where the Rust ecosystem is going, I think Subplot should follow to avoid being needlessly different from most other projects. Sponsored-by: author
2022-11-13(release): Prepare 0.6.0 releaseDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-10-22(derive): Support steps with &Path argumentsDaniel Silverstone1-1/+29
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-09-13chore: prepare release 0.5.0Lars Wirzenius1-1/+1
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-1/+1
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-07-02(subplotlib-derive): use Write macro for cleaner string updateDaniel Silverstone1-1/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(chore): Update everything to 0.4.0Daniel Silverstone1-2/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-01(subplotlib-derive): Make the builder pass the step text in .build()Daniel Silverstone1-4/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-03-06(subplotlib-derive): Adjust attributes on steps for better diagnosticsDaniel Silverstone1-1/+2
Previously we allowed `unused` which while it also hid the dead_code warnings, it would prevent the compiler warning us about unusued Result objects and the like. Since we actually need test code to the be best code, instead selectively allow dead_code, and now deny the unused must_use values. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
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-09-04chore: Fix unnecessary borrow lintsDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-06-12chore: update Cargo.tomls for releaseDaniel Silverstone1-1/+10
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-05-28subplotlib-derive: Propagate documentation more cleanlyDaniel Silverstone1-2/+73
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-05-02chore: Fix up some clippy lintsDaniel Silverstone1-7/+8
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-12-29subplotlib-derive: Support additional context registrationDaniel Silverstone1-2/+26
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-12-28subplotlib-derive: Builder must be publicDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-12-28subplotlib: Rework contextelement to be able to register other elementsDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-12-26subplotlib: Force explicit registration of contextsDaniel Silverstone1-1/+15
In order to move toward scenario contexts being told about step entry/exit etc, require explicit registration of context types, in a way which can only be done before the scenario starts. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-12-21rust: Handle poison differently for cleanupsDaniel Silverstone1-2/+2
When cleanup functions are run, permit them to run with poisoned contexts. Cleanup functions will have to be resilient to this risk. If cleanup functions fail then the test will panic properly. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-12-21subplotlib: Support direct calling of other stepsDaniel Silverstone1-5/+43
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-12-21subplotlib: use state for contextDaniel Silverstone1-6/+6
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-12-21rust: Switch to a neater module based step function deriveDaniel Silverstone1-12/+10
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-12-20subplotlib-derive: Initial derive macrosDaniel Silverstone2-0/+315
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>