| Crates.io | quantrs2-symengine |
| lib.rs | quantrs2-symengine |
| version | 0.1.0-beta.1 |
| created_at | 2025-06-17 11:50:50.065942+00 |
| updated_at | 2025-09-21 13:29:44.202428+00 |
| description | Symbolic Computation in Rust via SymEngine |
| homepage | |
| repository | https://github.com/cool-japan/symengine-rs |
| max_upload_size | |
| id | 1715588 |
| size | 56,683 |
Rust bindings to SymEngine.
This is a fork of the original symengine-rs with fixes for macOS and updated symengine-sys bindings.
You need to have SymEngine installed on your system.
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"
Add this to your Cargo.toml:
[dependencies]
symengine = { git = "https://github.com/cool-japan/symengine-rs.git", branch = "fixed-macos" }
MIT