Cargo Features

Symbolica has no features set by default.

[dependencies]
symbolica = { version = "0.13.0", features = ["faster_alloc", "full_fn_cmp", "mathematica_api", "python_api", "python_no_module", "python_abi3"] }
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.22

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.

bincode python_api?
tikv-jemallocator faster_alloc?

Enables tikv-jemallocator ^0.5.4

pyo3 python_abi3? python_api?

Enables pyo3 ^0.22