]> git.mikk.net Git - mtbl-rs/commit
Refactor, again (WIP)
authorChris Mikkelson <chris@mikk.net>
Wed, 16 Apr 2025 05:06:47 +0000 (00:06 -0500)
committerChris Mikkelson <chris@mikk.net>
Wed, 16 Apr 2025 05:16:00 +0000 (00:16 -0500)
commitfabaf7fef3b6aaa2eb88ee3e8f5e5879403ea162
tree6807e2ff5fb919619e9651c0edb0081fcc11a252
parent5aacb9efbdc293ab2a6580bbedd6cfc0ee6678e3
Refactor, again (WIP)

Break up some larger files into smaller chunks, also decouple Iter
and Iterator again, in favor of implementing IntoIterator for
Iter implementations.

Still a few remaining nits to work out -- the IntoIterator trait
isn't coming into scope where I expect it, so may need to back
off of `impl Iter` in favor of an associated type on Source which
requires IntoIterator.
19 files changed:
src/bin/mtbl_dump.rs
src/entry.rs
src/iter.rs [deleted file]
src/iter/dupmerge.rs [new file with mode: 0644]
src/iter/dupsort.rs [moved from src/dupsort.rs with 65% similarity]
src/iter/filter.rs [moved from src/filter.rs with 59% similarity]
src/iter/map.rs [moved from src/map.rs with 78% similarity]
src/iter/merger.rs [new file with mode: 0644]
src/iter/mod.rs [new file with mode: 0644]
src/iter/prefix.rs [new file with mode: 0644]
src/iter/range.rs [new file with mode: 0644]
src/lib.rs
src/merge.rs [deleted file]
src/merger.rs
src/reader/block.rs
src/reader/mod.rs
src/sorter.rs
src/source/adapters.rs [new file with mode: 0644]
src/source/mod.rs [moved from src/source.rs with 70% similarity]