19 releases (11 breaking)

Uses old Rust 2015

0.12.1 Jul 25, 2023
0.11.2 Aug 24, 2021
0.11.1 Jul 21, 2021
0.10.0 Mar 23, 2021
0.1.0 Dec 28, 2015

#68 in Algorithms

Download history 1074/week @ 2024-07-21 1358/week @ 2024-07-28 1136/week @ 2024-08-04 1344/week @ 2024-08-11 1324/week @ 2024-08-18 1188/week @ 2024-08-25 1608/week @ 2024-09-01 1740/week @ 2024-09-08 1850/week @ 2024-09-15 2339/week @ 2024-09-22 1581/week @ 2024-09-29 1674/week @ 2024-10-06 1460/week @ 2024-10-13 1731/week @ 2024-10-20 1555/week @ 2024-10-27 1453/week @ 2024-11-03

6,384 downloads per month
Used in 20 crates (14 directly)

MIT license

20MB
428K SLoC

C++ 370K SLoC // 0.1% comments Python 16K SLoC // 0.3% comments C# 12K SLoC // 0.4% comments Java 10K SLoC // 0.4% comments Rust 6.5K SLoC // 0.0% comments C 5.5K SLoC // 0.2% comments TypeScript 4.5K SLoC // 0.2% comments OCaml 3K SLoC // 0.4% comments Jupyter Notebooks 383 SLoC // 0.3% comments D 364 SLoC // 0.1% comments Visual Studio Project 136 SLoC Visual Studio Solution 124 SLoC Batch 85 SLoC Shell 45 SLoC // 0.2% comments JavaScript 36 SLoC // 0.1% comments

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.12"

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.12", 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