Skip to content

Commit

Permalink
refactor: Use concise workspace syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Nukesor committed Oct 23, 2024
1 parent 4b7fa7d commit ff93a2b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
40 changes: 20 additions & 20 deletions pueue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,54 +4,54 @@ version = "3.4.1"
description = "A cli tool for managing long running shell commands."
keywords = ["shell", "command", "parallel", "task", "queue"]
readme = "../README.md"
authors = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }
authors.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true

[badges]
maintenance = { status = "actively-developed" }

[dependencies]
anyhow = "1.0"
chrono = { workspace = true }
chrono.workspace = true
clap = { version = "4.5.1", features = ["derive", "cargo", "help"] }
clap_complete = "4.5.1"
clap_complete_nushell = "4.5.1"
comfy-table = "7"
command-group = { workspace = true }
command-group.workspace = true
ctrlc = { version = "3", features = ["termination"] }
handlebars = { workspace = true }
handlebars.workspace = true
interim = { version = "0.1.2", features = ["chrono"] }
log = { workspace = true }
log.workspace = true
pest = "2.7"
pest_derive = "2.7"
pueue-lib = { version = "0.26.1", path = "../pueue_lib" }
serde = { workspace = true }
serde_json = { workspace = true }
serde.workspace = true
serde_json.workspace = true
shell-escape = "0.1"
simplelog = "0.12"
snap = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }
snap.workspace = true
strum.workspace = true
strum_macros.workspace = true
tempfile = "3"
tokio = { workspace = true }
tokio.workspace = true

[dev-dependencies]
anyhow = { workspace = true }
anyhow.workspace = true
assert_cmd = "2"
assert_matches = "1"
better-panic = { workspace = true }
better-panic.workspace = true
# Make it easy to view log output for select tests.
# Set log level for tests with RUST_LOG=<level>, use with failed tests or
# disable test stdout/stderr capture (`cargo test -- --nocapture` / `cargo
# nextest run --no-capture`)
env_logger = "0.11"
pretty_assertions = { workspace = true }
pretty_assertions.workspace = true
rstest = "0.19"
serde_yaml = { workspace = true }
serde_yaml.workspace = true
similar-asserts = "1"
test-log = "0.2"

Expand Down
36 changes: 18 additions & 18 deletions pueue_lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ description = "The shared library to work with the Pueue client and daemon."
keywords = ["pueue"]
readme = "README.md"
authors = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }
homepage.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true

[badges]
maintenance = { status = "actively-developed" }
Expand All @@ -18,11 +18,11 @@ maintenance = { status = "actively-developed" }
anyhow = "1.0"
async-trait = "0.1"
byteorder = "1.5"
chrono = { workspace = true }
command-group = { workspace = true }
chrono.workspace = true
command-group.workspace = true
dirs = "5.0"
handlebars = { workspace = true }
log = { workspace = true }
handlebars.workspace = true
log.workspace = true
rand = "0.8"
rcgen = "0.13"
rev_buf_reader = "0.3"
Expand All @@ -33,25 +33,25 @@ rustls = { version = "0.23", features = [
"tls12",
], default-features = false }
rustls-pemfile = "2"
serde = { workspace = true }
serde.workspace = true
serde_cbor = "0.11"
serde_json = { workspace = true }
serde_json.workspace = true
serde_yaml = "0.9"
shellexpand = "3.1"
snap = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }
snap.workspace = true
strum.workspace = true
strum_macros.workspace = true
thiserror = "1.0"
tokio = { workspace = true, features = ["macros", "net", "io-util"] }
tokio-rustls = { version = "0.26", default-features = false }

[dev-dependencies]
anyhow = { workspace = true }
better-panic = { workspace = true }
anyhow.workspace = true
better-panic.workspace = true
portpicker = "0.1"
pretty_assertions = { workspace = true }
pretty_assertions.workspace = true
tempfile = "3"
tokio = { workspace = true }
tokio.workspace = true

# --- Platform specific dependencies ---
# Windows
Expand Down

0 comments on commit ff93a2b

Please sign in to comment.