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 2677/week @ 2024-01-01 3158/week @ 2024-01-08 3615/week @ 2024-01-15 3799/week @ 2024-01-22 3333/week @ 2024-01-29 2192/week @ 2024-02-05 1361/week @ 2024-02-12 2620/week @ 2024-02-19 2534/week @ 2024-02-26 1244/week @ 2024-03-04 1164/week @ 2024-03-11 1217/week @ 2024-03-18 920/week @ 2024-03-25 1435/week @ 2024-04-01 1093/week @ 2024-04-08 1005/week @ 2024-04-15

4,559 downloads per month
Used in 12 crates (10 directly)

MIT license

20MB
428K SLoC

C++ 371K 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