1
Fork 0

Prepare for publishing to crates.io #13

Manually merged
lucas merged 3 commits from feat/prepare-publish into master 2024-03-21 13:52:11 +01:00
3 changed files with 34 additions and 24 deletions
Showing only changes of commit 1b3d16c479 - Show all commits

View file

@ -1,65 +1,67 @@
= Changelog
:toc:
:toclevels: 1
:idprefix:
:idseparator: -
# Changelog
== [Unreleased]
<!-- next-header -->
== [v1.1.0] - 2024-03-21
## [Unreleased] - ReleaseDate
=== Added
### Added
- publishing to [crates.io](https://crates.io)
## [v1.1.0] - 2024-03-21
### Added
- implement serializing into generic `io::Write`
=== Fixed
### Fixed
- fix parsing CRLF
== [v1.0.0] - 2023-03-10
## [v1.0.0] - 2023-03-10
=== Added
### Added
- implement literal strings
=== Fixed
### Fixed
- fix serializing strings containing `:`
- fix serializing certain escaped characters
== [v0.2.4] - 2023-03-01
## [v0.2.4] - 2023-03-01
=== Fixed
### Fixed
- fix incorrect parsing of unquoted strings
== [v0.2.3] - 2023-02-24
## [v0.2.3] - 2023-02-24
=== Fixed
### Fixed
- support backslashes in delimited strings
== [v0.2.2] - 2023-02-18
## [v0.2.2] - 2023-02-18
=== Fixed
### Fixed
- fix deserialization failing on arrays and objects in some cases
== [v0.2.1] - 2022-12-28
## [v0.2.1] - 2022-12-28
=== Fixed
### Fixed
- fix serializing Unicode
== [v0.2.0] - 2022-11-25
## [v0.2.0] - 2022-11-25
=== Added
### Added
* parsing & deserialization
== [v0.1.0] - 2022-11-18
## [v0.1.0] - 2022-11-18
=== Added
### Added
* initial release
* serialization

View file

@ -18,6 +18,9 @@ doc:
serve-doc port='8000': doc
python3 -m http.server {{port}} --directory target/doc
release version execute='':
cargo release --sign --allow-branch master {{ if execute != "" { '-x' } else { '' } }} {{version}}
coverage *ARGS:
RUSTFLAGS="-C instrument-coverage" cargo test --tests {{ARGS}} || true
cargo profdata -- merge -sparse default*.profraw -o {{project}}.profdata

5
release.toml Normal file
View file

@ -0,0 +1,5 @@
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}"},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [Unreleased] - ReleaseDate", exactly=1},
]