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 wheneverv_utils
is added without
somewhere in the dependency tree.default-features = false - io lite
-
Affects
v_utils::io
… - trades lite
-
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
-
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 buildsEnables 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.