cansocket 0.1.2

Linux SocketCAN driver
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"
name = "cansocket"
version = "0.1.2"
authors = ["Liam Kinne <liam@umi.engineering>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Linux SocketCAN driver"
readme = "README.md"
categories = ["os::linux-apis"]
license = "MPL-2.0"
repository = "https://github.com/umi-eng/canbus"
resolver = "2"

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

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

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

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

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

[dependencies.async-io]
version = "2.6"

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

[dependencies.libc]
version = "0.2"
features = ["extra_traits"]

[dev-dependencies.smol]
version = "2.0"

[dev-dependencies.tokio]
version = "1.50"
features = ["full"]