#ffi #smt #satisfiability #solver

z3

High-level rust bindings for the Z3 SMT solver from Microsoft Research

16 releases (10 breaking)

Uses old Rust 2015

new 0.11.1 Jul 21, 2021
0.10.0 Mar 23, 2021
0.9.0 Dec 3, 2020
0.7.1 Nov 2, 2020
0.1.0 Dec 28, 2015

#16 in Math

Download history 816/week @ 2021-04-05 930/week @ 2021-04-12 524/week @ 2021-04-19 496/week @ 2021-04-26 825/week @ 2021-05-03 1043/week @ 2021-05-10 1233/week @ 2021-05-17 856/week @ 2021-05-24 1033/week @ 2021-05-31 708/week @ 2021-06-07 828/week @ 2021-06-14 1120/week @ 2021-06-21 824/week @ 2021-06-28 690/week @ 2021-07-05 1228/week @ 2021-07-12 1522/week @ 2021-07-19

4,103 downloads per month
Used in 6 crates (4 directly)

MIT license

470KB
6K SLoC

z3

High-level rust bindings to the Z3 SMT solver

Licensed under the MIT license.

See https://github.com/Z3Prover/z3 for details on Z3.

Documentation

The API is fully documented with examples: https://docs.rs/z3/

Installation

This crate works with Cargo and is on crates.io. Add it to your Cargo.toml like so:

[dependencies]
z3 = "0.11.1"

Note: This library has a dependency on Z3. You will either need to have the Z3 dependency already installed, or you can statically link to our build of Z3 like so:

[dependencies]
z3 = {version="0.11.1", features = ["static-link-z3"]}

Support and Maintenance

I am developing this library largely on my own so far. I am able to offer support and maintenance, but would very much appreciate donations via Patreon. I can also provide commercial support, so feel free to contact me.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0–1.6MB
~33K SLoC