cu-linux-resources 0.13.0

Linux/host resource bundle for serial, I2C and GPIO devices.
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 = "cu-linux-resources"
version = "0.13.0"
authors = ["Guillaume Binet <gbin@gootz.net>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Linux/host resource bundle for serial, I2C and GPIO devices."
homepage = "https://github.com/copper-project"
readme = "README.md"
keywords = [
    "robotics",
    "middleware",
    "copper",
    "real-time",
]
categories = ["science::robotics"]
license = "Apache-2.0"
repository = "https://github.com/copper-project/copper-rs"
resolver = "2"

[features]
alloc = ["embedded-io/alloc"]
default = []
defmt = [
    "embedded-io/defmt-03",
    "embedded-hal/defmt-03",
    "cu29/defmt",
]
embedded-io-07 = ["dep:embedded-io-07"]

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

[dependencies.cu29]
version = "0.13.0"
features = ["std"]
default-features = false

[dependencies.embedded-hal]
version = "1.0.0"
default-features = false

[dependencies.embedded-io]
version = "0.6.1"
features = ["std"]
default-features = false

[dependencies.embedded-io-07]
version = "0.7.1"
optional = true
default-features = false
package = "embedded-io"

[dependencies.serialport]
version = "4.8.1"

[target.'cfg(target_os = "linux")'.dependencies.linux-embedded-hal]
version = "0.4.0"

[target.'cfg(target_os = "linux")'.dependencies.rppal]
version = "0.22.1"
features = ["hal"]
default-features = false