bacnet-endpoint 0.15.0

BACnet endpoint that owns one transport and runs client and server roles through it
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-endpoint"
version = "0.15.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "BACnet endpoint that owns one transport and runs client and server roles through it"
readme = "README.md"
keywords = [
    "bacnet",
    "building-automation",
    "client",
    "server",
    "async",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/jscott3201/rusty-bacnet"

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

[features]
sc-tls = [
    "bacnet-transport/sc-tls",
    "bacnet-client/sc-tls",
    "bacnet-server/sc-tls",
    "dep:tokio-rustls",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bacnet-endpoint-core]
version = "0.15.0"

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

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

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

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

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

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

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

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

[dependencies.tokio]
version = "1.53.3"
features = [
    "rt",
    "sync",
    "macros",
    "time",
    "net",
]

[dependencies.tokio-rustls]
version = "0.26"
optional = true

[dependencies.tracing]
version = "0.1"

[dev-dependencies.bacnet-transport]
version = "0.15.0"
features = ["ipv6"]

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.rcgen]
version = "0.14"
features = [
    "aws_lc_rs",
    "pem",
]
default-features = false

[dev-dependencies.rustls]
version = "0.23.46"
features = [
    "aws_lc_rs",
    "logging",
    "std",
]
default-features = false

[dev-dependencies.socket2]
version = "0.6"

[dev-dependencies.tokio]
version = "1.53.3"
features = [
    "rt-multi-thread",
    "macros",
    "time",
    "test-util",
    "net",
]

[dev-dependencies.tokio-rustls]
version = "0.26"

[dev-dependencies.tokio-tungstenite]
version = "0.29"

[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"