[package]
edition = "2024"
name = "chessnut-move"
version = "1.0.2"
build = false
include = [
"/src",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed, transport-independent SDK for Chessnut Move boards."
readme = "README.md"
keywords = [
"chess",
"chessnut",
"move",
"sdk",
"api",
]
categories = [
"no-std",
"asynchronous",
"api-bindings",
"embedded",
"hardware-support",
]
license = "Apache-2.0"
repository = "https://github.com/daymxn/chessnut-move-rs"
[package.metadata.docs.rs]
all-features = true
[features]
alloc = []
async = []
blocking = []
btleplug = [
"std",
"async",
"dep:btleplug",
"dep:futures-util",
"dep:uuid",
]
default = [
"std",
"async",
]
std = [
"thiserror/std",
"tracing?/std",
]
tokio = [
"std",
"alloc",
"async",
"dep:tokio",
"dep:tokio-stream",
]
tracing = [
"alloc",
"dep:tracing",
]
[lib]
name = "chessnut_move"
path = "src/lib.rs"
[dependencies.btleplug]
version = "0.12"
optional = true
[dependencies.futures-util]
version = "0.3"
optional = true
[dependencies.thiserror]
version = "2"
default-features = false
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"sync",
"time",
]
optional = true
[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]
optional = true
[dependencies.tracing]
version = "0.1"
optional = true
default-features = false
[dependencies.uuid]
version = "1"
optional = true
[dev-dependencies.futures-executor]
version = "0.3"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"signal",
"sync",
"test-util",
"time",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]