Cargo Features

[dependencies]
v_utils = { version = "2.5.2", default-features = false, features = ["io", "trades", "macros", "llm", "tracing", "distributions", "wasm", "lite", "full", "slow_tests", "async-sse", "quote", "libc"] }
default = lite

The lite feature is set by default whenever v_utils is added without default-features = false somewhere in the dependency tree.

io lite

Enables dirs and xdg

Affects v_utils::io

trades lite

Enables chrono and strum

Affects v_utils::trades

macros lite = v_utils_macros
llm full?

Enables bytes, futures, and reqwest

Affects v_utils::llm

tracing lite

Enables tracing-error, tracing-log, tracing-subscriber, and xdg

Affects utils::tracing

distributions full?

Enables rand and rand_distr

Affects v_utils::distributions

wasm

Enables console_error_panic_hook and console_log

lite default full? = io, macros, tracing, trades

Enables futures and tokio

tokio:

optional

by default only enable features that play with wasm.

Affects v_utils::prelude

full = distributions, lite, llm

console-subscriber also is pulling tokio with mio, breaking wasm builds

Enables console-subscriber, full of tokio

slow_tests

dev only

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-sse implicit feature

Enables async-sse

async-sse:

Async Server Sent Event parser and encoder

quote implicit feature

Enables quote

quote:

Quasi-quoting macro quote!(...)

libc implicit feature

Enables libc

libc:

Raw FFI bindings to platform libraries like libc

v_utils_macros macros?