Cargo Features

AP-KCP has no features set by default.

ap_kcp = { version = "0.1.1", features = ["full", "serde_support", "crypto_support", "build_binary"] }
full = crypto_support, serde_support
serde_support build_binary? full? = serde, serde_derive
crypto_support build_binary? full? = ring
build_binary = clap, crypto_support, num_cpus, serde_support, toml

Required by the ap-kcp-tun binary

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.

num_cpus build_binary?
serde serde_support?
serde_derive serde_support?
toml build_binary?

Enables toml ^0.5

ring crypto_support?

Enables ring ^0.16

Affects ap_kcp::crypto

clap build_binary?

Enables clap ^2.33