doip-codec 2.0.9

Diagnostics over Internet Protocol codec for client-server communication.
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 = "doip-codec"
version = "2.0.9"
authors = ["Samuel Preston <samp.reston@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Diagnostics over Internet Protocol codec for client-server communication."
readme = "README.md"
keywords = [
    "doip",
    "diagnostics",
    "vehicle",
    "codec",
]
categories = [
    "simulation",
    "parser-implementations",
    "network-programming",
    "encoding",
]
license = "MIT"
repository = "https://github.com/samp-reston/doip-codec"

[package.metadata.rust-analyzer.checkOnSave]
extraArgs = [
    "--check-cfg",
    "cfg(rust_analyzer)",
]

[features]
default = ["std"]
python-bindings = [
    "std",
    "dep:pyo3",
    "doip-definitions/python-bindings",
]
std = ["doip-definitions/std"]

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

[dependencies.derive_more]
version = "2.0.1"
features = ["from"]

[dependencies.doip-definitions]
version = "3.0.14"
default-features = false

[dependencies.heapless]
version = "0.8.0"

[dependencies.pyo3]
version = "0.24.2"
features = [
    "abi3-py311",
    "extension-module",
]
optional = true

[dependencies.tokio]
version = "1.45.0"
features = [
    "net",
    "io-util",
]

[dependencies.tokio-util]
version = "0.7.15"
features = ["codec"]

[dev-dependencies.futures]
version = "0.3.31"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(rust_analyzer)"]

[profile.dev]
panic = "abort"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true

[profile.test]
opt-level = 0
debug = 2