Add #![visibility = "..."] attribute to specify visibility

This commit is contained in:
Lukas Kalbertodt
2021-04-29 19:30:19 +02:00
parent bfab0e8798
commit 24dec3b037
4 changed files with 52 additions and 3 deletions

View File

@@ -12,6 +12,9 @@ use std::{net::IpAddr, path::PathBuf};
use crate as confique;
crate::config! {
//! An example configuration.
#![visibility = "pub"]
dns: {
/// The DNS server IP address.
#[example = "1.1.1.1"]