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