#smt-solver #solver #smt #satisfiability

sys z3-sys

微软研究院的 Z3 SMT 求解器的底层绑定

13 个版本 (7 个破坏性版本)

0.8.1 2023 年 7 月 25 日
0.7.1 2021 年 8 月 24 日
0.7.0 2021 年 7 月 21 日
0.6.3 2020 年 10 月 29 日
0.1.0 2015 年 12 月 28 日

#1994算法 中排名

Download history · Rust 包仓库 1234/week @ 2024-03-13 · Rust 包仓库 1302/week @ 2024-03-20 · Rust 包仓库 1028/week @ 2024-03-27 · Rust 包仓库 1599/week @ 2024-04-03 · Rust 包仓库 1047/week @ 2024-04-10 · Rust 包仓库 1210/week @ 2024-04-17 · Rust 包仓库 1420/week @ 2024-04-24 · Rust 包仓库 1258/week @ 2024-05-01 · Rust 包仓库 948/week @ 2024-05-08 · Rust 包仓库 1833/week @ 2024-05-15 · Rust 包仓库 1156/week @ 2024-05-22 · Rust 包仓库 1259/week @ 2024-05-29 · Rust 包仓库 1024/week @ 2024-06-05 · Rust 包仓库 1291/week @ 2024-06-12 · Rust 包仓库 1181/week @ 2024-06-19 · Rust 包仓库 879/week @ 2024-06-26 · Rust 包仓库

每月下载量 4,523
用于 26 个crate (8 个直接使用)

MIT 许可协议

20MB
424K SLoC

C++ 371K SLoC // 0.1% comments · Rust 包仓库 Python 16K SLoC // 0.3% comments · Rust 包仓库 C# 12K SLoC // 0.4% comments · Rust 包仓库 Java 10K SLoC // 0.4% comments · Rust 包仓库 C 5.5K SLoC // 0.2% comments · Rust 包仓库 TypeScript 4.5K SLoC // 0.2% comments · Rust 包仓库 OCaml 3K SLoC // 0.4% comments · Rust 包仓库 Rust 2K SLoC // 0.0% comments · Rust 包仓库 Jupyter Notebooks 384 SLoC // 0.3% comments · Rust 包仓库 D 365 SLoC // 0.1% comments · Rust 包仓库 Visual Studio Project 137 SLoC · Rust 包仓库 Visual Studio Solution 125 SLoC · Rust 包仓库 Batch 86 SLoC · Rust 包仓库 Shell 46 SLoC // 0.2% comments · Rust 包仓库 JavaScript 37 SLoC // 0.1% comments · Rust 包仓库

z3-sys

Rust 对 Z3 SMT 求解器的底层绑定

遵循 MIT 许可协议。

有关 Z3 的详细信息,请参阅 https://github.com/Z3Prover/z3

文档

API 已完全文档化,并提供示例:https://docs.rs/z3-sys/

安装

此crate与Cargo配合使用,并在crates.io上可用。将其添加到您的 Cargo.toml 如下:

[dependencies]
z3-sys = "0.8"

注意:此crate在构建时需要 z3.h

  • 默认情况下,crate将在标准/系统包含路径中查找 z3.h
  • 如果启用了功能 static-link-z3,则将使用构建的Z3的 z3.h
  • 或者,可以通过环境变量 Z3_SYS_Z3_HEADER 指定所需 z3.h 的路径。例如,运行
$ Z3_SYS_Z3_HEADER="/path/to/my/z3.h" cargo build

在您的项目中将使用 /path/to/my/z3.h 代替。

支持和维护

迄今为止,我主要独立开发了这个库。我可以提供支持和维护,但非常欢迎通过 Patreon 进行捐赠。我还可以提供商业支持,请随时 联系我

贡献

除非您明确声明,否则任何有意提交以包含在您的工作中的贡献,都应按上述方式双重许可,没有其他条款或条件。

依赖关系