Cargo Features

LCAx has no features set by default.

[dependencies]
lcax = { version = "2.1.2", features = ["pybindings", "jsbindings"] }
pybindings = pyo3

Enables pybindings of lcax_models and extension-module of pyo3

Python Bindings

Affects lcax::python

jsbindings = console_error_panic_hook, getrandom, serde-wasm-bindgen, tsify, wasm-bindgen, wee_alloc

Enables jsbindings of lcax_models

Affects lcax::javascript

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.

pyo3 pybindings?
wee_alloc jsbindings?

Enables wee_alloc

JS Bindings

wasm-bindgen jsbindings?
serde-wasm-bindgen jsbindings?
console_error_panic_hook jsbindings?
tsify jsbindings?
getrandom jsbindings?