[package]
edition = "2021"
name = "brainbit"
version = "0.0.2"
authors = ["Eugene Hauptmann"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust library for BrainBit EEG headband devices via the NeuroSDK2 C library (runtime-loaded)"
homepage = "https://github.com/eugenehp/brainbit-rs"
documentation = "https://docs.rs/brainbit"
readme = "README.md"
keywords = [
"eeg",
"brainbit",
"neurosdk",
"bci",
"bluetooth",
]
license-file = "LICENSE"
repository = "https://github.com/eugenehp/brainbit-rs"
[features]
default = ["tui"]
tui = [
"dep:ratatui",
"dep:crossterm",
]
[lib]
name = "brainbit"
path = "src/lib.rs"
[[bin]]
name = "brainbit"
path = "src/main.rs"
[[bin]]
name = "brainbit-tui"
path = "src/bin/tui.rs"
required-features = ["tui"]
[[example]]
name = "resist"
path = "examples/resist.rs"
[[example]]
name = "sandbox_test"
path = "examples/sandbox_test.rs"
[[example]]
name = "scan"
path = "examples/scan.rs"
[[example]]
name = "stream"
path = "examples/stream.rs"
[[test]]
name = "types_tests"
path = "tests/types_tests.rs"
[dependencies.crossterm]
version = "0.29"
optional = true
[dependencies.env_logger]
version = "0.11"
[dependencies.libc]
version = "0.2"
[dependencies.libloading]
version = "0.8"
[dependencies.log]
version = "0.4"
[dependencies.ratatui]
version = "0.30"
features = ["crossterm"]
optional = true
[dependencies.thiserror]
version = "2"
[target.'cfg(target_os = "windows")'.dependencies.ctrlc]
version = "3"