Cargo Features

[dependencies]
veilid-tools = { version = "0.3.2", default-features = false, features = ["rt-async-std", "rt-tokio", "rt-wasm-bindgen", "veilid_tools_android_tests", "veilid_tools_ios_tests", "tracing"] }
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

Enables bindgen and timer of async_executors

veilid_tools_android_tests

Enables paranoid-android

veilid_tools_ios_tests

Enables oslog, tracing, and tracing-oslog

tracing

Enables tracing and tracing-subscriber

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 rt-async-std?
tokio not wasm32 rt-tokio
tokio-stream not wasm32 rt-tokio
tokio-util not wasm32 rt-tokio