mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 21:49:36 +00:00
- Bump version from 0.6.8 to 0.6.9 in Cargo.toml and Cargo.lock. - Enhance GitHub Actions workflow to build and publish .deb, .rpm, and Snap packages. - Implement AUR publishing for both dcr and dcr-bin packages. - Add support for workspace-only projects in the build system. - Introduce new `workspace` flag for build and run commands. - Create snapcraft.yaml for Snap package configuration. - Update build.rs and related files to handle workspace members and inheritance. - Modify config handling to support optional package and build configurations.
57 lines
1.5 KiB
TOML
57 lines
1.5 KiB
TOML
[package]
|
|
name = "dcr"
|
|
version = "0.6.9"
|
|
edition = "2024"
|
|
build = "build.rs"
|
|
description = "DCR is a utility for managing C/C++ projects in a Cargo-like style."
|
|
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"
|
|
license-file = ["LICENSE"]
|
|
extended-description = """\
|
|
Cargo-like utility to manage C/C++ projects.\
|
|
"""
|
|
section = "devel"
|
|
priority = "optional"
|
|
assets = [
|
|
["target/release/dcr", "usr/bin/dcr", "755"],
|
|
# man-page:
|
|
# ["assets/dcr.1", "usr/share/man/man1/dcr.1", "644"],
|
|
]
|
|
|
|
[package.metadata.rpm]
|
|
maintainer = "Dexoron (Bezotechestvo Vladimir) <main@dexoron.su>"
|
|
copyright = "2026, Dexoron"
|
|
license-file = ["LICENSE"]
|
|
extended-description = """\
|
|
Cargo-like utility to manage C/C++ projects.\
|
|
"""
|
|
section = "devel"
|
|
priority = "optional"
|
|
assets = [
|
|
["target/release/dcr", "usr/bin/dcr", "755"],
|
|
# man-page:
|
|
# ["assets/dcr.1", "usr/share/man/man1/dcr.1", "644"],
|
|
]
|
|
|
|
[dependencies]
|
|
glob = "0.3"
|
|
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "rustls-tls"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
self-replace = "1"
|
|
sha2 = "0.10"
|
|
toml = "1.0.3"
|
|
git2 = "0.20.4"
|
|
serde_json = "1"
|
|
ctrlc = "3"
|
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
|
openssl = { version = "0.10", features = ["vendored"] }
|