# 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 = "bacnet-emb"
version = "0.13.30"
authors = ["Jack Xiao <xiaopanfeng@uqkj.cn>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A bacnet library for embedded systems (no_std)"
readme = "README.md"
keywords = [
    "iot",
    "driver",
]
categories = [
    "algorithms",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jackxiao2018/bacnet-emb.git"
resolver = "2"

[features]
alloc = [
    "serde?/alloc",
    "defmt?/alloc",
]
default = ["alloc"]
defmt = ["dep:defmt"]
is_sync = ["maybe-async/is_sync"]
serde = ["dep:serde"]

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

[[example]]
name = "write_analog_value_multiple"
path = "examples/write_analog_value_multiple.rs"

[[example]]
name = "write_property_multiple"
path = "examples/write_property_multiple.rs"

[dependencies.bacnet-macros]
version = "0.1.0"

[dependencies.defmt]
version = "0.3.8"
optional = true

[dependencies.log]
version = "0.4.22"
default-features = false

[dependencies.maybe-async]
version = "0.2.10"
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
default-features = false

[dev-dependencies.chrono]
version = "0.4.28"

[dev-dependencies.clap]
version = "4.5.4"
features = ["derive"]

[dev-dependencies.simple_logger]
version = "5.0.0"

[dev-dependencies.tokio]
version = "1.40.0"
features = [
    "rt-multi-thread",
    "net",
    "macros",
]
