[package]
edition = "2024"
rust-version = "1.88"
name = "ayaml-edit"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Verified source-preserving edits for YAML documents built on ayaml."
documentation = "https://docs.rs/ayaml-edit"
readme = "README.md"
keywords = [
"yaml",
"edit",
"refactor",
"no-unsafe",
]
categories = [
"parser-implementations",
"encoding",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/asamarts/ayaml"
[lib]
name = "ayaml_edit"
path = "src/lib.rs"
[[test]]
name = "adversarial"
path = "tests/adversarial.rs"
[[test]]
name = "api_freeze"
path = "tests/api_freeze.rs"
[[test]]
name = "edits"
path = "tests/edits.rs"
[[test]]
name = "migration_guides"
path = "tests/migration_guides.rs"
[dependencies.ayaml]
version = "^1.0.0"
[dev-dependencies.proptest]
version = "=1.10.0"
[lints.clippy]
allow_attributes_without_reason = "warn"
dbg_macro = "deny"
literal_string_with_formatting_args = "warn"
mem_forget = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
needless_pass_by_ref_mut = "warn"
or_fun_call = "warn"
redundant_clone = "warn"
similar_names = "allow"
todo = "deny"
unimplemented = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
let_underscore_drop = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_lifetimes = "warn"
unused_qualifications = "warn"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(ayaml_typed_from_events)",
"cfg(kani)",
]