quantrs2-symengine 0.1.0-rc.1

Symbolic Computation in Rust via SymEngine
docs.rs failed to build quantrs2-symengine-0.1.0-rc.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

symengine-rs

Rust bindings to SymEngine.

This is a fork of the original symengine-rs with fixes for macOS and updated symengine-sys bindings.

Requirements

You need to have SymEngine installed on your system.

macOS

brew install symengine gmp mpfr

When building, set the following environment variables:

export SYMENGINE_DIR=$(brew --prefix symengine)
export GMP_DIR=$(brew --prefix gmp)
export MPFR_DIR=$(brew --prefix mpfr)
export BINDGEN_EXTRA_CLANG_ARGS="-I$(brew --prefix symengine)/include -I$(brew --prefix gmp)/include -I$(brew --prefix mpfr)/include"

Usage

Add this to your Cargo.toml:

[dependencies]
symengine = { git = "https://github.com/cool-japan/symengine-rs.git", branch = "fixed-macos" }

License

MIT