csp-solver 0.1.0

Generic constraint satisfaction problem solver with backtracking, AC-3 constraint propagation, and ordering heuristics.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "csp-solver"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generic constraint satisfaction problem solver with backtracking, AC-3 constraint propagation, and ordering heuristics."
readme = false
license = "MIT"
repository = "https://github.com/mkbabb/csp-solver"
resolver = "2"

[features]
default = []
py = ["dep:pyo3"]

[lib]
name = "csp_solver"
crate-type = ["lib"]
path = "src/lib.rs"

[[example]]
name = "profile_csp"
path = "examples/profile_csp.rs"

[[example]]
name = "profile_sudoku"
path = "examples/profile_sudoku.rs"

[[example]]
name = "time_sudoku"
path = "examples/time_sudoku.rs"

[[test]]
name = "all_different_except"
path = "tests/all_different_except.rs"

[[test]]
name = "assignment_builder"
path = "tests/assignment_builder.rs"

[[test]]
name = "assignment_proptest"
path = "tests/assignment_proptest.rs"

[[test]]
name = "cost_finite"
path = "tests/cost_finite.rs"

[[test]]
name = "futoshiki"
path = "tests/futoshiki.rs"

[[test]]
name = "gac"
path = "tests/gac.rs"

[[test]]
name = "gac_alldiff_except"
path = "tests/gac_alldiff_except.rs"

[[test]]
name = "lattice"
path = "tests/lattice.rs"

[[test]]
name = "local_search"
path = "tests/local_search.rs"

[[test]]
name = "nogoods"
path = "tests/nogoods.rs"

[[test]]
name = "optimize"
path = "tests/optimize.rs"

[[test]]
name = "solver"
path = "tests/solver.rs"

[[test]]
name = "sudoku"
path = "tests/sudoku.rs"

[[bench]]
name = "assignment"
path = "benches/assignment.rs"
harness = false

[[bench]]
name = "cost_finite_domain"
path = "benches/cost_finite_domain.rs"
harness = false

[[bench]]
name = "lattice"
path = "benches/lattice.rs"
harness = false

[[bench]]
name = "map_coloring"
path = "benches/map_coloring.rs"
harness = false

[[bench]]
name = "queens"
path = "benches/queens.rs"
harness = false

[[bench]]
name = "sudoku"
path = "benches/sudoku.rs"
harness = false

[dependencies.pyo3]
version = "0.24"
features = ["extension-module"]
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.hungarian]
version = "1"

[dev-dependencies.proptest]
version = "1"