split the `lib.rs` main file into submodules for easier navigation and separation of concerns: ``` lib.rs rawsmallvec.rs taggedlen.rs serde.rs drain.rs extractif.rs ... ... ``` the modules should have clear API boundaries, no ad-hoc splitting. e.g.: - another type with its methods: `TaggedLen`, `RawSmallVec` - features: `serde`, `specialization` key rule: a file has one purpose and touches one part of the code key rule: if you have to make a `mod {/*...*/}` item, then it probably should be its own file
Activity
alejandro-vaz commentedon Aug 21, 2026
ideally this should be done after merging #387
[-]split `lib.rs` into modules[/-][+]refactor `lib.rs` into modules[/+]lib.rsmodularization #478CollectionAllocErr#513comparisons.rsandconversions.rs#526assert_failedpanic calls #551mod spec_traitsintospecialization.rs#571