3.3 KiB
3.3 KiB
fs-err Changelog
2.9.0
2.8.1
- Fixed docs.rs build
2.8.0
- Implement I/O safety traits (
AsFd/AsHandle,Into<OwnedFd>/Into<OwnedHandle>) for file. This feature requires Rust 1.63 or later and is gated behind theio_safetyfeature flag. (#39)
2.7.0
- Implement
From<fs_err::File> for std::fs::File(#38)
2.6.0
- Added
File::into_partsandFile::file_mutto provide more access to the underlyingstd::fs::File. - Fixed some typos in documention (#33)
2.5.0
- Added
symlinkfor unix platforms - Added
symlink_fileandsymlink_dirfor windows - Implemented os-specific extension traits for
Filestd::os::unix::io::{AsRawFd, IntoRawFd}std::os::windows::io::{AsRawHandle, IntoRawHandle}- Added trait wrappers for
std::os::{unix, windows}::fs::FileExtand implemented them forfs_err::File
- Implemented os-specific extension traits for
OpenOptions- Added trait wrappers for
std::os::{unix, windows}::fs::OpenOptionsExtand implemented them forfs_err::OpenOptions
- Added trait wrappers for
- Improved compile times by converting arguments early and forwarding only a small number of types internally. There will be a slight performance hit only in the error case.
- Reduced trait bounds on generics from
AsRef<Path> + Into<PathBuf>to eitherAsRef<Path>orInto<PathBuf>, making the functions more general.
2.4.0
- Added
canonicalize,hard link,read_link,rename,symlink_metadataandsoft_link. (#25) - Added aliases to
std::path::Pathvia extension trait (#26) - Added
OpenOptions(#27) - Added
set_permissions(#28)
2.3.0
2.2.0
- Added
metadata. (#15)
2.1.0
2.0.1 (2020-02-22)
- Added
copy. (#7)
2.0.0 (2020-02-19)
- Removed custom error type in favor of
std::io::Error. (#2)
1.0.1 (2020-02-15)
- Fixed bad documentation link in
Cargo.toml.
1.0.0 (2020-02-15)
- No changes from 0.1.2.
0.1.2 (2020-02-10)
- Added
Error::causeimplementation forfs_err::Error.
0.1.1 (2020-02-05)
- Added wrappers for
std::fs::*functions.
0.1.0 (2020-02-02)
- Initial release, containing a wrapper around
std::fs::File.