Repository navigation
Releases
Releases · wiggels/blockdev
v0.6.2
v0.6.1
Added
- Add uuid, partuuid, fstype, label, partlabel, wwn, serial, model
Fixed
- Clippy assigning_clones on the model trim
- Trim the space padded model string from ID_MODEL_ENC
- Clippy assigning_clones in the equivalence test
Performance
- Gate identifier lookups on the dir listing, prefer unmangled model
v0.6.0
Added
- Add uuid, partuuid, fstype, label, partlabel, wwn, serial, model
Fixed
- Clippy assigning_clones on the model trim
- Trim the space padded model string from ID_MODEL_ENC
- Clippy assigning_clones in the equivalence test
Performance
- Gate identifier lookups on the dir listing, prefer unmangled model
v0.5.0
Added
- [breaking] Walk
/sysand/procdirectly.get_devices()no longer spawnslsblkor parses JSON; it reads the same sysfs fileslsblkdoes, matches its output, and is several times faster. Zero runtime dependencies. get_devices_at(sysroot), the equivalent oflsblk --sysroot, for bind-mounted host trees and tests.- Optional
serdefeature providingSerialize/Deserializeon every type;MajMinas themajor:minorstring. DeviceTypeimplements an infallibleFromStrand isCopy.
Changed
- [breaking]
BlockDevices.blockdevicesrenamed todevices. - [breaking]
BlockDevice.childrenisVec<BlockDevice>instead ofOption<Vec<BlockDevice>>. - [breaking]
BlockDevice.mountpointsisVec<String>instead ofVec<Option<String>>; empty when unmounted. - [breaking]
BlockDevErroris#[non_exhaustive]with a singleIo { path, source }variant.
Removed
- [breaking]
parse_lsblk,BlockDevice::children_iter,BlockDevice::active_mountpoints,BlockDevice::active_mountpoints_iter, and theserde_jsonandthiserrordependencies.
Documentation
docs/sysfs-backend.md: why there is no lsblk C API to call, what the walk reads, and what it does not cover.
Fixed
- Satisfy clippy 1.98 map_unwrap_or on the slaves check
v0.4.2
Documentation
- Keep perf section neutral until the parser changes land
- Add CONTRIBUTING, ci badges, perf and regression sections
Tests
- Add perf budgets, criterion 0.8 with throughput, msrv 1.85
Bench
- Add end to end get_devices benchmark
Build
- Switch release flow to release-plz
v0.4.1
Documentation
- Keep perf section neutral until the parser changes land
- Add CONTRIBUTING, ci badges, perf and regression sections
Tests
- Add perf budgets, criterion 0.8 with throughput, msrv 1.85
Bench
- Add end to end get_devices benchmark
Build
- Switch release flow to release-plz