Cargo Features
[dependencies]
symbolica = { version = "0.14.0", default-features = false, features = ["faster_alloc", "full_fn_cmp", "mathematica_api", "python_api", "python_no_module", "python_abi3", "tracing_only_warnings"] }
- 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
- tracing_only_warnings default
-
Enables release_max_level_warn of tracing
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.