Skip to content

Commit 583520c

Browse files
committed
feat: implement destination-side ratchet lifecycle for single destinations
1 parent 3b8e384 commit 583520c

File tree

3 files changed

+244
-68
lines changed

3 files changed

+244
-68
lines changed

examples/tcp_client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async fn main() {
2222

2323
let id = PrivateIdentity::new_from_rand(OsRng);
2424

25-
let destination = SingleInputDestination::new(id, DestinationName::new("example", "app"));
25+
let mut destination = SingleInputDestination::new(id, DestinationName::new("example", "app"));
2626

2727
tokio::time::sleep(Duration::from_secs(3)).await;
2828

0 commit comments

Comments
 (0)