pkgsrc 0.8.0

Rust interface to pkgsrc packages and infrastructure
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.1"
name = "pkgsrc"
version = "0.8.0"
authors = ["Jonathan Perkin <jonathan@perkin.org.uk>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust interface to pkgsrc packages and infrastructure"
homepage = "https://github.com/jperkin/pkgsrc-rs"
documentation = "https://docs.rs/pkgsrc"
readme = "README.md"
keywords = ["pkgsrc"]
license = "ISC"
repository = "https://github.com/jperkin/pkgsrc-rs"

[features]
default = []
serde = [
    "dep:serde",
    "dep:serde_with",
]

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

[[example]]
name = "compare-distinfo"
path = "examples/compare-distinfo.rs"

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

[[example]]
name = "test-pkgmatch"
path = "examples/test-pkgmatch.rs"

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

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

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

[dependencies.ar]
version = "0.9.0"

[dependencies.blake2]
version = "0.10.6"

[dependencies.digest]
version = "0.10.7"

[dependencies.flate2]
version = "1.1.2"
features = ["zlib-rs"]
default-features = false

[dependencies.glob]
version = "0.3.3"

[dependencies.indexmap]
version = "2.11.0"
features = ["serde"]

[dependencies.md-5]
version = "0.10.6"

[dependencies.pkgsrc-kv-derive]
version = "0.2.0"

[dependencies.ripemd]
version = "0.1.3"

[dependencies.serde]
version = "1.0.219"
features = ["derive"]
optional = true

[dependencies.serde_with]
version = "3.14.0"
optional = true

[dependencies.sha1]
version = "0.10.6"

[dependencies.sha2]
version = "0.10.9"

[dependencies.tar]
version = "0.4.44"

[dependencies.thiserror]
version = "2.0.16"

[dependencies.zstd]
version = "0.13"

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.indoc]
version = "2"

[dev-dependencies.rayon]
version = "1.10"

[dev-dependencies.regex]
version = "1.11.2"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.structopt]
version = "0.3.26"