Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Would it be reasonable to change pub(crate) to pub? #6

@chotchki

Description

@chotchki

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:

pub(crate) struct Machines(Vec<Machine>);

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions