Cargo Features

stochastic-rs has no features set by default.

[dependencies]
stochastic-rs = { version = "1.5.0", features = ["ai", "cuda", "jemalloc", "python", "mimalloc", "yahoo", "openblas-src"] }
ai

Enables candle-core, candle-datasets, candle-nn, and polars ^0.43.1

Affects stochastic-rs::ai

cuda

Enables cudarc and libloading

Affects traits::ProcessExt.sample_cuda

jemalloc

Enables tikv-jemallocator

python

Enables numpy ^0.27 and pyo3 ^0.27

Affects adg::PyADG, bgm::PyBGM, hjm::PyHJM, ho_lee::PyHoLee, hull_white::PyHullWhite, hull_white_2f::PyHullWhite2F, wu_zhang::PyWuZhangD, bates::PyBates, jump_fou::PyJumpFOU, jump_fou_custom::PyJumpFOUCustom, kou::PyKOU, levy_diffusion::PyLevyDiffusion, merton::PyMerton, ccustom::PyCompoundCustom, cpoisson::PyCompoundPoisson, customjt::PyCustomJt, fbm::PyFBM, ctrw::PyCTRW, bates_svj::PyBatesSVJ, bergomi::PyBergomi

mimalloc

Enables mimalloc

yahoo

Enables polars ^0.43.1, time, tokio-test, and yahoo_finance_api ^2.3.0

Affects quant::yahoo

Features from optional dependencies

openblas-src implicit feature

Enables openblas-src

openblas-src:

The package provides a source of BLAS and LAPACK via OpenBLAS