rust-yaml 0.0.2

A fast, safe YAML 1.2 library for Rust
[[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.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 = "library_comparison"
path = "examples/library_comparison.rs"

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

[[example]]
name = "streaming_parser_demo"
path = "examples/streaming_parser_demo.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"]
doc-scrape-examples = false
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 = "2024"
exclude = [".git/", ".gitattributes", ".gitignore", ".gitmessage", ".githooks/", ".github/", ".gitlab-ci.yml", ".travis.yml", ".cargo/", ".claude/", ".clippy.toml", ".idea/", ".vscode/", ".pre-commit-config.yaml", ".secrets.baseline", ".markdownlint.json", ".nvmrc", "deny.toml", "GitVersion.yml", "Makefile", "node_modules/", "package.json", "package-lock.json", "commitlint.config.js", "docs/", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "SECURITY.md", "CLAUDE.md", "target/", "Cargo.lock", "lcov.info", "*.profraw", "*.profdata", "benches/", "test-data/", "*.swp", "*.swo", "*~", ".DS_Store", "Thumbs.db", "*.log", "*.bak", "*.tmp"]
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.89.0"
version = "0.0.2"

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

[profile.bench]
debug = 2

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

[[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 = "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"