Skip to content

Releases: camino-rs/camino

camino 1.1.7

14 May 20:26
Compare
Choose a tag to compare

Fixed

  • Resolve unexpected_cfg warnings.

camino 1.1.6

12 Jul 05:19
Compare
Choose a tag to compare

Added

  • Implement Deserialize for Box<Utf8Path>.

camino 1.1.4

10 Mar 01:14
Compare
Choose a tag to compare

Added

  • Implement DerefMut for Utf8PathBuf on Rust 1.68 and above.

camino 1.1.3

22 Feb 05:23
Compare
Choose a tag to compare

Added

  • New method Utf8DirEntry::into_path to return an owned Utf8PathBuf.

camino 1.1.2

08 Jan 01:31
Compare
Choose a tag to compare

Added

  • New convenience methods [FromPathBufError::into_io_error] and
    [FromPathError::into_io_error].

camino 1.1.1

12 Aug 18:54
Compare
Choose a tag to compare

Fixed

  • Fixed a build regression on older nightlies in the 1.63 series
    (#22).
  • Documentation fixes.

camino 1.1.0

11 Aug 20:54
Compare
Choose a tag to compare

Added

  • New methods, mirroring those in recent versions of Rust:
    • Utf8Path::try_exists checks whether a path exists. Note that while std::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 a Utf8PathBuf to a given size. This was added in, and is gated on, Rust 1.56+.
    • Utf8PathBuf::try_reserve and Utf8PathBuf::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 to Path and PathBuf in recent versions of Rust. The minor version bump is due to this change.

camino 1.0.9

20 May 01:37
Compare
Choose a tag to compare

Fixed

  • Documentation fixes.

camino 1.0.8

10 May 01:09
Compare
Choose a tag to compare

Added

  • New methods canonicalize_utf8, read_link_utf8 and read_dir_utf8 return Utf8PathBufs, erroring out if a resulting path is not valid UTF-8.
  • New feature proptest1 introduces proptest Arbitrary impls for Utf8PathBuf and
    Box<Utf8Path> (#18, thanks mcronce for your first contribution!)

camino 1.0.7

17 Jan 01:21
Compare
Choose a tag to compare

Added

  • Utf8Path::is_symlink checks whether a path is a symlink. Note that while std::path::Path only
    provides this method for version 1.58 and above, camino polyfills the method for all Rust versions
    it supports.

Changed

  • Update repository links to new location camino-rs/camino.
  • Update structopt example to clap 3's builtin derive feature.
    (camino continues to work with structopt as before.)