Files
pacdef_rust/crates/pacdef_core/Cargo.toml
T
steven-omaha 0ffe0c345d feat(groups): allow nested group dirs
Instead of expecting all files to be located immediately under the group
dir, we allow them to be nested in additional folders. We walk the group
folder, and treat every file as a group file. The relative path of the
file as seen from the group dir becomes the group name.

Fixes #27.
2023-05-18 17:16:30 +02:00

41 lines
998 B
TOML

[package]
name = "pacdef_core"
version = "1.1.0"
edition = "2021"
description = "pacdef core library"
license = "GPL-3.0-or-later"
repository = "https://github.com/steven-omaha/pacdef"
readme = "README.md"
keywords = ["package-manager", "linux", "declarative", "cli"]
categories = ["command-line-utilities"]
[package.metadata.docs.rs]
features = ["alpm/docs-rs"]
[dependencies]
anyhow = { workspace = true }
clap = "4.2"
const_format = { version = "0.2", default-features = false }
path-absolutize = "3.0"
regex = { version = "1.7", default-features = false, features = ["std"] }
termios = "0.3"
walkdir = "2.3"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
serde_yaml = "0.9"
pacdef_macros = { path = "../pacdef_macros", version = "0.1" }
# backends
alpm = { version = "2.2", optional = true }
rust-apt = { version = "0.5", optional = true }
libc = { version = "0.2", optional = true } # for debian
[features]
default = []
arch = ["dep:alpm"]
debian = ["dep:rust-apt", "dep:libc"]