pubsat 0.1.0

Building blocks for SAT-based dependency resolvers: a node-semver-compatible range parser, an ecosystem-independent constraint vocabulary, and a backend-agnostic SAT problem/solver abstraction with a Varisat backend.
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"
rust-version = "1.85"
name = "pubsat"
version = "0.1.0"
authors = ["Julian Bravard <julian.bravard@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Building blocks for SAT-based dependency resolvers: a node-semver-compatible range parser, an ecosystem-independent constraint vocabulary, and a backend-agnostic SAT problem/solver abstraction with a Varisat backend."
homepage = "https://github.com/cygnus-io/pubsat"
documentation = "https://docs.rs/pubsat"
readme = "README.md"
keywords = [
    "dependencies",
    "semver",
    "sat",
    "resolver",
    "package-manager",
]
categories = [
    "algorithms",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/cygnus-io/pubsat"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cadical-solver = []
default = ["varisat-solver"]
varisat-solver = ["dep:varisat"]

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.futures]
version = "0.3"

[dependencies.petgraph]
version = "0.6"

[dependencies.semver]
version = "1"
features = ["serde"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt",
    "macros",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dependencies.varisat]
version = "0.2"
optional = true

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]