diff --git a/garde/Cargo.toml b/garde/Cargo.toml index 1ca226d..40de208 100644 --- a/garde/Cargo.toml +++ b/garde/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "garde" -version = "0.16.0" +version = "0.16.1" edition = "2021" repository = "https://github.com/jprochazk/garde" license = "MIT OR Apache-2.0" diff --git a/garde/src/error.rs b/garde/src/error.rs index 1c8747e..7ea037e 100644 --- a/garde/src/error.rs +++ b/garde/src/error.rs @@ -97,7 +97,10 @@ pub enum Kind { Index, } -#[doc(hidden)] +/// Represents a path component without a key. This is useful when the container +/// only ever holds a single key, which is the case for any 1-tuple struct. +/// +/// For an example usage, see the implementation of [Inner][`crate::rules::inner::Inner`] for `Option`. #[derive(Default)] pub struct NoKey(()); diff --git a/garde_derive/Cargo.toml b/garde_derive/Cargo.toml index 6842bf9..aa9cf2f 100644 --- a/garde_derive/Cargo.toml +++ b/garde_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "garde_derive" -version = "0.16.0" +version = "0.16.1" edition = "2021" repository = "https://github.com/jprochazk/garde" license = "MIT OR Apache-2.0" diff --git a/integrations/axum_garde/Cargo.toml b/integrations/axum_garde/Cargo.toml index 09dd505..6b51c8b 100644 --- a/integrations/axum_garde/Cargo.toml +++ b/integrations/axum_garde/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "axum_garde" -version = "0.16.0" +version = "0.16.1" edition = "2021" repository = "https://github.com/jprochazk/garde" license = "MIT OR Apache-2.0"