# 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 = "cu-caterpillar"
version = "0.5.1"
authors = ["Guillaume Binet <gbin@gootz.net>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "cu-caterpillar"
description = "This is an example for the Copper project to measure a base latency from the runtime. It can be used dry running on a host or on a Raspberry Pi flipping GPIO pins."
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"

[package.metadata.cargo-machete]
ignored = [
    "cu29-log",
    "cu29-log-runtime",
    "cu29-unifiedlog",
    "copper-traits",
]

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

[[bin]]
name = "cu-caterpillar"
path = "src/main.rs"

[[bin]]
name = "cu-caterpillar-logreader"
path = "src/logreader.rs"

[dependencies.bincode]
version = "2.0.0-rc.3"
features = ["derive"]

[dependencies.compact_str]
version = "0.8.0"
features = ["serde"]

[dependencies.cu-consolemon]
version = "0.5.1"

[dependencies.cu-rp-gpio]
version = "0.5.1"

[dependencies.cu29]
version = "0.5.1"

[dependencies.cu29-derive]
version = "0.5.1"

[dependencies.cu29-export]
version = "0.5.1"

[dependencies.cu29-helpers]
version = "0.5.1"

[dependencies.cu29-log]
version = "0.5.1"

[dependencies.cu29-log-derive]
version = "0.5.1"

[dependencies.cu29-log-runtime]
version = "0.5.1"

[dependencies.cu29-traits]
version = "0.5.1"

[dependencies.cu29-unifiedlog]
version = "0.5.1"

[dependencies.tempfile]
version = "3.14.0"

[features]
default = ["mock"]
mock = ["cu-rp-gpio/mock"]
