1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*!
JSON support for `sval`.

Values are serialized in a `serde`-compatible way.
*/

#![no_std]
#![deny(missing_docs)]

#[cfg(feature = "alloc")]
extern crate alloc;

#[cfg(feature = "std")]
extern crate std;

mod error;

mod value;
pub use self::value::*;

mod to_fmt;
pub use self::{error::*, to_fmt::*};

pub mod tags;

#[cfg(feature = "alloc")]
mod to_string;

#[cfg(feature = "alloc")]
pub use self::to_string::*;

#[cfg(feature = "std")]
mod to_io;

#[cfg(feature = "std")]
pub use self::to_io::*;

#[cfg(feature = "std")]
mod to_vec;

#[cfg(feature = "std")]
pub use self::to_vec::*;