bitwuzla-sys

Crates.iobitwuzla-sys
lib.rsbitwuzla-sys
version0.5.1
sourcesrc
created_at2021-11-25 12:05:02.020256
updated_at2024-07-09 17:07:16.048813
descriptionLow-level bindings for the Bitwuzla SMT solver
homepagehttps://github.com/fatemender/bitwuzla-sys
repositoryhttps://github.com/fatemender/bitwuzla-sys
max_upload_size
id487581
size33,485,732
Mikhail Solovev (fatemender)

documentation

https://docs.rs/bitwuzla-sys

README

crates.io docs.rs

bitwuzla-sys

This Rust crate provides low-level bindings for the Bitwuzla SMT solver, version 0.5.0.

Installation

Using shared bitwuzla library

Compile bitwuzla as a shared library and install it. Then add this crate to your Cargo.toml:

[dependencies]
bitwuzla-sys = "0.5"

Using vendored static bitwuzla library

This is possible on UNIX-like targets only. Add this crate to your Cargo.toml with the vendor-cadical feature enabled:

[dependencies]
bitwuzla-sys = { version = "0.5", features = ["vendor-cadical"] }

Enabling vendor-cadical will automatically build a static bitwuzla library and link against it. Currently this uses the CaDiCaL SAT solver.

In order for the build to succeed, you'll need to install some tools on your build host; for a Debian-based distribution build-essential, git, m4, and meson should be sufficient.

License

This crate is licensed under the MIT license.

Commit count: 9

cargo fmt