Skip to content

Releases: camino-rs/camino

camino 1.1.3

22 Feb 05:23

Choose a tag to compare

Added

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

camino 1.1.2

08 Jan 01:31

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

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

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

Choose a tag to compare

Fixed

  • Documentation fixes.

camino 1.0.8

10 May 01:09

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

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.)

camino 1.0.5

27 Jul 17:46

Choose a tag to compare

camino 1.0.4

19 Mar 15:47

Choose a tag to compare

camino 1.0.3

11 Mar 21:50

Choose a tag to compare