diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2023-04-12 12:54:11 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2023-04-12 14:54:36 +0200 |
commit | 9ab8eb2e46e6e407f66dd36099996172769abdd5 (patch) | |
tree | d60bd44dae5aa8a2062af6e06572dbf64fc2674d | |
parent | cc3c0476b39cf77ad7588037381047d6f45d248f (diff) |
Impl AsTypeDescription for Path
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -309,6 +309,8 @@ impl_config_kind!(TypeKind::String; "String"; "An IPv6 socket address" => std::n #[cfg(feature = "url")] impl_config_kind!(TypeKind::String; "String"; "An URL" => url::Url); +impl_config_kind!(TypeKind::String; "String"; "A path" => std::path::PathBuf); + #[cfg(test)] mod tests { use std::collections::HashMap; |