Cargo Features
[dependencies]
v_utils = { version = "2.2.0", default-features = false, features = ["full", "io", "trades", "macros", "llm", "tracing", "distributions", "lite", "slow_tests", "async-sse", "quote"] }
amazing cheatsheet: https://github.com/tokio-rs/tokio/blob/master/tokio/Cargo.toml
- default = lite
-
The
lite
feature is set by default wheneverv_utils
is added without
somewhere in the dependency tree.default-features = false - full = distributions, lite, llm
- io lite
-
Enables dirs
Affects
v_utils::io
… - trades lite
-
Enables chrono
Affects
v_utils::trades
… - macros lite = v_utils_macros
- llm full?
-
Enables bytes, futures, and reqwest
Affects
v_utils::llm
… - tracing lite
-
Enables console-subscriber, tracing-bunyan-formatter, tracing-error, tracing-log, and tracing-subscriber
Affects
utils::tracing
… - distributions full?
-
Enables rand and rand_distr
Affects
v_utils::distributions
… - lite default full? = io, macros, tracing, trades
-
Enables futures
- 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.