Cargo Features

[dependencies]
shellfish = { version = "0.10.1", default-features = false, features = ["app", "async", "rustyline", "async-std", "tokio", "clap"] }
default = rustyline

The rustyline feature is set by default whenever shellfish is added without default-features = false somewhere in the dependency tree.

app = home, serde, serde_json

Affects handler::app, shellfish::app, handler::async_app

async = async-trait, cfg-if

Affects command::AsyncCommandFn, handler::asynchronous, handler::async_app

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.

rustyline default
serde app?
serde_json app?
home app?
async-trait async?
async-std implicit feature

Enables async-std

async-std:

Async version of the Rust standard library

tokio implicit feature

Enables tokio

tokio:

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications

cfg-if async?
clap implicit feature

Enables clap

clap:

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