xref: /third_party/rust/crates/log/src/kv/mod.rs (revision 2d8ae3ab)
1//! **UNSTABLE:** Structured key-value pairs.
2//!
3//! This module is unstable and breaking changes may be made
4//! at any time. See [the tracking issue](https://github.com/rust-lang-nursery/log/issues/328)
5//! for more details.
6//!
7//! Add the `kv_unstable` feature to your `Cargo.toml` to enable
8//! this module:
9//!
10//! ```toml
11//! [dependencies.log]
12//! features = ["kv_unstable"]
13//! ```
14
15mod error;
16mod key;
17pub mod source;
18
19pub mod value;
20
21pub use self::error::Error;
22pub use self::key::{Key, ToKey};
23pub use self::source::{Source, Visitor};
24
25#[doc(inline)]
26pub use self::value::{ToValue, Value};
27