Cargo Features

[dependencies]
playdate-device = { version = "0.2.13", default-features = false, features = ["tokio-serial", "tokio", "async-std", "tracing", "clap", "eject"] }
default = tokio, tokio-serial

These default features are set whenever playdate-device is added without default-features = false somewhere in the dependency tree.

tokio-serial default = futures

Enables tokio-serial, io-util and rt of optional tokio

Affects methods::redirect_interface_to_stdout, methods::redirect_port_to_stdout, methods::redirect_to_stdout

tokio default = futures

use tokio reactor

Enables tokio, tokio1 of optional async-std

async-std = futures

use async-std reactor

Enables async-std

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tracing implicit feature

Enables tracing

tracing:

Application-level tracing for Rust

clap implicit feature

Enables clap

clap:

A simple to use, efficient, and full-featured Command Line Argument Parser

eject win implicit feature

Enables eject

eject:

A crate to control the tray of your CD drive

Affects win::unmount.unmount_eject

futures async-std? tokio tokio-serial

Affects discover::devices_data_for, discover::for_each_data_interface