Registry / serialization / unsafe-libyaml

unsafe-libyaml

JSON →
library0.2.11rscratesunverified

libyaml transpiled to rust by c2rust.

# Cargo.toml [dependencies] unsafe-libyaml = "0.2.11"
INSTALL
IMPORT
SIG · UNSAFE-LIBYAML
U
unsafe-libyaml
serializationrustv0.2.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Yaml
use unsafe_libyaml::Yaml;

Parse a YAML string using unsafe-libyaml.

use unsafe_libyaml::Yaml; fn main() { let yaml = Yaml::from_str("key: value").unwrap(); println!("{:?}", yaml); }
Debug
Known issues
gotchaContains unsafe code; may have memory safety issues.
fix
Use safe YAML parsers like serde_yaml if possible.
affects: *
Upgrade
Version history
0.2.11latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
unsafe-libyaml — cargo add unsafe-libyaml · libregistry