Cargo Features

[dependencies]
veilid-core = { version = "0.4.1", 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", "debug-locks", "unstable-blockstore", "unstable-tunnels"] }
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 ^0.1.2

debug-locks

Enables debug-locks of veilid-tools

unstable-blockstore

Affects core_context::VeilidCoreContext.block_store, node_info::CAP_BLOCKSTORE

unstable-tunnels

Affects node_info::CAP_TUNNEL, operation_cancel_tunnel::RPCOperationCancelTunnelA, operation_complete_tunnel::RPCOperationCompleteTunnelA, test_types::test_tunnelmode, test_types::test_tunnelerror, test_types::test_tunnelendpoint, test_types::test_fulltunnel, test_types::test_partialtunnel, tunnel::TunnelId, tunnel::TunnelMode, tunnel::TunnelError, tunnel::TunnelEndpoint, tunnel::FullTunnel, tunnel::PartialTunnel

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