Closed Patiga closed 9 months ago
Could you move it behind a feature flag instead?
Sure, also reworded the commit message to match the change. The feature is also turned on by default, for convenience and backwards compatibility.
Could you also make it non-default? I don't like default features, and backcompat isn't really required here, I think.
The datafile
module relied on the trait implementation for File
. I activated the feature there. Or would that've been a reason for backwards compatibility?
The
datafile
module relied on the trait implementation forFile
. I activated the feature there.
Thanks.
Or would that've been a reason for backwards compatibility?
No.
Uses
file_offset::FileExt::read_offset
, which is only available for unix, windows. This change allows building for WebAssembly, by removing the implementation conditionally. Moved someuse
s for no warnings in the wasm build.