huub 100.0.0

CP+SAT solver framework built to be reliable, performant, and extensible
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 = "huub"
version = "100.0.0"
authors = ["Jip J. Dekker <jip@dekker.one>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CP+SAT solver framework built to be reliable, performant, and extensible"
homepage = "https://huub.solutions"
readme = "README.md"
keywords = [
    "sat",
    "lcg",
    "flatzinc",
    "minizinc",
    "optimization",
]
categories = [
    "algorithms",
    "mathematics",
    "science",
]
license = "MPL-2.0"
repository = "https://github.com/huub-solver/huub"
resolver = "2"

[features]
flatzinc = ["flatzinc-serde"]

[lib]
name = "huub"
path = "src/lib.rs"

[[example]]
name = "jobshop"
path = "examples/jobshop/main.rs"

[[example]]
name = "send-more-money"
path = "examples/send-more-money/main.rs"

[dependencies.bon]
version = "3.9.1"
features = ["experimental-generics-setters"]

[dependencies.dyn-clone]
version = "1.0.20"

[dependencies.flatzinc-serde]
version = "0.5.0"
optional = true

[dependencies.itertools]
version = "0.14.0"

[dependencies.pindakaas]
version = "0.2.3"
features = [
    "external-propagation",
    "external-propagation",
]

[dependencies.rangelist]
version = "0.4.0"

[dependencies.rustc-hash]
version = "2.1.2"

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dev-dependencies.ctrlc]
version = "3.5.2"

[dev-dependencies.expect-test]
version = "1.5.1"

[dev-dependencies.humantime]
version = "2.3.0"

[dev-dependencies.tracing-test]
version = "0.2.6"

[lints.clippy]
allow_attributes_without_reason = "deny"
clone_on_ref_ptr = "warn"
default_union_representation = "deny"
implicit_clone = "warn"
missing_docs_in_private_items = "warn"
mixed_read_write_in_expression = "deny"
negative_feature_names = "deny"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_feature_names = "warn"
redundant_type_annotations = "warn"
rest_pat_in_fully_bound_structs = "warn"
semicolon_if_nothing_returned = "warn"
str_to_string = "warn"
string_add = "warn"
string_add_assign = "warn"
string_lit_chars_any = "warn"
tests_outside_test_module = "warn"
try_err = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unseparated_literal_suffix = "warn"
wildcard_dependencies = "warn"
wrong_self_convention = "warn"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "deny"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unit_bindings = "warn"
unreachable_pub = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"