# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "imsg-pbap"
version = "0.2.0"
authors = ["Ethan <claude@gnu.foo>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PBAP protocol logic — contact pull and vCard retrieval"
readme = "README.md"
license = "MIT"
repository = "https://github.com/gnufood/imsg"

[lib]
name = "imsg_pbap"
path = "src/lib.rs"

[[test]]
name = "contacts_tests"
path = "tests/contacts_tests.rs"

[[test]]
name = "pbap_tests"
path = "tests/pbap_tests.rs"

[[test]]
name = "phonebook_tests"
path = "tests/phonebook_tests.rs"

[dependencies.bytes]
version = "1.11.1"

[dependencies.formats]
version = "0.2.0"
package = "imsg-formats"

[dependencies.futures]
version = "0.3"

[dependencies.obex-core]
version = "0.2.0"
package = "imsg-obex"

[dependencies.quick-xml]
version = "0.40"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = ["full"]

[dependencies.transport]
version = "0.2.0"
package = "imsg-transport"

[lints.clippy]
arithmetic_side_effects = "deny"
as_conversions = "deny"
expect_used = "deny"
indexing_slicing = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
dead_code = "deny"
missing_docs = "deny"
unreachable_pub = "deny"
unsafe_code = "forbid"
unused_imports = "deny"
unused_must_use = "deny"
unused_mut = "deny"
