# 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 = "pinner"
version = "0.0.6"
authors = ["Fabio Falcinelli"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Secure CI/CD workflows by pinning mutable tags to immutable SHA-1 hashes. A high-performance Rust CLI that preserves YAML formatting and comments. Supports GitHub, GitLab, Bitbucket, Forgejo, and Docker image pinning."
documentation = "https://docs.rs/pinner"
readme = "README.md"
keywords = [
    "github-actions",
    "security",
    "pinning",
    "hash",
    "workflow",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/ffalcinelli/pinner"

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

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

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

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.4"
features = [
    "derive",
    "env",
]

[dependencies.clap_complete]
version = "4.6.5"

[dependencies.colored]
version = "2.1"

[dependencies.dialoguer]
version = "0.12.0"

[dependencies.dirs]
version = "5.0"

[dependencies.figment]
version = "0.10"
features = [
    "toml",
    "env",
]

[dependencies.futures]
version = "0.3"

[dependencies.ignore]
version = "0.4"

[dependencies.indicatif]
version = "0.17"

[dependencies.mockall]
version = "0.12"

[dependencies.moka]
version = "0.12"
features = ["future"]

[dependencies.rayon]
version = "1.10"

[dependencies.regex]
version = "1.10"

[dependencies.reqwest]
version = "0.13"
features = ["json"]

[dependencies.reqwest-middleware]
version = "0.5"

[dependencies.reqwest-retry]
version = "0.9"

[dependencies.semver]
version = "1.0.28"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.similar]
version = "2.4"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]

[dependencies.tree-sitter]
version = "0.20"

[dependencies.tree-sitter-yaml]
version = "0.0.1"

[dev-dependencies.cargo-husky]
version = "1"
features = [
    "precommit-hook",
    "prepush-hook",
    "run-cargo-fmt",
    "user-hooks",
]
default-features = false

[dev-dependencies.criterion]
version = "0.8.2"

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

[dev-dependencies.mockito]
version = "1.2"

[dev-dependencies.serial_test]
version = "3.5.0"

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin)"]
