[package]
edition = "2024"
rust-version = "1.95"
name = "cu-safetymon"
version = "1.2.0"
authors = ["Guillaume Binet <gbin@gootz.net>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safety monitor for Copper: watchdog, panic capture, fault latching with exit codes."
homepage = "https://github.com/copper-project"
documentation = "https://docs.rs/cu-safetymon"
readme = false
keywords = [
"robotics",
"middleware",
"copper",
"real-time",
]
categories = ["science::robotics"]
license = "Apache-2.0"
repository = "https://github.com/copper-project/copper-rs"
[package.metadata.copper]
kind = "monitor"
domains = ["monitor/safety"]
environments = [
"host",
"embedded",
]
[package.metadata.copper-safety]
scope = "monitor/safety"
[features]
default = ["std"]
safety-ids = [
"std",
"cu29/safety-ids",
]
std = ["cu29/std"]
[lib]
name = "cu_safetymon"
path = "src/lib.rs"
[[test]]
name = "safety_ids"
path = "tests/safety_ids.rs"
harness = false
required-features = ["safety-ids"]
[[test]]
name = "safety_monitoring"
path = "tests/safety_monitoring.rs"
[dependencies.cu29]
version = "1.2.0"
default-features = false
[build-dependencies.cu29-build]
version = "1.2.0"