I'm having an issue where I have the state machine defined in a separate file: main.rs <--- I want to use it here protocol/ protocol/client_sm.rs <---- sm! macro here. However when I attempt to use it I get an error due to the macro's definition of everything as "pub(crate)". I think this is an example of that: https://github.com/rustic-games/sm/blob/749d4df59f095327bad5836ca5594e98b3686481/sm_macro/src/sm/machine.rs#L17 Would you be open to a pull request moving it to just "pub"? I'm also VERY new to rust so if I'm doing something wrong, please tell me! Thank you!
I'm having an issue where I have the state machine defined in a separate file:
main.rs <--- I want to use it here
protocol/
protocol/client_sm.rs <---- sm! macro here.
However when I attempt to use it I get an error due to the macro's definition of everything as "pub(crate)".
I think this is an example of that:
sm/sm_macro/src/sm/machine.rs
Line 17 in 749d4df
Would you be open to a pull request moving it to just "pub"?
I'm also VERY new to rust so if I'm doing something wrong, please tell me!
Thank you!