Technically a breaking change for architectures where size_of::<usize>() > size_of::<u64>(), but that strikes me as extremely unlikely.
This change is important because most file seek offsets, even on older architectures with word sizes smaller than u32, accept a u64. In particular, Rust's own std acknowledges this. So, we're actually going against prior art in Rust by using a usize.
Soft dependency on #93.Technically a breaking change for architectures where
size_of::<usize>() > size_of::<u64>()
, but that strikes me as extremely unlikely.This change is important because most file seek offsets, even on older architectures with word sizes smaller than
u32
, accept au64
. In particular, Rust's ownstd
acknowledges this. So, we're actually going against prior art in Rust by using ausize
.