# 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 = "rcp-tools-rcmp"
version = "0.29.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast file comparison tool - efficiently compares metadata across large filesets"
documentation = "https://docs.rs/rcp-tools-rcmp"
readme = "README.md"
keywords = [
    "cli",
    "file",
    "compare",
    "diff",
    "performance",
]
categories = [
    "command-line-utilities",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/wykurz/rcp"

[package.metadata.docs.rs]
cargo-args = [
    "--config",
    'build.rustflags=["--cfg", "tokio_unstable"]',
]
rustdoc-args = [
    "--cfg",
    "tokio_unstable",
]

[package.metadata.deb]
maintainer = "Mateusz Wykurz <wykurz@gmail.com>"
copyright = "2023, Mateusz Wykurz <wykurz@gmail.com>"
depends = "libc6 (>= 2.27)"
section = "utility"

[[package.metadata.generate-rpm.assets]]
source = "target/release/rcmp"
dest = "/usr/bin/rcmp"
mode = "755"

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.bytesize]
version = "2.3"

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

[dependencies.common]
version = "0.29.0"
package = "rcp-tools-common"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.50"
features = [
    "full",
    "parking_lot",
    "tracing",
]

[dependencies.tracing]
version = "0.1"

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

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

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

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

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rustdoc]
missing_crate_level_docs = "allow"

[lints.rustdoc.all]
level = "deny"
priority = -1
