# 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.95"
name = "cu-pid"
version = "1.0.0-rc1"
authors = ["Guillaume Binet <gbin@gootz.net>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A PID controller for the Copper project."
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"

[package.metadata.copper]
kind = "task"
domains = ["algorithm/control"]
environments = [
    "host",
    "embedded",
]

[features]
default = ["std"]
reflect = ["cu29/reflect"]
std = [
    "cu29/std",
    "bincode/std",
    "serde/std",
]
textlogs = ["cu29/textlogs"]

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

[dependencies.bincode]
version = "2.0"
features = [
    "derive",
    "alloc",
]
default-features = false
package = "cu-bincode"

[dependencies.cu29]
version = "1.0.0-rc1"
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
]
default-features = false
