[package]
edition = "2021"
rust-version = "1.75"
name = "canopen-host"
version = "0.5.0"
authors = ["Karpagam Karthikeyan"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Host-side (std) transport and tooling for canopen-rs: Linux SocketCAN transport and EDS parsing."
documentation = "https://docs.rs/canopen-host"
readme = "README.md"
keywords = [
"canopen",
"can",
"cia301",
"embedded",
"no_std",
]
categories = [
"embedded",
"no-std",
"network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/KarpagamKarthikeyan/canopen-rs"
[features]
tokio = ["socketcan/tokio"]
[lib]
name = "canopen_host"
path = "src/lib.rs"
[[example]]
name = "async_vcan"
path = "examples/async_vcan.rs"
required-features = ["tokio"]
[[example]]
name = "vcan_loopback"
path = "examples/vcan_loopback.rs"
[dependencies.canopen-rs]
version = "0.5.0"
features = ["std"]
[target.'cfg(target_os = "linux")'.dependencies.embedded-can]
version = "0.4"
[target.'cfg(target_os = "linux")'.dependencies.socketcan]
version = "3.3"
[target.'cfg(target_os = "linux")'.dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
]