Index: Cargo.toml ================================================================== --- Cargo.toml +++ Cargo.toml @@ -1,8 +1,8 @@ [package] name = "dupnamegen" -version = "0.1.0" +version = "0.1.1" edition = "2021" license = "0BSD" # https://crates.io/category_slugs categories = [ "filesystem" ] keywords = [ "filename", "generator" ] Index: src/lib.rs ================================================================== --- src/lib.rs +++ src/lib.rs @@ -16,11 +16,11 @@ pub use err::Error; /// The naming convention used when generating new names. -#[derive(Default, Copy, Clone, PartialEq, Eq)] +#[derive(Debug, Default, Copy, Clone, PartialEq, Eq)] #[cfg_attr(feature = "serde", derive(Deserialize))] pub enum Naming { /// - `Foo.zip` → `Foo(1).zip` /// - `.dotfile` → `.dotfile(1)` /// - `hello.txt` → `hello(1).txt` Index: www/changelog.md ================================================================== --- www/changelog.md +++ www/changelog.md @@ -2,18 +2,28 @@ ⚠️ indicates a breaking change. ## [Unreleased] -[Details](/vdiff?from=dupnamegen-0.1.0&to=trunk) +[Details](/vdiff?from=dupnamegen-0.1.1&to=trunk) ### Added ### Changed ### Removed +--- + +## [0.1.1] - 2024-10-14 + +[Details](/vdiff?from=dupnamegen-0.1.0&to=dupnamegen-0.1.1) + +### Added + +- Implement `Debug` for `Naming`. + --- ## [0.1.0] - 2024-10-14 Initial release.