Cargo Features

[dependencies]
argmin = { version = "0.11.0", default-features = false, features = ["rand", "wasm-bindgen", "serde1", "full", "rayon"] }
default full? = rand

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

rand default

Enables rand, rand of argmin-math

Affects solver::particleswarm, solver::simulatedannealing

wasm-bindgen

Enables wasm_js of getrandom

getrandom:

Optional backend: wasm_js
This flag enables the wasm_js backend and uses it by default on wasm32 where the target_os is unknown. The getrandom_backend cfg may override this.
WARNING: It is highly recommended to enable this feature only for binary crates and tests,
i.e. avoid unconditionally enabling it in library crates.

serde1 full? = serde

Enables serde of rand_xoshiro

full = ctrlc, default, serde1

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

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.

ctrlc full?

Enables ctrlc

optional

getrandom wasm-bindgen?
rayon implicit feature

Enables rayon

rayon:

Simple work-stealing parallelism for Rust

Affects parallelization::SendAlias, parallelization::SyncAlias

serde serde1?