Skip to content

Commit

Permalink
Add support for TypedPath and equivalent enums (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
chipsenkbeil authored Sep 28, 2023
1 parent bcab117 commit 8290749
Show file tree
Hide file tree
Showing 4 changed files with 453 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.5.0] - 2023-09-28

* Add `TypedPath`, `Utf8TypedPath`, `TypedPathBuf`, and `Utf8TypedPathBuf`
enums to support code that can operate on both Windows and Unix paths

## [0.4.2] - 2023-09-19

* Add `From<&Utf8NativePath>` for `std::path::PathBuf`
Expand Down Expand Up @@ -75,7 +80,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Initial release of the library!

[Unreleased]: https://github.com/chipsenkbeil/typed-path/compare/v0.4.2...HEAD
[Unreleased]: https://github.com/chipsenkbeil/typed-path/compare/v0.5.0...HEAD
[0.5.0]: https://github.com/chipsenkbeil/typed-path/compare/v0.4.2...v0.5.0
[0.4.2]: https://github.com/chipsenkbeil/typed-path/compare/v0.4.1...v0.4.2
[0.4.1]: https://github.com/chipsenkbeil/typed-path/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/chipsenkbeil/typed-path/compare/v0.3.2...v0.4.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "typed-path"
description = "Provides typed variants of Path and PathBuf for Unix and Windows"
version = "0.4.2"
version = "0.5.0"
edition = "2021"
authors = ["Chip Senkbeil <[email protected]>"]
categories = ["development-tools", "filesystem", "os"]
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pub struct ReadmeDoctests;
mod common;
mod convert;
pub mod native;
mod typed;
pub mod unix;
pub mod utils;
pub mod windows;
Expand All @@ -24,6 +25,7 @@ pub use common::{
};
pub use convert::TryAsRef;
pub use native::{NativePath, NativePathBuf, Utf8NativePath, Utf8NativePathBuf};
pub use typed::{TypedPath, TypedPathBuf, Utf8TypedPath, Utf8TypedPathBuf};
pub use unix::{
UnixEncoding, UnixPath, UnixPathBuf, Utf8UnixEncoding, Utf8UnixPath, Utf8UnixPathBuf,
};
Expand Down
Loading

0 comments on commit 8290749

Please sign in to comment.