docs.rs failed to build serde_yaml-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
serde_yaml-0.9.34+deprecated
Serde YAML Serialization Library
This crate is a Rust library for using the Serde serialization framework with data in YAML file format. This library does not reimplement a YAML parser; it uses yaml-rust which is a pure Rust YAML 1.2 implementation.
Installation
[TODO not published yet] This crate works with Cargo and can be found on
crates.io with a Cargo.toml
like:
[]
= "*"
= "*"
Using Serde YAML
API documentation is available in rustdoc form but the general idea is:
extern crate serde;
extern crate serde_yaml;
use BTreeMap;
It can also be used with Serde's automatic serialization library,
serde_macros
. First add this to Cargo.toml
:
[]
= "*"
= "*"
= "*"
Then use:
extern crate serde;
extern crate serde_yaml;