riker-rs / riker

Easily build efficient, highly concurrent and resilient applications. An Actor Framework for Rust.
https://riker.rs
MIT License
1.02k stars 69 forks source link

Retain generics when using actor macro #124

Closed hardliner66 closed 4 years ago

hardliner66 commented 4 years ago

Fixes #121 Added a generic struct to riker-macros test Additionally I added riker as a dev dependency to riker-macros, in order to re-use the types inside the tests instead of duplicating type definitions

leenozara commented 4 years ago

Very nice! I can't recall why I chose to duplicate the types instead of using the dev dependency.

@hardliner66 btw looks like you need to pre-commit.

hardliner66 commented 4 years ago

I installed pre-commit and ran rustfmt. Should be good now.