I'm creating a project (a lib) for communicating over a bus-like system. In the project I have two example binaries, a producer and a consumer.
examples ├── consumer │ └── main.rs ├── common │ └── lib.rs └── producer └── main.rs
Is there any way I can make the "common" lib a library that is shared between consumer and producer?
To be clear, "common" is just a lib for the examples.