Add docs to feature section

pull/512/head
James Munns 5 years ago
parent 6b0a81012b
commit 3c92ffeb5c

@ -171,6 +171,18 @@
//! features = ["attributes"]
//! ```
//!
//! When the `serde` feature is enabled, it is possible to use `async_std` types such as [`path::PathBuf`]
//! within types that are serialized or deserialized using [`serde`] compatible crates.
//!
//! [`serde`]: https://serde.rs
//! [`path::PathBuf`]: path/struct.PathBuf.html
//!
//! ```toml
//! [dependencies.async-std]
//! version = "1.0.0"
//! features = ["serde"]
//! ```
//!
//! Additionally it's possible to only use the core traits and combinators by
//! only enabling the `std` Cargo feature:
//!

Loading…
Cancel
Save