use yaml_rust2::{YamlLoader, YamlEmitter}; fn main() { let s = " foo: - list1 - list2 bar: - 1 - 2.0 "; let docs = YamlLoader::load_from_str(s).unwrap(); // Multi document support, doc is a yaml::Yaml let doc = &docs[0]; // Debug support println!("{:?}", doc...
The 1.2 spec of yaml allows comments: https://yaml.org/spec/1.2.2/#66-comments One current issue with yaml-rust2 (and, to be fair, the original yaml-rust crate) is that it strips all comments. Thus, the following (shortened) example doesn't work: foo.yaml value: # comment here '...
serde_yaml does not seem to create properly formatted yaml, e.g. "expected" output test fixtures do not meet yaml lint requirements Expected Behavior Use a supported library: https://github.com/Ethiraric/yaml-rust2 Additional Context No response ReenigneArcher added the help wanted label Nov ...
It would be worth investigating if the dependency is required at all, this simply replaces it with the crate key in the Cargo.toml with yaml-rust2. TODO: update changelog when everything is sorted ...
Rusty wrapper for the Unified Extensible Firmware Interface (UEFI). This crate makes it easy to develop Rust software that leverages safe, convenient, and performant abstractions for UEFI functionality. - Apply yamlfmt · rust-osdev/uefi-rs@a2e5b9c
deploy.yaml src .gitignore Cargo.lock Cargo.toml README.md build.sh index.html serve.sh Breadcrumbs rust-sdl2-wasm /.github /workflows / View Runs Latest commit coderedart use latest emscripten May 10, 2023 2cfd12b·May 10, 2023
🧜♀️ A Sublime Text plugin to beautify and minify source code: CSS, SCSS, Sass, HTML, XML, SVG,JS,JavaScript, JSON, GraphQL, Markdown, TypeScript, Vue, Lua, YAML, Go, Perl, PHP, Python, Ruby, Rust, Haskell, Dart, Swift, Crystal, Bash, Shell, SQL, CSV, C, C++, C#,...