Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fatemender/bitwuzla-sys
Low-level Rust bindings for the Bitwuzla SMT solver
https://github.com/fatemender/bitwuzla-sys
Last synced: 1 day ago
JSON representation
Low-level Rust bindings for the Bitwuzla SMT solver
- Host: GitHub
- URL: https://github.com/fatemender/bitwuzla-sys
- Owner: fatemender
- License: mit
- Created: 2021-11-25T11:59:57.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-26T10:42:30.000Z (over 2 years ago)
- Last Synced: 2024-05-22T20:34:39.400Z (6 months ago)
- Language: Rust
- Size: 11.7 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rust-formalized-reasoning - bitwuzla-sys - sys) - low-level bindings for the [Bitwuzla](https://bitwuzla.github.io) SMT solver. (Projects / Libraries)
README
[![crates.io](https://img.shields.io/crates/v/bitwuzla-sys.svg)](https://crates.io/crates/bitwuzla-sys)
[![docs.rs](https://img.shields.io/docsrs/bitwuzla-sys)](https://docs.rs/bitwuzla-sys)# bitwuzla-sys
This Rust crate provides low-level bindings for the [Bitwuzla] SMT solver,
version 0.5.0.[Bitwuzla]: https://bitwuzla.github.io/
## Installation
### Using shared `bitwuzla` library
Compile `bitwuzla` as a shared library and install it. Then add this crate
to your `Cargo.toml`:```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:```toml
[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].
[MIT license]: LICENSE