Cargo Features

clap-stdin has no features set by default.

[dependencies]
clap-stdin = { version = "0.5.1", features = ["tokio", "test_bin", "test_bin_tokio"] }
tokio test_bin_tokio?

Enables tokio

test_bin = clap

This feature is used for testing with the bins below, since they are linked with deps and not dev-deps

Required by file_or_stdin_optional_arg, file_or_stdin_positional_arg, file_or_stdin_twice, is_stdin, maybe_stdin_optional_arg, maybe_stdin_positional_arg and maybe_stdin_twice binaries

test_bin_tokio = clap, tokio

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.

clap test_bin? test_bin_tokio?