Skip to content

Commit

Permalink
Version 0.10.2: LocalRef now implements clone.
Browse files Browse the repository at this point in the history
  • Loading branch information
wireboy5 committed Nov 4, 2024
1 parent 1322764 commit 2c0f2f2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.10.2 -- 2024-11-3

Version 0.10.2 implements `Clone` for `LocalRef`s.

## 0.10.1 -- 2024-11-2

Version 0.10.1 adds support for naming actors, which can be useful when communicating over a network where actor id's may not be guarenteed to be consistent.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion fluxion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ homepage = "https://fluxion.peperworx.com/"
categories = ["concurrency"]
keywords = ["actor", "distributed", "async", "fluxion"]
readme = "./README.md"
version = "0.10.1"
version = "0.10.2"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion fluxion/src/references.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub trait MessageSender<M: Message>: Send + Sync + 'static {
async fn send(&self, message: M) -> M::Result;
}


#[derive(Clone)]
pub struct LocalRef<A: Actor, D: Delegate>(pub(crate) slacktor::ActorHandle<ActorWrapper<A, D>>, pub(crate) u64);

impl<A: Actor, D: Delegate> LocalRef<A, D> {
Expand Down

0 comments on commit 2c0f2f2

Please sign in to comment.