We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 175f0a5 commit aea77feCopy full SHA for aea77fe
src/lib.rs
@@ -15,7 +15,15 @@
15
//! - Deep access into the merged configuration via a path syntax
16
//! - Deserialization via `serde` of the configuration or any subset defined via a path
17
//!
18
-//! See the [examples](https://github.com/mehcode/config-rs/tree/master/examples) for
+//! # Example
19
+//!
20
+//! ```rust
21
+//! # #[cfg(feature = "toml")] {
22
+#![doc = include_str!("../examples/simple/main.rs")]
23
+//! # }
24
+//! ```
25
26
+//! See more [examples](https://github.com/mehcode/config-rs/tree/master/examples) for
27
//! general usage information.
28
29
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
0 commit comments