[package]
edition = "2024"
rust-version = "1.88"
name = "vitri"
version = "0.2.0"
authors = ["Guy Van den Broeck <guyvdb@cs.ucla.edu>"]
build = "build.rs"
links = "vitri_arjun"
include = [
"src/**/*.rs",
"src/score/agg/pair_boost.json",
"build.rs",
"Cargo.toml",
"README.md",
"CHANGELOG.md",
"LICENSE",
"docs/*.md",
"!docs/CONTRIBUTING.md",
"docs/images/*.png",
"docs/example.cnf",
"tests/**/*.rs",
"vendor/**",
"!vendor/**/*.cnf",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CNF preprocessing and vtree construction (variable trees) for circuit compilation and model counting: preprocesses a DIMACS CNF, records the arithmetic to lift a model count back to the original, and builds a good vtree for it — for any d-DNNF/SDD/TDD compiler, or any model counter that takes a vtree."
documentation = "https://docs.rs/vitri"
readme = "README.md"
keywords = [
"vtree",
"cnf",
"model-counting",
"knowledge-compiler",
"preprocessing",
]
categories = [
"science",
"algorithms",
"mathematics",
"command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/Tractables/vitri"
[lib]
name = "vitri"
path = "src/lib.rs"
[[bin]]
name = "vitri"
path = "src/cli_main.rs"
[[test]]
name = "bundle_round_trip"
path = "tests/bundle_round_trip/main.rs"
[[test]]
name = "cli"
path = "tests/cli/main.rs"
[[test]]
name = "decompose"
path = "tests/decompose/main.rs"
[[test]]
name = "fork_budget"
path = "tests/fork_budget/main.rs"
harness = false
[[test]]
name = "record_json_shape"
path = "tests/record_json_shape/main.rs"
[dependencies.goatd]
version = "0.2.1"
[dependencies.libc]
version = "0.2"
[dependencies.num-bigint]
version = "0.4"
[dependencies.num-rational]
version = "0.4"
[dependencies.num-traits]
version = "0.2"
[dependencies.rand]
version = "0.10"
[dependencies.rustc-hash]
version = "2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["float_roundtrip"]