libosdp 0.2.1

Library implementation of IEC 60839-11-5 OSDP (Open Supervised Device Protocol)
Documentation
# 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 = "libosdp"
version = "0.2.1"
authors = ["Siddharth Chandrasekaran <sidcha.dev@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library implementation of IEC 60839-11-5 OSDP (Open Supervised Device Protocol)"
homepage = "https://doc.osdp.dev/"
documentation = "https://docs.rs/libosdp"
readme = "README.md"
keywords = [
    "osdp",
    "libosdp",
    "acs",
    "sia",
    "wiegand",
]
categories = [
    "development-tools",
    "embedded",
]
license = "Apache-2.0"
repository = "https://github.com/goToMain/libosdp-rs"

[features]
default = ["std"]
defmt = [
    "embedded-io/defmt",
    "dep:defmt",
]
log = ["dep:log"]
std = [
    "thiserror",
    "serde/std",
    "log",
    "log/std",
]

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

[[example]]
name = "cp"
path = "examples/cp.rs"
required-features = ["std"]

[[example]]
name = "pd"
path = "examples/pd.rs"
required-features = ["std"]

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

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

[dependencies.bitflags]
version = "2.10.0"

[dependencies.defmt]
version = "1.0"
features = ["alloc"]
optional = true

[dependencies.embedded-io]
version = "0.7.1"
features = ["alloc"]

[dependencies.itoa]
version = "1.0.17"

[dependencies.libosdp-sys]
version = "=3.2.2"

[dependencies.log]
version = "0.4.29"
optional = true

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "alloc",
]
default-features = false

[dependencies.serde_arrays]
version = "0.2.0"

[dependencies.thiserror]
version = "2.0.18"
optional = true

[dev-dependencies.env_logger]
version = "0.11.8"

[dev-dependencies.multiqueue]
version = "0.3.2"

[dev-dependencies.rand]
version = "0.9.2"

[dev-dependencies.ringbuf]
version = "0.4.8"

[dev-dependencies.sha256]
version = "1.6.0"