[package]
edition = "2024"
rust-version = "1.85"
name = "rust-yaml"
version = "1.0.0"
authors = ["Elio Severo Junior <elioseverojunior@gmail.com>"]
build = false
exclude = [
"*.bak",
"*.log",
"*.profdata",
"*.profraw",
"*.swo",
"*.swp",
"*.tmp",
"*~",
".DS_Store",
".cargo/",
".claude/",
".clippy.toml",
".git/",
".gitattributes",
".githooks/",
".github/",
".gitignore",
".gitlab-ci.yml",
".gitmessage",
".gitmodules",
".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/",
"committed.toml",
"deny.toml",
"docs/",
"lcov.info",
"target/",
"test-data/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast, safe YAML 1.2 library for Rust"
documentation = "https://docs.rs/rust-yaml"
readme = "README.md"
keywords = [
"configuration",
"markup",
"parser",
"serialization",
"yaml",
]
categories = [
"config",
"encoding",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/elioetibr/rust-yaml"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--generate-link-to-definition",
"--cfg",
"docsrs",
"--document-private-items",
]
targets = ["x86_64-unknown-linux-gnu"]
[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]
name = "rust_yaml"
crate-type = ["lib"]
path = "src/lib.rs"
bench = false
required-features = []
[[bin]]
name = "rust-yaml"
path = "src/main.rs"
bench = false
[[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 = "round_trip"
path = "examples/round_trip.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"
[[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 = "flow_indent_bug"
path = "tests/flow_indent_bug.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"
[dependencies.base64]
version = "0.22"
[dependencies.futures]
version = "0.3"
optional = true
[dependencies.indexmap]
version = "2.0"
features = ["serde"]
[dependencies.memmap2]
version = "0.9"
optional = true
[dependencies.regex]
version = "1.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.tokio]
version = "1.40"
features = [
"fs",
"io-util",
"rt",
]
optional = true
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.pretty_assertions]
version = "1.4"
[dev-dependencies.proptest]
version = "1.2"
[dev-dependencies.tempfile]
version = "3.8"
[dev-dependencies.tokio]
version = "1.40"
features = [
"macros",
"rt",
"test-util",
]
[profile.bench]
debug = 2
[profile.release]
lto = true
codegen-units = 1
panic = "abort"