mirror of
https://github.com/OMGeeky/confique.git
synced 2026-01-06 03:29:37 +01:00
Add support for #[derive] annotations
This commit is contained in:
@@ -14,7 +14,9 @@ use crate as confique;
|
||||
crate::config! {
|
||||
//! An example configuration.
|
||||
#![visibility = "pub"]
|
||||
#![derive(Clone)]
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
dns: {
|
||||
/// The DNS server IP address.
|
||||
#[example = "1.1.1.1"]
|
||||
|
||||
Reference in New Issue
Block a user