# 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 = "cicero_distribution"
version = "0.11.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bundle distribution files in CI code."
readme = "README.md"
keywords = [
    "ci",
    "xtask",
]
categories = ["development-tools::build-utils"]
license = "Apache-2.0"
repository = "https://codeberg.org/trem/cicero/"
resolver = "3"

[features]
tar_gz = [
    "dep:tar",
    "dep:flate2",
]
zip = ["dep:zip"]

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

[dependencies.cargo_metadata]
version = "0.23"

[dependencies.cicero_cache]
version = "0.11.1"

[dependencies.cicero_core]
version = "0.11.0"
features = ["user"]

[dependencies.cicero_path]
version = "0.11.1"

[dependencies.flate2]
version = "1"
optional = true

[dependencies.fs-err]
version = "3"

[dependencies.glob]
version = "0.3"

[dependencies.sha2]
version = "0.10"

[dependencies.tar]
version = "0.4"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.walkdir]
version = "2"

[dependencies.zip]
version = "7"
features = [
    "deflate",
    "time",
]
optional = true
default-features = false

[dev-dependencies.assert_fs]
version = "1"
features = ["color"]

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

[lints.clippy]
doc-markdown = "warn"
unwrap_used = "warn"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
