]> git.proxmox.com Git - rustc.git/blame - vendor/fs-err/CHANGELOG.md
New upstream version 1.65.0+dfsg1
[rustc.git] / vendor / fs-err / CHANGELOG.md
CommitLineData
94222f64
XL
1# fs-err Changelog\r
2\r
f2b60f7d
FG
3## 2.8.1\r
4\r
5* Fixed docs.rs build\r
6\r
7## 2.8.0\r
8\r
9* 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 the `io_safety` feature flag. ([#39](https://github.com/andrewhickman/fs-err/pull/39))\r
10\r
11## 2.7.0\r
12\r
13* Implement `From<fs_err::File> for std::fs::File` ([#38](https://github.com/andrewhickman/fs-err/pull/38))\r
14\r
15## 2.6.0\r
16\r
17* Added [`File::into_parts`](https://docs.rs/fs-err/2.6.0/fs_err/struct.File.html#method.into_parts) and [`File::file_mut`](https://docs.rs/fs-err/2.6.0/fs_err/struct.File.html#method.file_mut) to provide more access to the underlying `std::fs::File`.\r
18* Fixed some typos in documention ([#33](https://github.com/andrewhickman/fs-err/pull/33))\r
19\r
94222f64
XL
20## 2.5.0\r
21* Added `symlink` for unix platforms\r
22* Added `symlink_file` and `symlink_dir` for windows\r
23* Implemented os-specific extension traits for `File`\r
24 - `std::os::unix::io::{AsRawFd, IntoRawFd}`\r
25 - `std::os::windows::io::{AsRawHandle, IntoRawHandle}`\r
26 - Added trait wrappers for `std::os::{unix, windows}::fs::FileExt` and implemented them for `fs_err::File`\r
27* Implemented os-specific extension traits for `OpenOptions`\r
28 - Added trait wrappers for `std::os::{unix, windows}::fs::OpenOptionsExt` and implemented them for `fs_err::OpenOptions`\r
29* 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.\r
30* Reduced trait bounds on generics from `AsRef<Path> + Into<PathBuf>` to either `AsRef<Path>` or `Into<PathBuf>`, making the functions more general.\r
f2b60f7d 31\r
94222f64
XL
32## 2.4.0\r
33* Added `canonicalize`, `hard link`, `read_link`, `rename`, `symlink_metadata` and `soft_link`. ([#25](https://github.com/andrewhickman/fs-err/pull/25))\r
34* Added aliases to `std::path::Path` via extension trait ([#26](https://github.com/andrewhickman/fs-err/pull/26))\r
35* Added `OpenOptions` ([#27](https://github.com/andrewhickman/fs-err/pull/27))\r
36* Added `set_permissions` ([#28](https://github.com/andrewhickman/fs-err/pull/28))\r
37\r
38## 2.3.0\r
39* Added `create_dir` and `create_dir_all`. ([#19](https://github.com/andrewhickman/fs-err/pull/19))\r
40* Added `remove_file`, `remove_dir`, and `remove_dir_all`. ([#16](https://github.com/andrewhickman/fs-err/pull/16))\r
41\r
42## 2.2.0\r
43* Added `metadata`. ([#15](https://github.com/andrewhickman/fs-err/pull/15))\r
44\r
45## 2.1.0\r
46* Updated crate-level documentation. ([#8](https://github.com/andrewhickman/fs-err/pull/8))\r
47* Added `read_dir`, `ReadDir`, and `DirEntry`. ([#9](https://github.com/andrewhickman/fs-err/pull/9))\r
48\r
49## 2.0.1 (2020-02-22)\r
50* Added `copy`. ([#7](https://github.com/andrewhickman/fs-err/pull/7))\r
51\r
52## 2.0.0 (2020-02-19)\r
53* Removed custom error type in favor of `std::io::Error`. ([#2](https://github.com/andrewhickman/fs-err/pull/2))\r
54\r
55## 1.0.1 (2020-02-15)\r
56* Fixed bad documentation link in `Cargo.toml`.\r
57\r
58## 1.0.0 (2020-02-15)\r
59* No changes from 0.1.2.\r
60\r
61## 0.1.2 (2020-02-10)\r
62* Added `Error::cause` implementation for `fs_err::Error`.\r
63\r
64## 0.1.1 (2020-02-05)\r
65* Added wrappers for `std::fs::*` functions.\r
66\r
67## 0.1.0 (2020-02-02)\r
68* Initial release, containing a wrapper around `std::fs::File`.\r