Skip to content

Commit 8a4d9e2

Browse files
dgrrmatheus23
andauthored
fix: pub mod actor exposing SyncHandle (#52)
## Description publishes the `actor` mod exposing SyncHandle, which is not exposed thus it renders it unusable for users Check https://docs.rs/iroh-docs/latest/iroh_docs/engine/struct.Engine.html#structfield.sync ## Breaking Changes There should be no breaking changes. ## Notes & open questions None. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [x] All breaking changes documented. Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com>
1 parent cea3ebe commit 8a4d9e2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/actor.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ pub struct OpenOpts {
238238
/// Optionally subscribe to replica events.
239239
pub subscribe: Option<async_channel::Sender<Event>>,
240240
}
241+
241242
impl OpenOpts {
242243
/// Set sync state to true.
243244
pub fn sync(mut self) -> Self {

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ mod ticket;
4242

4343
pub mod engine;
4444

45-
mod actor;
45+
pub mod actor;
4646
pub mod api;
4747
pub mod store;
4848
pub mod sync;

0 commit comments

Comments
 (0)