Skip to content

Commit 8bd08ea

Browse files
authored
feat(json): Split out into its own crate (#94)
This is mainly misc cleanup
2 parents c15e345 + fa208ba commit 8bd08ea

19 files changed

Lines changed: 766 additions & 106 deletions

File tree

Cargo.lock

Lines changed: 124 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/libtest-json/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Change Log
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/).
6+
7+
<!-- next-header -->
8+
## [Unreleased] - ReleaseDate
9+
10+
<!-- next-url -->
11+
[Unreleased]: https://github.com/rust-cli/argfile/compare/c96ef27899b410f9f154183989d4ccf60af27da6...HEAD

crates/libtest-json/Cargo.toml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
[package]
2+
name = "libtest-json"
3+
version = "0.1.0"
4+
description = "Definition of the json output for libtest"
5+
categories = ["development-tools::testing"]
6+
keywords = ["libtest"]
7+
repository.workspace = true
8+
license.workspace = true
9+
edition.workspace = true
10+
rust-version.workspace = true
11+
include.workspace = true
12+
13+
[package.metadata.docs.rs]
14+
all-features = true
15+
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
16+
17+
[package.metadata.release]
18+
pre-release-replacements = [
19+
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
20+
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
21+
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
22+
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
23+
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/epage/pytest-rs/compare/{{tag_name}}...HEAD", exactly=1},
24+
]
25+
26+
[features]
27+
default = []
28+
serde = ["dep:serde"]
29+
unstable-schema = ["serde", "dep:schemars", "dep:serde_json"]
30+
31+
[dependencies]
32+
serde = { version = "1.0.160", features = ["derive"], optional = true }
33+
serde_json = { version = "1.0.96", optional = true }
34+
schemars = { version = "1.0.0-alpha.17", features = ["preserve_order", "semver1"], optional = true }
35+
36+
[dev-dependencies]
37+
snapbox = "0.6.21"
38+
39+
[lints]
40+
workspace = true

0 commit comments

Comments
 (0)