diff --git a/README.md b/README.md index 01c314c68..36b9ca2a1 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,11 @@ [`serde-json`]: https://crates.io/crates/serde_json +```toml +[dependencies] +serde-json-core = "0.0.1" +``` + ## [Documentation](https://japaric.github.io/serde-json-core/serde_json_core/) ## License diff --git a/rust-toolchain b/rust-toolchain new file mode 100644 index 000000000..bf867e0ae --- /dev/null +++ b/rust-toolchain @@ -0,0 +1 @@ +nightly diff --git a/src/lib.rs b/src/lib.rs index a92f52b4e..e639e8769 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -62,3 +62,8 @@ extern crate serde_derive; pub mod de; pub mod ser; + +#[doc(inline)] +pub use self::de::{from_slice, from_str}; +#[doc(inline)] +pub use self::ser::{to_string, to_vec};