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
/*! Json support for `sval`. This library is no-std, so it can be run in environments that don't have access to an allocator. */ #![doc(html_root_url = "https://docs.rs/sval_json/0.1.2")] #![no_std] #[cfg(feature = "std")] extern crate std; #[cfg(not(feature = "std"))] extern crate core as std; mod fmt; pub use self::fmt::to_fmt; #[cfg(feature = "std")] mod std_support; #[cfg(feature = "std")] pub use self::std_support::{ to_string, to_writer, };