Cargo Features

[dependencies]
stage = { version = "0.2.0", default-features = false, features = ["use-mirai", "tcp", "udp"] }
default = tcp, udp

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

use-mirai tcp udp = mirai
tcp default = use-mirai

Enables tcp of mirai

udp default = use-mirai

Enables udp of mirai

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.

mirai tcp udp use-mirai?