kcan 0.1.4

CAN controller primitives for actuator and motor control.
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"
rust-version = "1.85"
name = "kcan"
version = "0.1.4"
authors = ["Trevor Knott - Knott Dynamics"]
build = false
include = [
    "/Cargo.lock",
    "/Cargo.toml",
    "/docs.md",
    "/README.md",
    "/examples/**",
    "/src/**",
    "/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CAN controller primitives for actuator and motor control."
readme = "README.md"
keywords = [
    "can",
    "cubemars",
    "scrin",
    "aisling",
    "actuator",
]
categories = [
    "embedded",
    "hardware-support",
    "science::robotics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Tknott95/kcan"

[features]
default = []
serde = ["dep:serde"]
socketcan = ["dep:socketcan"]
tui = [
    "dep:crossterm",
    "dep:scrin",
    "dep:scrin-widgets",
]

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

[[bin]]
name = "kcan"
path = "src/bin/kcan.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.crossterm]
version = "0.28"
optional = true

[dependencies.scrin]
version = "0.1.83"
optional = true

[dependencies.scrin-widgets]
version = "0.2.7"
optional = true

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

[dependencies.socketcan]
version = "3.6.2"
optional = true
default-features = false