Cargo Features

Symbolica has no features set by default.

[dependencies]
symbolica = { version = "0.4.0", features = ["faster_alloc", "mathematica_api", "python_api", "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)

mathematica_api = wolfram-library-link

Affects api::mathematica

python_api = bincode, pyo3, self_cell

Affects api::python

python_abi3

build a module that is independent of the specific Python version

Enables abi3-py37 of pyo3 ^0.20

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?
self_cell python_api?
tikv-jemallocator faster_alloc?
pyo3 python_abi3? python_api?

Enables pyo3 ^0.20