bacnet-encoding 0.15.0

BACnet ASN.1/BER encoding, APDU and NPDU codecs per ASHRAE 135-2020
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 = "2024"
rust-version = "1.95"
name = "bacnet-encoding"
version = "0.15.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "BACnet ASN.1/BER encoding, APDU and NPDU codecs per ASHRAE 135-2020"
readme = "README.md"
keywords = [
    "bacnet",
    "asn1",
    "encoding",
    "apdu",
    "npdu",
]
categories = [
    "network-programming",
    "encoding",
    "no-std",
]
license = "MIT"
repository = "https://github.com/jscott3201/rusty-bacnet"

[package.metadata.docs.rs]
no-default-features = true
features = [
    "std",
    "heapless",
]
default-target = "x86_64-unknown-linux-gnu"
targets = []
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = [
    "bacnet-types/alloc",
    "dep:bytes",
]
default = ["std"]
heapless = ["dep:heapless"]
std = [
    "alloc",
    "bacnet-types/std",
    "bytes/std",
    "dep:tracing",
]

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

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

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

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

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

[dependencies.bacnet-npdu]
version = "0.15.0"

[dependencies.bacnet-types]
version = "0.15.0"
default-features = false

[dependencies.bytes]
version = "1"
optional = true
default-features = false

[dependencies.heapless]
version = "0.9.1"
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[lints.clippy]
dbg_macro = "deny"
missing_safety_doc = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "deny"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_must_use = "deny"