# 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.96"
name = "hx-solver"
version = "0.7.7"
authors = ["Raffael Schneider <raffaelschneider@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dependency resolver for Haskell packages"
readme = false
license = "MIT"
resolver = "2"

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

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

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

[dependencies.bincode]
version = "1.3"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dirs-next]
version = "2.0"

[dependencies.ed25519-dalek]
version = "2"
features = ["pkcs8"]

[dependencies.flate2]
version = "1.0"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.hx-core]
version = "0.7.7"

[dependencies.indicatif]
version = "0.17"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "stream",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "sync",
]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.tempfile]
version = "3"
