[package]
edition = "2024"
rust-version = "1.88"
name = "apple-plist"
version = "1.0.0"
authors = ["moonD4rk"]
build = false
exclude = [
"/rfc2rust",
"/rfcs",
"/AGENTS.md",
"/CLAUDE.md",
"/CLAUDE.local.md",
"/.github",
"/.editorconfig",
"/clippy.toml",
"/deny.toml",
"/rustfmt.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Apple property-list serialization: XML, binary, OpenStep, and GNUStep."
homepage = "https://github.com/moonD4rk/apple-plist"
documentation = "https://docs.rs/apple-plist"
readme = "README.md"
keywords = [
"plist",
"serde",
"apple",
"bplist",
"openstep",
]
categories = [
"encoding",
"parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/moonD4rk/apple-plist"
[package.metadata.docs.rs]
all-features = true
[features]
binary = ["dep:crc32fast"]
default = [
"serde",
"xml",
"binary",
"openstep",
]
openstep = ["dep:base64"]
serde = ["dep:serde"]
xml = [
"dep:quick-xml",
"dep:base64",
]
[lib]
name = "apple_plist"
path = "src/lib.rs"
[[test]]
name = "custom_serde"
path = "tests/custom_serde.rs"
[[test]]
name = "depth_limit"
path = "tests/depth_limit.rs"
[[test]]
name = "invalid"
path = "tests/invalid.rs"
[[test]]
name = "property"
path = "tests/property.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[[test]]
name = "serde_struct"
path = "tests/serde_struct.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[dependencies.base64]
version = "0.22"
optional = true
[dependencies.crc32fast]
version = "1"
optional = true
[dependencies.indexmap]
version = "2"
[dependencies.quick-xml]
version = "0.39"
optional = true
[dependencies.serde]
version = "1"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = ["std"]
default-features = false
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.time]
version = "0.3"
features = ["macros"]
[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
dbg_macro = "deny"
doc_markdown = "allow"
exit = "warn"
expect_used = "deny"
get_unwrap = "deny"
incompatible_msrv = "deny"
indexing_slicing = "warn"
mem_forget = "deny"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
redundant_pub_crate = "allow"
todo = "deny"
trivially_copy_pass_by_ref = "allow"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
elided_lifetimes_in_paths = "warn"
missing_debug_implementations = "deny"
missing_docs = "deny"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_must_use = "deny"
unused_qualifications = "warn"
unused_results = "warn"
[lints.rust.future_incompatible]
level = "deny"
priority = -1
[lints.rust.let_underscore]
level = "warn"
priority = -1
[lints.rust.nonstandard_style]
level = "deny"
priority = -1
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = "symbols"
[profile.test]
overflow-checks = true