rust-yaml 0.0.5

A fast, safe YAML 1.2 library for Rust
Documentation
[[bin]]
name = "rust-yaml"
path = "src/main.rs"

[dependencies.base64]
version = "0.22"

[dependencies.futures]
optional = true
version = "0.3"

[dependencies.indexmap]
features = ["serde"]
version = "2.0"

[dependencies.memmap2]
optional = true
version = "0.9"

[dependencies.regex]
version = "1.0"

[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"

[dependencies.tokio]
features = ["fs", "io-util", "rt"]
optional = true
version = "1.40"

[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.7"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.proptest]
version = "1.2"

[dev-dependencies.tempfile]
version = "3.8"

[dev-dependencies.tokio]
features = ["macros", "rt", "test-util"]
version = "1.40"

[[example]]
name = "advanced_schema_demo"
path = "examples/advanced_schema_demo.rs"

[[example]]
name = "comment_preservation_demo"
path = "examples/comment_preservation_demo.rs"

[[example]]
name = "library_comparison"
path = "examples/library_comparison.rs"

[[example]]
name = "merge_key_demo"
path = "examples/merge_key_demo.rs"

[[example]]
name = "schema_validation_demo"
path = "examples/schema_validation_demo.rs"

[[example]]
name = "streaming_parser_demo"
path = "examples/streaming_parser_demo.rs"

[[example]]
name = "yaml_write_example"
path = "examples/yaml_write_example.rs"

[features]
async = ["futures", "tokio"]
default = ["mmap", "preserve-order"]
full = ["async", "large-documents", "mmap", "serde_support"]
large-documents = []
mmap = ["memmap2"]
preserve-order = []
serde = ["dep:serde", "indexmap/serde"]
serde_support = ["serde"]

[lib]
crate-type = ["lib"]
name = "rust_yaml"
path = "src/lib.rs"
required-features = []

[package]
authors = ["Elio Severo Junior <elioseverojunior@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["config", "encoding", "parser-implementations"]
description = "A fast, safe YAML 1.2 library for Rust"
documentation = "https://docs.rs/rust-yaml"
edition = "2021"
exclude = ["*.bak", "*.log", "*.profdata", "*.profraw", "*.swo", "*.swp", "*.tmp", "*~", ".DS_Store", ".cargo/", ".claude/", ".clippy.toml", ".git/", ".gitattributes", ".githooks/", ".github/", ".gitignore", ".gitlab-ci.yml", ".gitmessage", ".idea/", ".markdownlint.json", ".nvmrc", ".pre-commit-config.yaml", ".secrets.baseline", ".travis.yml", ".vscode/", "CLAUDE.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "Cargo.lock", "GitVersion.yml", "Makefile", "SECURITY.md", "Thumbs.db", "benches/", "commitlint.config.js", "deny.toml", "docs/", "lcov.info", "node_modules/", "package-lock.json", "package.json", "target/", "test-data/"]
keywords = ["configuration", "markup", "parser", "serialization", "yaml"]
license = "MIT OR Apache-2.0"
name = "rust-yaml"
readme = "README.md"
repository = "https://github.com/elioetibr/rust-yaml"
rust-version = "1.85.0"
version = "0.0.5"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition", "--cfg", "docsrs", "--document-private-items"]
targets = ["x86_64-unknown-linux-gnu"]

[profile.bench]
debug = 2

[profile.release]
codegen-units = 1
lto = true
panic = "abort"

[[test]]
name = "comment_preservation_tests"
path = "tests/comment_preservation_tests.rs"

[[test]]
name = "complex_keys"
path = "tests/complex_keys.rs"

[[test]]
name = "directive_roundtrip"
path = "tests/directive_roundtrip.rs"

[[test]]
name = "directives"
path = "tests/directives.rs"

[[test]]
name = "edge_cases_and_errors"
path = "tests/edge_cases_and_errors.rs"

[[test]]
name = "indentation_style_preservation"
path = "tests/indentation_style_preservation.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "merge_keys"
path = "tests/merge_keys.rs"

[[test]]
name = "merge_keys_comprehensive"
path = "tests/merge_keys_comprehensive.rs"

[[test]]
name = "performance_and_stress"
path = "tests/performance_and_stress.rs"

[[test]]
name = "schema_validation_tests"
path = "tests/schema_validation_tests.rs"

[[test]]
name = "security_limits"
path = "tests/security_limits.rs"

[[test]]
name = "simple_merge_test"
path = "tests/simple_merge_test.rs"

[[test]]
name = "tag_tests"
path = "tests/tag_tests.rs"

[[test]]
name = "unit_tests"
path = "tests/unit_tests.rs"