docan 0.1.0

DoCAN client and server implement.
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 = "docan"
version = "0.1.0"
authors = ["Jesse Smith <jesses2025smith@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DoCAN client and server implement."
homepage = "https://github.com/jesses2025smith/docan-rs"
readme = "README.md"
keywords = [
    "automotive",
    "UDS",
    "DoCAN",
]
license = "MIT OR LGPL-3.0"
repository = "https://github.com/jesses2025smith/docan-rs"

[features]
client = [
    "iso15765-2/can",
    "iso15765-2/std2004",
]
default = [
    "std2020",
    "client",
    "server",
]
server = [
    "iso15765-2/can",
    "iso15765-2/std2004",
    "rand",
    "serde",
    "serde_yaml",
]
std2006 = ["iso14229-1/std2006"]
std2013 = ["iso14229-1/std2013"]
std2020 = ["iso14229-1/std2020"]

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

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

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

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

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

[dependencies.bytes]
version = "1.11"

[dependencies.hex]
version = "0.4"

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

[dependencies.iso15765-2]
version = "0.1.0"
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.rand]
version = "0.10"
optional = true

[dependencies.rs-can]
version = "0.4"

[dependencies.rsutil]
version = "0.1"
features = [
    "log",
    "types",
]

[dependencies.serde]
version = "1"
optional = true

[dependencies.serde_yaml]
version = "0.9"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "time",
    "fs",
]

[dev-dependencies.anyhow]
version = "1"

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

[dev-dependencies.rsutil]
version = "0.1"
features = ["log4rs"]

[dev-dependencies.scopeguard]
version = "1.2"

[dev-dependencies.socketcan-rs]
version = "0.4"

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

[dev-dependencies.tokio-stream]
version = "0.1"

[dev-dependencies.zlgcan]
version = "0.4"