# 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 = "twine-ctl"
version = "0.1.0"
authors = ["Jake Swensen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tools for working with Thread"
readme = false
license = "MPL-2.0"
repository = "https://github.com/twine-rs/twine-rs"

[features]
alloc = []
build-batch-join = [
    "std",
    "dep:clap",
    "dep:env_logger",
    "twine-codec/std",
]
build-info-dump = [
    "dep:clap",
    "dep:env_logger",
]
std = ["alloc"]

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

[[bin]]
name = "batch-join"
path = "src/bin/batch-join.rs"
required-features = ["build-batch-join"]

[[bin]]
name = "info-dump"
path = "src/bin/info-dump.rs"
required-features = ["build-info-dump"]

[dependencies.async-trait]
version = "0.1.89"

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.env_logger]
version = "0.11.8"
optional = true

[dependencies.log]
version = "0.4.27"

[dependencies.serialport]
version = "4.8.1"
features = [
    "serde",
    "usbportinfo-interface",
]

[dependencies.thiserror]
version = "2.0.12"
default-features = false

[dependencies.tokio]
version = "1.49.0"
features = ["full"]

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

[dependencies.twine-codec]
version = "0.1"
features = ["alloc"]
default-features = false

[dependencies.twine-rs-macros]
version = "0.1"
