braid-triggerbox 0.5.0

camera synchronization trigger box for Braid
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.89"
name = "braid-triggerbox"
version = "0.5.0"
authors = ["Andrew Straw <strawman@astraw.com>"]
build = false
exclude = [
    "clippy.toml",
    "release-plz.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "camera synchronization trigger box for Braid"
homepage = "https://github.com/strawlab/triggerbox/tree/main/braid-triggerbox-rs"
readme = "README.md"
keywords = [
    "braid",
    "camera",
    "trigger",
    "synchronization",
]
categories = [
    "hardware-support",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/strawlab/triggerbox"

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

[[example]]
name = "standalone-triggerbox-demo"
path = "examples/standalone-triggerbox-demo.rs"

[dependencies.anyhow]
version = "1.0.104"

[dependencies.braid-triggerbox-comms]
version = "0.2"

[dependencies.chrono]
version = "0.4.45"
features = [
    "clock",
    "std",
]
default-features = false

[dependencies.crc]
version = "3.4"

[dependencies.log]
version = "0.4.34"

[dependencies.lstsq]
version = "0.8.0"

[dependencies.nalgebra]
version = "0.35"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.53"
features = [
    "sync",
    "macros",
    "time",
    "io-util",
    "rt-multi-thread",
]
default-features = false

[dependencies.tokio-serial]
version = "5.5.0"

[dev-dependencies.clap]
version = "4.6"
features = ["derive"]

[dev-dependencies.env_logger]
version = "0.11.11"

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
arithmetic_side_effects = "warn"
dbg_macro = "warn"
expect_used = "warn"
indexing_slicing = "warn"
panic = "warn"
todo = "warn"
unimplemented = "warn"
unreachable = "warn"
unwrap_used = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_lifetimes = "warn"
unused_qualifications = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[profile.release]
overflow-checks = true