Cargo Features

[dependencies]
veilid-tools = { version = "0.4.3", default-features = false, features = ["rt-async-std", "rt-tokio", "rt-wasm-bindgen", "veilid_tools_android_tests", "veilid_tools_ios_tests", "tracing", "debug-locks", "virtual-network", "virtual-network-server", "virtual-router-bin"] }
default = rt-tokio

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

rt-async-std = async-std

Enables async_std of async_executors, smol_socket of rtnetlink =0.13.1

Affects native::block_on

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

Enables tokio_io, tokio_timer and tokio_tp of async_executors, tokio_socket of rtnetlink =0.13.1

Affects native::block_on

rt-wasm-bindgen = ws_stream_wasm

Enables bindgen and timer of async_executors

veilid_tools_android_tests

Enables paranoid-android

veilid_tools_ios_tests

Enables oslog, tracing, and tracing-oslog ^0.1.2

tracing virtual-router-bin?

Enables tracing and tracing-subscriber, tracing of tokio

debug-locks
virtual-network

Affects veilid-tools::virtual_network

virtual-network-server virtual-router-bin?

Enables async-tungstenite ^0.28.0, indent, ipnet, rand_chacha ^0.3.1, serde_yaml_ng, validator ^0.19.0, and ws_stream_tungstenite

virtual-router-bin = tracing, virtual-network-server

Enables veilid-bugsalot, clap, and time

Required by the virtual_router 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.

async-std not wasm32 not unknown rt-async-std?
tokio-stream not wasm32 not unknown rt-tokio
tokio-util not wasm32 not unknown rt-tokio
ws_stream_wasm wasm32 unknown rt-wasm-bindgen?
tokio not wasm32 not unknown rt-tokio tracing?