Cargo Features

[dependencies]
mathlikeanim-rs = { version = "0.9.2", default-features = false, features = ["browser", "node"] }
default = browser, node

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

browser default

Enables web-sys

Affects animations::move_camera, animations::move_camera_svg, wasm_interface::move_camera_svg_js, wasm_interface::move_camera_js, mathlikeanim-rs::web_renderer, mathlikeanim-rs::scene, mathlikeanim-rs::svg_scene, mathjax::mathjax_web, text_to_vector::text_to_vector_browser, utils::sleep

node default

Affects animations::move_camera_node, wasm_interface::move_camera_node_js, mathlikeanim-rs::node_scene, mathlikeanim-rs::node_renderer, mathjax::mathjax_node, text_to_vector::text_to_vector_node