Skip to content

Commit

Permalink
chore(grpc-mock): make Times part of public API (#1945)
Browse files Browse the repository at this point in the history
## Summary
Makes the `astria_grpc_mock::mock::Times` part of the public API.

## Background
Having `Times` (which itself is wrapper around `u64` or one of the Rust
`Range*` types) part of the public API is useful when writing
abstraction tests.

## Changes
- Export `astria_grpc_mock::mock::Times` at the root of the crate.

## Testing
Not applicable. The type is now available.

## Changelogs
Changelogs updated.
  • Loading branch information
SuperFluffy authored Feb 4, 2025
1 parent 77d0217 commit da02edd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/astria-grpc-mock/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Export `Times` at the root of the crate. [#1945](https://github.com/astriaorg/astria/pull/1945)
- Initial release.
1 change: 1 addition & 0 deletions crates/astria-grpc-mock/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ mod verification;
pub use mock::{
Match,
Mock,
Times,
};
pub use mock_server::{
MockGuard,
Expand Down

0 comments on commit da02edd

Please sign in to comment.