Cargo Features

[dependencies]
v_utils = { version = "2.15.37", default-features = false, features = ["full", "io", "xdg", "cli", "async-io", "assert-wasm-compat", "trades", "macros", "tracing", "bevy", "distributions", "wasm", "lite", "async-sse", "bytes", "reqwest", "quote"] }
default = lite

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

full = cli, distributions, lite, xdg

Enables console-subscriber and full of tokio

by default only enable features that play with wasm.

io cli? lite

Enables dirs and libc

Affects v_utils::io

xdg full?

Enables xdg, xdg of v_utils_macros

cli full? = io

Enables config, facet, facet-json, facet-toml, and toml, cli of v_utils_macros

async-io

Enables io-std, process and rt-multi-thread of tokio

Affects io::file_open

assert-wasm-compat
trades lite

Enables jiff and strum

Affects v_utils::trades

macros lite = v_utils_macros
tracing lite

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

Affects utils::tracing

bevy

Enables bevy

Affects v_utils::bevy

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

Affects v_utils::prelude

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.

v_utils_macros cli? macros? xdg?
async-sse implicit feature

Enables async-sse

async-sse:

Async Server Sent Event parser and encoder

bytes implicit feature

Enables bytes

bytes:

Types and traits for working with bytes

reqwest implicit feature

Enables reqwest

reqwest:

higher level HTTP client library

quote implicit feature

Enables quote

quote:

Quasi-quoting macro quote!(...)