z3-sys

Crates.ioz3-sys
lib.rsz3-sys
version0.8.1
sourcesrc
created_at2015-12-28 02:31:50.656958
updated_at2023-07-25 07:21:45.05075
descriptionLow-level bindings for the Z3 SMT solver from Microsoft Research
homepagehttps://github.com/prove-rs/z3.rs
repositoryhttps://github.com/prove-rs/z3.rs.git
max_upload_size
id3772
size28,097,142
Sameer Puri (sameer)

documentation

https://docs.rs/z3-sys/

README

z3-sys

Low-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-sys/

Installation

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

[dependencies]
z3-sys = "0.8"

Note: This crate requires a z3.h during build time.

  • By default, the crate will look for a z3.h in standard/system include paths.
  • If the feature static-link-z3 is enabled, the z3.h of the built Z3 will be used.
  • Alternatively, the path to the desired z3.h can be specified via the environment variable Z3_SYS_Z3_HEADER. I.e., running:
$ Z3_SYS_Z3_HEADER="/path/to/my/z3.h" cargo build

in your project will use /path/to/my/z3.h instead.

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.

Commit count: 434

cargo fmt