Cargo Features
optimization_engine has no features set by default.
[dependencies]
optimization_engine = { version = "0.9.1", features = ["jem", "rp", "wasm"] }
--------------------------------------------------------------------------
F.E.A.T.U.R.E.S.
--------------------------------------------------------------------------
- jem = jemallocator
-
Use
jemallocator
as a global memory allocator (requires the dependencyjemallocator
- see above) - rp = rpmalloc
-
RPMalloc
- wasm = wasm-bindgen
-
WebAssembly
Enables inaccurate and wasm-bindgen of instant
Instant is a generic timer that works on Wasm (with wasm-bindgen)
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.
--------------------------------------------------------------------------
D.E.P.E.N.D.E.N.C.I.E.S
--------------------------------------------------------------------------
- wasm-bindgen wasm?
-
Enables wasm-bindgen
Wasm-bindgen is only activated if OpEn is compiled with
--features wasm
- rpmalloc rp?
-
Enables rpmalloc
sc-allocator provides an implementation of a bump allocator
- jemallocator not msvc jem?