Cargo Features

[dependencies]
ms_toollib = { version = "1.4.11", default-features = false, features = ["js", "py", "rs"] }
default = rs

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

js = getrandom, web-sys

Affects utils::get_random_int, utils::js_shuffle

py = rand, tract-onnx

Affects algorithms::laymine_solvable_thread, algorithms::sample_3BVs_exp, algorithms::OBR_board, algorithms::agent_step, miscellaneous::time_ms_between, safe_board::SafeBoardRow, safe_board::SafeBoard, base_video::BaseVideo.video_start_instant, base_video::BaseVideo.game_start_ms

rs default = rand, tract-onnx

Affects algorithms::laymine_solvable_thread, algorithms::sample_3BVs_exp, algorithms::OBR_board, algorithms::agent_step, miscellaneous::time_ms_between, safe_board::SafeBoardRow, safe_board::SafeBoard, base_video::BaseVideo.video_start_instant, base_video::BaseVideo.game_start_ms

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.

getrandom js?
web-sys js?
rand py? rs
tract-onnx py? rs

Enables tract-onnx ^0.15.8