Skip to content

Commit

Permalink
Add cargo-public-api test that fails if public API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BBaoVanC committed Sep 22, 2024
1 parent 34d0ccf commit 0960474
Show file tree
Hide file tree
Showing 5 changed files with 852 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Remove unnecessary allow(unused_variables) in `views::display::string_is_true`
- Replace it with an underscore expression

#### Testing

- Add `cargo-public-api` test that fails if public API changes

## [v0.2.10] - 2024-08-07

- Upgrade dependencies
Expand Down
124 changes: 124 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions bobashare/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ tokio = { version = "1.23.1", features = ["full"] }
tracing = "0.1.36"

[dev-dependencies]
expect-test = "1.5.0"
pretty_assertions = "1.3.0"
public-api = "0.38.0"
rustdoc-json = "0.9.2"
rustup-toolchain = "0.1.7"
Loading

0 comments on commit 0960474

Please sign in to comment.