Cargo Features

[dependencies]
veilid-core = { version = "0.2.5", default-features = false, features = ["default-async-std", "default-wasm", "rt-async-std", "rt-tokio", "enable-crypto-vld0", "enable-crypto-none", "verbose-tracing", "debug-dht", "crypto-test", "crypto-test-none", "veilid_core_android_tests", "veilid_core_ios_tests", "network-result-extra"] }
default = enable-crypto-vld0, rt-tokio

Common features

default-async-std = enable-crypto-vld0, rt-async-std
default-wasm = enable-crypto-vld0
rt-async-std default-async-std? = async-std, async-std-resolver, trust-dns-resolver

Runtimes

Enables async_std of async_executors and rt-async-std of veilid-tools

Tools

rt-tokio default = tokio, tokio-stream, tokio-util

Enables tokio_io, tokio_timer and tokio_tp of async_executors, tokio-runtime of trust-dns-resolver, rt-tokio of veilid-tools

enable-crypto-vld0 default crypto-test? default-async-std? default-wasm?

Crypto support features

Affects crypto::vld0

enable-crypto-none crypto-test? crypto-test-none?

Affects crypto::none

verbose-tracing

Debugging and testing features

tracking debug-dht
crypto-test = enable-crypto-none, enable-crypto-vld0
crypto-test-none = enable-crypto-none
veilid_core_android_tests

Enables paranoid-android

veilid_core_ios_tests

Enables tracing-oslog

network-result-extra

Enables network-result-extra of veilid-tools

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

DEPENDENCIES

async-std-resolver rt-async-std?

Enables async-std-resolver ^0.23.0

Network

trust-dns-resolver rt-async-std? rt-tokio
async-std not wasm32 rt-async-std?
tokio not wasm32 rt-tokio
tokio-stream not wasm32 rt-tokio
tokio-util not wasm32 rt-tokio