# 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 = "2021"
name = "artifactx"
version = "0.1.2"
authors = ["jamesarch"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ArtifactX (arx) — cross-platform package repository manager. One-binary apt + yum repo generator with PGP signing and built-in HTTP serving."
readme = "README.md"
license = "GPL-2.0-or-later"
repository = "https://github.com/artifactx-rs/artifactx"

[package.metadata.arx]
section = "utils"
depends = ["libc6"]
maintainer = "jamesarch <han.shan@live.cn>"

[[bin]]
name = "arx"
path = "src/main.rs"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.arx-debrepo]
version = "0.1.2"

[dependencies.arx-pack]
version = "0.1.2"

[dependencies.axum]
version = "0.7"

[dependencies.chrono]
version = "0.4"
features = ["clock"]
default-features = false

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.createrepo_rs]
version = "0.1.9"

[dependencies.debversion]
version = "0.5"

[dependencies.hex]
version = "0.4"

[dependencies.jsonwebtoken]
version = "9"

[dependencies.metrics]
version = "0.23"

[dependencies.metrics-exporter-prometheus]
version = "0.15"
default-features = false

[dependencies.pgp]
version = "0.14"

[dependencies.rand]
version = "0.8"

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

[dependencies.rpm-version]
version = "0.5"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "signal",
    "fs",
]

[dependencies.toml]
version = "0.8"

[dependencies.tower-http]
version = "0.6"
features = [
    "fs",
    "trace",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "json",
]

[dependencies.walkdir]
version = "2"

[dev-dependencies.ar]
version = "0.9"

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

[dev-dependencies.tar]
version = "0.4"

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

[build-dependencies.vergen]
version = ">=9.0.5, <9.1.0"

[build-dependencies.vergen-gix]
version = "1"
features = [
    "build",
    "cargo",
    "rustc",
]
