Cargo Features

[dependencies]
ch4 = { version = "0.16.0", default-features = false, features = ["net-std", "net-tokio", "net-async-std", "net-smol", "socket2"] }
default = net-tokio

The net-tokio feature is set by default whenever ch4 is added without default-features = false somewhere in the dependency tree.

net-std

Enables net-std of rsdns

net-tokio default = tokio

Enables net-tokio of rsdns

net-async-std = async-std

Enables net-async-std of rsdns

net-smol = smol

Enables net-smol of rsdns

socket2

Enables socket2 of rsdns

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.

tokio net-tokio
async-std net-async-std?
smol net-smol?