dcr 0.7.0

DCR is a utility for managing C/C++ projects in a Cargo-like style.
# 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"
name = "dcr"
version = "0.7.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DCR is a utility for managing C/C++ projects in a Cargo-like style."
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/dexoron/dcr"

[package.metadata.binstall]
pkg-fmt = "bin"
pkg-url = "{ repo }/releases/download/v{ version }/dcr-{ target }-{ version }{ bin-suffix }"

[package.metadata.deb]
maintainer = "Dexoron (Bezotechestvo Vladimir) <main@dexoron.su>"
copyright = "2026, Dexoron"
extended-description = """
Cargo-like utility to manage C/C++ projects.
"""
section = "devel"
priority = "optional"
assets = [[
    "target/release/dcr",
    "usr/bin/dcr",
    "755",
]]

[package.metadata.generate-rpm]
summary = "Cargo-like utility to manage C/C++ projects"
description = """
Cargo-like utility to manage C/C++ projects.
"""

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

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

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

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

[dependencies.ctrlc]
version = "3"

[dependencies.glob]
version = "0.3"

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

[dependencies.self-replace]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.toml]
version = "1.0.3"

[target."cfg(not(windows))".dependencies.git2]
version = "0.20.4"
features = [
    "vendored-libgit2",
    "vendored-openssl",
]

[target."cfg(not(windows))".dependencies.openssl]
version = "0.10"
features = ["vendored"]

[target."cfg(windows)".dependencies.git2]
version = "0.20.4"
features = ["vendored-libgit2"]