playdate-device 0.2.16

Cross-platform interface Playdate device, async & blocking.
Documentation
[badges.maintenance]
status = "actively-developed"

[dependencies.async-std]
default-features = false
features = ["std", "log", "gloo-timers", "futures-lite", "pin-project-lite", "unstable", "default"]
optional = true
version = "1.13"

[dependencies.clap]
features = ["std", "env", "derive", "help", "color"]
optional = true
version = "4.5"

[dependencies.futures]
optional = true
version = "0.3"

[dependencies.futures-lite]
version = "2.6"

[dependencies.hex]
version = "0.4"

[dependencies.log]
version = "0.4"

[dependencies.miette]
version = "7.4"

[dependencies.nusb]
version = "0.1"

[dependencies.object-pool]
version = "0.6"

[dependencies.regex]
version = "1"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.serialport]
features = ["usbportinfo-interface"]
version = "4.7"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
default-features = false
features = ["fs", "process", "time", "io-std"]
optional = true
version = "1.43"

[dependencies.tokio-serial]
optional = true
version = "5.4"

[dependencies.tracing]
optional = true
version = "0.1"

[dependencies.usb-ids]
version = "1.2025.1"

[features]
async-std = ["futures", "dep:async-std"]
default = ["tokio", "tokio-serial"]
tokio = ["futures", "dep:tokio", "async-std?/tokio1"]
tokio-serial = ["futures", "dep:tokio-serial", "tokio?/io-util", "tokio?/rt"]

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

[package]
authors = ["Alex Koz <a@koz.email>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["hardware-support"]
description = "Cross-platform interface Playdate device, async & blocking."
edition = "2021"
homepage = "https://github.com/boozook/playdate"
keywords = ["playdate", "usb", "serial"]
license = "MIT OR Apache-2.0"
name = "playdate-device"
readme = "README.md"
repository = "https://github.com/boozook/playdate.git"
version = "0.2.16"

[package.metadata.docs.rs]
all-features = true
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]

[target.'cfg(target_os = "linux")'.dependencies.eject]
version = "0.1"

[target.'cfg(target_os = "linux")'.dependencies.lfs-core]
version = "0.12"

[target.'cfg(target_os = "linux")'.dependencies.udev]
version = "0.9"

[target.'cfg(target_os = "macos")'.dependencies.const-hex]
version = "1.14"

[target.'cfg(target_os = "macos")'.dependencies.plist]
version = "1.7"

[target.'cfg(target_os = "windows")'.dependencies.eject]
optional = true
version = "0.1"

[target.'cfg(target_os = "windows")'.dependencies.windows]
features = ["Win32_Foundation", "Win32_Storage", "Win32_Storage_FileSystem", "Win32_System", "Win32_System_IO", "Win32_System_Ioctl", "Win32_Security"]
version = "0.61"