Skip to content

Releases: camino-rs/camino

camino 1.1.9

18 Aug 02:03
Compare
Choose a tag to compare

Added

  • Top-level function absolute_utf8 wraps std::path::absolute, converting paths to UTF-8.
    Requires Rust 1.79 and above.

camino 1.1.8

15 Aug 20:31
Compare
Choose a tag to compare

Changed

  • Use OsStr::as_encoded_bytes on Rust 1.74 and above, making conversions from OsStr to str virtually free (#93). Thanks @h-a-n-a for your first contribution!

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.