smpp34 1.5.1

Pure-Rust SMPP 3.4 codec with an async (tokio) client and server
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"
rust-version = "1.80"
name = "smpp34"
version = "1.5.1"
authors = ["Real Time Telecom B.V."]
build = false
exclude = [
    ".github/",
    "docs/",
    "perf/",
    "scripts/",
    "python/tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust SMPP 3.4 codec with an async (tokio) client and server"
homepage = "https://github.com/Real-Time-Telecom-B-V/smpp34"
readme = "README.md"
keywords = [
    "smpp",
    "sms",
    "smsc",
    "esme",
    "telecom",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/Real-Time-Telecom-B-V/smpp34"

[features]
default = []
extension-module = [
    "python",
    "pyo3/extension-module",
]
python = [
    "dep:pyo3",
    "dep:pyo3-async-runtimes",
]

[lib]
name = "smpp34"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "codec"
path = "benches/codec.rs"
harness = false

[dependencies.async-trait]
version = "0.1.88"

[dependencies.bytes]
version = "1.4.0"

[dependencies.chrono]
version = "0.4.38"

[dependencies.downcast-rs]
version = "2.0.1"

[dependencies.futures]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.nom]
version = "8"

[dependencies.num-derive]
version = "0.5.1"

[dependencies.num-traits]
version = "0.2"

[dependencies.pyo3]
version = "0.29"
features = ["abi3-py39"]
optional = true

[dependencies.pyo3-async-runtimes]
version = "0.29"
features = ["tokio-runtime"]
optional = true

[dependencies.rustls-native-certs]
version = "0.8"

[dependencies.serde]
version = "1.0.205"
features = ["derive"]

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "ring",
    "tls12",
]
default-features = false

[dependencies.uuid]
version = "1.4.0"
features = [
    "v4",
    "fast-rng",
    "macro-diagnostics",
]

[dev-dependencies.criterion]
version = "0.8"

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

[dev-dependencies.test-log]
version = "0.2.12"

[lints.clippy]
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"

[lints.clippy.correctness]
level = "deny"
priority = -1

[profile.profiling]
debug = 2
inherits = "release"