Cargo Features

[dependencies]
veilid-core = { version = "0.3.2", default-features = false, features = ["default-async-std", "default-wasm", "rt-async-std", "rt-tokio", "enable-crypto-vld0", "enable-crypto-none", "verbose-tracing", "tracking", "crypto-test", "crypto-test-none", "veilid_core_android_tests", "veilid_core_ios_tests"] }
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, hickory-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 hickory-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
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

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.

DEPENDENCIES

async-std-resolver rt-async-std?

Enables async-std-resolver

Network

hickory-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