[[bin]]
name = "run-emitter-test-suite"
path = "src/bin/run-emitter-test-suite.rs"
[[bin]]
name = "run-parser-test-suite"
path = "src/bin/run-parser-test-suite.rs"
[build-dependencies.version_check]
version = "0.9.5"
[dependencies.anyhow]
version = "1.0.86"
[dev-dependencies.pretty_assertions]
version = "1.4.0"
[[example]]
name = "apis"
path = "examples/apis/main.rs"
[[example]]
name = "example"
path = "examples/example.rs"
[features]
default = []
test-utils = []
[lib]
crate-type = ["lib"]
doc-scrape-examples = false
name = "libyml"
path = "src/lib.rs"
[lints.rust]
bare_trait_objects = "allow"
box_pointers = "warn"
dead_code = "deny"
deprecated_in_future = "deny"
elided_lifetimes_in_paths = "allow"
ellipsis_inclusive_range_patterns = "deny"
explicit_outlives_requirements = "deny"
macro_use_extern_crate = "deny"
meta_variable_misuse = "deny"
missing_copy_implementations = "warn"
missing_debug_implementations = "forbid"
missing_docs = "warn"
missing_fragment_specifier = "deny"
non_ascii_idents = "forbid"
non_camel_case_types = "allow"
non_upper_case_globals = "allow"
noop_method_call = "deny"
single_use_lifetimes = "deny"
trivial_bounds = "allow"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unreachable_pub = "forbid"
unsafe_code = "allow"
unstable_features = "warn"
unused_crate_dependencies = "allow"
unused_extern_crates = "warn"
unused_features = "deny"
unused_import_braces = "deny"
unused_labels = "deny"
unused_lifetimes = "deny"
unused_macro_rules = "deny"
unused_qualifications = "deny"
unused_results = "warn"
variant_size_differences = "deny"
[lints.rust.future_incompatible]
level = "deny"
priority = -1
[lints.rust.keyword_idents]
level = "deny"
priority = -1
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
[lints.rust.rust_2021_compatibility]
level = "deny"
priority = -1
[lints.rust.unused]
level = "deny"
priority = -1
[package]
authors = ["LibYML Contributors"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["encoding", "parser-implementations", "no-std"]
description = "A safe and efficient Rust library for parsing, emitting, and manipulating YAML data."
documentation = "https://docs.rs/libyml"
edition = "2021"
exclude = ["/.git/*", "/.github/*", "/.gitignore", "/.vscode/*"]
homepage = "https://libyml.com"
include = ["/CONTRIBUTING.md", "/LICENSE-MIT", "/benches/**", "/build.rs", "/Cargo.toml", "/examples/**", "/README.md", "/src/**", "/tests/**"]
keywords = ["yaml", "serde", "serialization"]
license = "MIT"
name = "libyml"
readme = "README.md"
repository = "https://github.com/sebastienrousseau/libyml"
rust-version = "1.56.0"
version = "0.0.5"
[package.metadata.clippy]
warn-lints = ["clippy::all", "clippy::pedantic", "clippy::cargo", "clippy::nursery"]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]
targets = ["x86_64-unknown-linux-gnu"]
[profile.dev]
codegen-units = 256
debug = 2
debug-assertions = true
incremental = true
lto = false
opt-level = 0
overflow-checks = true
panic = "unwind"
rpath = false
strip = false
[profile.release]
codegen-units = 1
debug = 0
debug-assertions = false
incremental = false
lto = true
opt-level = "s"
overflow-checks = false
panic = "abort"
rpath = false
strip = "symbols"
[profile.test]
codegen-units = 256
debug = 2
debug-assertions = true
incremental = true
lto = false
opt-level = 0
overflow-checks = true
rpath = false
strip = false
[[test]]
name = "test_api"
path = "tests/test_api.rs"
[[test]]
name = "test_decode"
path = "tests/test_decode.rs"
[[test]]
name = "test_document"
path = "tests/test_document.rs"
[[test]]
name = "test_dumper"
path = "tests/test_dumper.rs"
[[test]]
name = "test_emitter"
path = "tests/test_emitter.rs"
[[test]]
name = "test_internal"
path = "tests/test_internal.rs"
[[test]]
name = "test_lib"
path = "tests/test_lib.rs"
[[test]]
name = "test_loader"
path = "tests/test_loader.rs"
[[test]]
name = "test_macros"
path = "tests/test_macros.rs"
[[test]]
name = "test_memory"
path = "tests/test_memory.rs"
[[test]]
name = "test_parser"
path = "tests/test_parser.rs"
[[test]]
name = "test_parser_error"
path = "tests/test_parser_error.rs"
[[test]]
name = "test_string"
path = "tests/test_string.rs"
[[test]]
name = "test_yaml"
path = "tests/test_yaml.rs"