Cargo Features

rl_ball_sym = { version = "4.1.2", default-features = false, features = ["compression", "standard", "hoops", "dropshot", "throwback", "heatseeker", "serde"] }
default = dropshot, heatseeker, hoops, throwback

These default features are set whenever rl_ball_sym is added without default-features = false somewhere in the dependency tree.

compression = include-flate
standard heatseeker

Affects compressed::standard_field, loading::load_standard, field::get_standard_walls, field::initialize_standard, uncompressed::standard_field

hoops default

Affects compressed::hoops_field, loading::load_hoops, field::get_hoops_walls, field::initialize_hoops, uncompressed::hoops_field

dropshot default

Affects compressed::dropshot_field, loading::load_dropshot, field::initialize_dropshot, uncompressed::dropshot_field

throwback default

Affects compressed::throwback_stadium, loading::load_standard_throwback, field::InitializeThrowbackParams, field::initialize_throwback, uncompressed::throwback_stadium

heatseeker default = standard

Affects loading::load_standard_heatseeker, geometry::Angle


Enables serde, serde of glam

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.

include-flate compression?