File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " stochastic-rs"
3- version = " 0.13.1 "
3+ version = " 0.13.2 "
44edition = " 2021"
55license = " MIT"
66description = " A Rust library for quant finance and simulating stochastic processes."
@@ -16,10 +16,9 @@ anyhow = "1.0.89"
1616approx = " 0.5.1"
1717argmin = " 0.10.0"
1818bytemuck = " 1.22.0"
19- candle-core = " =0.8.1"
20- candle-datasets = " =0.8.1"
21- candle-nn = " =0.8.1"
22- candle-transformers = " =0.8.1"
19+ candle-core = { version = " =0.8.1" , optional = true }
20+ candle-datasets = { version = " =0.8.1" , optional = true }
21+ candle-nn = { version = " =0.8.1" , optional = true }
2322chrono = " 0.4.38"
2423cudarc = { version = " 0.13.9" , optional = true , features = [
2524 " cuda-12080" ,
@@ -74,6 +73,7 @@ yahoo_finance_api = { version = "2.3.0", optional = true }
7473[dev-dependencies ]
7574
7675[features ]
76+ ai = [" dep:candle-core" , " dep:candle-datasets" , " dep:candle-nn" ]
7777cuda = [" dep:cudarc" , " dep:libloading" ]
7878default = []
7979jemalloc = [" dep:tikv-jemallocator" ]
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
1616#[ global_allocator]
1717static GLOBAL : tikv_jemallocator:: Jemalloc = tikv_jemallocator:: Jemalloc ;
1818
19+ #[ cfg( feature = "ai" ) ]
1920pub mod ai;
2021#[ doc( hidden) ]
2122mod macros;
You can’t perform that action at this time.
0 commit comments