bloop-client-framework 1.0.0

Client framework for the Bloop wire protocol
# 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 = "2024"
rust-version = "1.88"
name = "bloop-client-framework"
version = "1.0.0"
authors = ["Ben Scholzen 'DASPRiD' <mail@dasprids.de>"]
build = false
exclude = [
    "/.github",
    "/.gitignore",
    "/.releaserc.yml",
    "/tests",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client framework for the Bloop wire protocol"
readme = "README.md"
license = "BSD-2-Clause"
repository = "https://github.com/bloop-box/bloop-client-framework"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
audio = ["dep:rodio"]
nfc = []
nfc-mfrc522 = [
    "nfc",
    "dep:mfrc522",
    "dep:linux-embedded-hal",
    "dep:gpiocdev",
]
tokio-graceful-shutdown = ["dep:tokio-graceful-shutdown"]

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

[dependencies.bloop-protocol]
version = "1.2"

[dependencies.gpiocdev]
version = "0.8.0"
optional = true

[dependencies.linux-embedded-hal]
version = "0.4.0"
features = [
    "spi",
    "spidev",
]
optional = true
default-features = false

[dependencies.mfrc522]
version = "0.8.0"
features = ["std"]
optional = true

[dependencies.rodio]
version = "0.22.2"
features = [
    "mp3",
    "playback",
    "tracing",
]
optional = true
default-features = false

[dependencies.rustls]
version = "0.23.28"

[dependencies.rustls-platform-verifier]
version = "0.7.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.48"
features = [
    "fs",
    "io-util",
    "macros",
    "net",
    "rt",
    "sync",
    "time",
]
default-features = false

[dependencies.tokio-graceful-shutdown]
version = "0.20.0"
optional = true

[dependencies.tokio-io-timeout]
version = "1.2.0"

[dependencies.tokio-rustls]
version = "0.26.2"

[dependencies.tracing]
version = "0.1.43"

[dependencies.uuid]
version = "1.19"

[dev-dependencies.argon2]
version = "0.5.3"

[dev-dependencies.bloop-server-framework]
version = "2"

[dev-dependencies.tempfile]
version = "3.23"

[dev-dependencies.tokio]
version = "1.48"
features = ["full"]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]