I would like some guidance setting up a project and modules.
I would like to have a library that supplies a small set of types, such as Context, Request, Identifier, ... I prefer:
- Single file for each type (context.rs, request.rs, identifier.rs)
- Access each type with "use kernel::Context", "use kernel::Request", etc.
I know how to accomplish this if I put all the types in a single file; I am stuck on how to have each type in its own file.