Cargo Features

argmin = { version = "0.8.1", default-features = false, features = ["wasm-bindgen", "slog-logger", "serde1", "full", "getrandom", "gnuplot", "rayon"] }
default full? = serde1, slog-logger

These default features are set whenever argmin is added without default-features = false somewhere in the dependency tree.


Enables js of getrandom, wasm-bindgen of instant

slog-logger default full? = slog, slog-async, slog-term

Affects observers::slog_logger

serde1 default full? = bincode, serde, serde_json, slog-json

Enables serde1 of rand and rand_xoshiro

Affects observers::file, serialization::SerializeAlias, serialization::DeserializeOwnedAlias

_nalgebral _full_dev?

Enables nalgebra_latest-serde of argmin-math

_ndarrayl _full_dev?

Enables ndarray_latest-serde and _dev_linalg_latest of argmin-math

full _full_dev? = ctrlc, default, serde1, slog-logger

When adding new features, please consider adding them to either full (for users) or _full_dev (only for local development, tesing and computing test coverage).

_full_dev = _nalgebral, _ndarrayl, full

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

bincode serde1

ctrlc full?
getrandom implicit feature

With js

gnuplot implicit feature

Enables gnuplot ^0.0.37

rayon implicit feature

Affects parallelization::SendAlias, parallelization::SyncAlias

serde serde1

With derive, rc and default (std)

serde_json serde1

With default (std)

slog slog-logger

With dynamic-keys and default (std)

slog-term slog-logger
slog-async slog-logger
slog-json serde1