mendi 0.0.2

Rust client for the Mendi neurofeedback headband over BLE using btleplug
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 = "2021"
rust-version = "1.75"
name = "mendi"
version = "0.0.2"
authors = ["Eugene Hauptmann"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for the Mendi neurofeedback headband over BLE using btleplug"
homepage = "https://github.com/eugenehp/mendi"
documentation = "https://docs.rs/mendi"
readme = "README.md"
keywords = [
    "fnirs",
    "neurofeedback",
    "ble",
    "mendi",
    "brain",
]
categories = [
    "science",
    "hardware-support",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/eugenehp/mendi"

[features]
default = []
regenerate-proto = ["dep:prost-build"]
simulate = ["dep:rand"]
tui = [
    "dep:ratatui",
    "dep:crossterm",
    "simulate",
]

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

[[bin]]
name = "mendi"
path = "src/main.rs"

[[bin]]
name = "mendi-sim"
path = "src/bin/simulate.rs"
required-features = ["simulate"]

[[bin]]
name = "mendi-tui"
path = "src/bin/tui.rs"
required-features = ["tui"]

[[test]]
name = "parse_tests"
path = "tests/parse_tests.rs"

[[test]]
name = "protocol_tests"
path = "tests/protocol_tests.rs"

[[test]]
name = "simulate_tests"
path = "tests/simulate_tests.rs"

[[test]]
name = "types_tests"
path = "tests/types_tests.rs"

[dependencies.anyhow]
version = "1"

[dependencies.btleplug]
version = "0.11.8"

[dependencies.crossterm]
version = "0.29"
optional = true

[dependencies.env_logger]
version = "0.11"

[dependencies.futures]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.prost]
version = "0.13"

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.ratatui]
version = "0.30.0"
features = ["crossterm"]
optional = true

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

[dependencies.uuid]
version = "1"
features = ["v4"]

[build-dependencies.prost-build]
version = "0.13"
optional = true