midi2-dev / bl-midi2-rs

Ergonomic, versatile, strong types wrapping MIDI 2.0 message data.
https://crates.io/crates/midi2
Apache License 2.0
18 stars 2 forks source link

Use the new module naming convension instead of old-skool mod.rs files #17

Closed BenLeadbetter closed 1 month ago

BenLeadbetter commented 1 month ago

We use the old-skool rust submodule naming convension of using mod.rs files. Recommended best practice is to use the new alternative naming scheme.

Note: Prior to rustc 1.30, using mod.rs files was the way to load a module with nested children. It is encouraged to use the new naming convention as it is more consistent, and avoids having many files named mod.rs within a project.

More info: