Cargo Features

krABMaga has no features set by default.

[dependencies]
krabmaga = { version = "0.5.0", features = ["distributed_mpi", "aws", "bayesian", "parallel", "visualization_wasm"] }

Must be kept separate and asked to the user due to missing support for conditional compilation of features https://github.com/rust-lang/cargo/issues/7914 "mpi-fork-fnsp" old dependency, fork of mpi

distributed_mpi = memoffset, mpi

Affects fields::kdtree_mpi, location::Real2D

aws = aws-config, aws-sdk-lambda, aws-sdk-sqs, futures, lambda_runtime, serde, serde_json, tokio
bayesian = friedrich, statrs

Affects bayesian::generate_samples, bayesian::acquisition_function, bayesian::expected_improvement

parallel = clap, crossbeam
visualization visualization_wasm = bevy, bevy_egui, bevy_prototype_lyon, image

Enables bevy_gltf, bevy_render, bevy_winit and png of bevy ^0.13.0, default_fonts of bevy_egui ^0.25.0

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.

crossbeam parallel?

Enables crossbeam

Parallel

clap parallel?

Enables clap ^2.34.0

lambda_runtime aws?

Enables lambda_runtime ^0.4

Model exploration AWS features

serde aws?
serde_json aws?
tokio aws?
aws-config aws?

Enables aws-config ^0.4

aws-sdk-sqs aws?

Enables aws-sdk-sqs ^0.4

aws-sdk-lambda aws?

Enables aws-sdk-lambda ^0.4

futures aws?
mpi distributed_mpi?

Enables mpi ^0.6

memoffset distributed_mpi?

Enables memoffset ^0.6.4

friedrich bayesian?

Enables friedrich ^0.4.1

Bayesian

statrs bayesian?

Enables statrs ^0.15.0

bevy_prototype_lyon visualization? visualization_wasm?

Enables bevy_prototype_lyon ^0.11.0

Visualization features

image visualization? visualization_wasm?

Enables image ^0.24.8

bevy_egui visualization? visualization_wasm?

Enables bevy_egui ^0.25.0

bevy visualization? visualization_wasm?

Enables bevy ^0.13.0