# 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 = "playdate-device" version = "0.2.13" authors = ["Alex Koz "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Cross-platform interface Playdate device, async & blocking." homepage = "https://github.com/boozook/playdate" readme = "README.md" keywords = [ "playdate", "usb", "serial", ] categories = ["hardware-support"] license = "MIT OR Apache-2.0" repository = "https://github.com/boozook/playdate.git" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] rustdoc-args = ["--show-type-layout"] [lib] name = "playdate_device" path = "src/lib.rs" [dependencies.async-std] version = "1.12" features = [ "std", "log", "gloo-timers", "futures-lite", "pin-project-lite", "unstable", "default", ] optional = true default-features = false [dependencies.clap] version = "4.5" features = [ "std", "env", "derive", "help", "color", ] optional = true [dependencies.futures] version = "0.3" optional = true [dependencies.futures-lite] version = "2.3" [dependencies.hex] version = "0.4" [dependencies.log] version = "0.4" [dependencies.miette] version = "7.2" [dependencies.nusb] version = "0.1" [dependencies.object-pool] version = "0.5" [dependencies.regex] version = "1" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serialport] version = "4.3" features = ["usbportinfo-interface"] [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.37" features = [ "fs", "process", "time", "io-std", ] optional = true default-features = false [dependencies.tokio-serial] version = "5.4" optional = true [dependencies.tracing] version = "0.1" optional = true [dependencies.usb-ids] version = "1.2024.2" [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", ] [target.'cfg(target_os = "linux")'.dependencies.eject] version = "0.1" [target.'cfg(target_os = "linux")'.dependencies.lfs-core] version = "0.11" [target.'cfg(target_os = "linux")'.dependencies.udev] version = "0.8" [target.'cfg(target_os = "macos")'.dependencies.const-hex] version = "1.11" [target.'cfg(target_os = "macos")'.dependencies.plist] version = "1.6" [target.'cfg(target_os = "windows")'.dependencies.eject] version = "0.1" optional = true [target.'cfg(target_os = "windows")'.dependencies.windows] version = "0.58" features = [ "Win32_Foundation", "Win32_Storage", "Win32_Storage_FileSystem", "Win32_System", "Win32_System_IO", "Win32_System_Ioctl", "Win32_Security", ] [badges.maintenance] status = "actively-developed"