Cargo Features
[dependencies]
symbolica = { version = "0.16.0", default-features = false, features = ["faster_alloc", "full_fn_cmp", "mathematica_api", "python_api", "python_no_module", "python_abi3", "tracing_only_warnings", "serde", "bincode"] }
- default = tracing_only_warnings
-
The
tracing_only_warnings
feature is set by default wheneversymbolica
is added without
somewhere in the dependency tree.default-features = false - faster_alloc = tikv-jemallocator
-
if using this, make sure jemalloc is compiled with --disable-initial-exec-tls if symbolica is used as a dynamic library (as is the case for the Python API)
- full_fn_cmp
-
sort functions based on an argument-by-argument comparison
- mathematica_api = wolfram-library-link
-
Affects
api::mathematica
… - python_api python_no_module? = bincode, pyo3
-
Affects
api::python
… - python_no_module = python_api
-
do not create a Python module but allow other crates to do so
Affects
symbolica::api
… - python_abi3
-
build a module that is independent of the specific Python version
Enables abi3-py37 of pyo3 ^0.23
- tracing_only_warnings default
-
Enables release_max_level_warn of tracing
- serde
-
import/export objects that do not depend on the state using serde
Enables serde, serde of rug =1.25.0
- bincode python_api?
-
allow importing/exporting of atoms with a state map using bincode
Enables bincode
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.