Releases: camino-rs/camino
Releases · camino-rs/camino
camino 1.1.9
Added
- Top-level function
absolute_utf8
wrapsstd::path::absolute
, converting paths to UTF-8.
Requires Rust 1.79 and above.
camino 1.1.8
camino 1.1.7
Fixed
- Resolve
unexpected_cfg
warnings.
camino 1.1.6
Added
- Implement
Deserialize
forBox<Utf8Path>
.
camino 1.1.4
Added
- Implement
DerefMut
forUtf8PathBuf
on Rust 1.68 and above.
camino 1.1.3
Added
- New method
Utf8DirEntry::into_path
to return an ownedUtf8PathBuf
.
camino 1.1.2
Added
- New convenience methods [
FromPathBufError::into_io_error
] and
[FromPathError::into_io_error
].
camino 1.1.1
Fixed
- Fixed a build regression on older nightlies in the 1.63 series
(#22). - Documentation fixes.
camino 1.1.0
Added
- New methods, mirroring those in recent versions of Rust:
Utf8Path::try_exists
checks whether a path exists. Note that whilestd::path::Path
only provides this method for Rust 1.58 and above,camino
backfills the method for all Rust versions it supports.Utf8PathBuf::shrink_to
shrinks aUtf8PathBuf
to a given size. This was added in, and is gated on, Rust 1.56+.Utf8PathBuf::try_reserve
andUtf8PathBuf::try_reserve_exact
implement fallible allocations. These were added in, and are gated on, Rust 1.63+.
- A number of
#[must_use]
annotations to APIs, mirroring those added toPath
andPathBuf
in recent versions of Rust. The minor version bump is due to this change.
camino 1.0.9
Fixed
- Documentation fixes.