diff --git a/src/kv/mod.rs b/src/kv/mod.rs index 17226b4cf..fa697c2bb 100644 --- a/src/kv/mod.rs +++ b/src/kv/mod.rs @@ -1,23 +1,26 @@ //! **UNSTABLE:** Structured key-value pairs. -//! +//! //! This module is unstable and breaking changes may be made //! at any time. See [the tracking issue](https://github.com/rust-lang-nursery/log/issues/328) //! for more details. -//! +//! //! Add the `kv_unstable` feature to your `Cargo.toml` to enable //! this module: -//! +//! //! ```toml //! [dependencies.log] //! features = ["kv_unstable"] //! ``` mod error; -mod source; mod key; +mod source; + pub mod value; pub use self::error::Error; -pub use self::source::{Source, Visitor}; pub use self::key::{Key, ToKey}; -pub use self::value::{Value, ToValue}; +pub use self::source::{Source, Visitor}; + +#[doc(inline)] +pub use self::value::{ToValue, Value};