Skip to content

Commit

Permalink
chore(deps): mutualize workspace dependencies (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpasmantier authored Jan 7, 2025
1 parent e2398ab commit 263e88b
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 52 deletions.
24 changes: 15 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 35 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,46 +54,63 @@ include = [
rust-version = "1.81"
readme = "README.md"

[workspace.dependencies]
directories = "5.0.1"
color-eyre = "0.6.3"
lazy_static = "1.5.0"
tokio = { version = "1.41.1", features = ["full"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "serde"] }
rustc-hash = "2.1.0"
syntect = "5.2.0"
unicode-width = "0.2.0"
clap = { version = "4.5.20", features = ["derive", "cargo", "string"] }
serde = { version = "1.0.214", features = ["derive"] }
toml = "0.8.19"
ratatui = { version = "0.29.0", features = ["serde", "macros"] }

[[bin]]
bench = false
path = "crates/television/main.rs"
name = "tv"

[dependencies]
# workspace dependencies

# local dependencies
television-fuzzy = { path = "crates/television-fuzzy", version = "0.0.18" }
television-derive = { path = "crates/television-derive", version = "0.0.18" }
television-screen = { path = "crates/television-screen", version = "0.0.18" }
television-channels = { path = "crates/television-channels", version = "0.0.18" }
television-previewers = { path = "crates/television-previewers", version = "0.0.18" }
television-utils = { path = "crates/television-utils", version = "0.0.18" }

# workspace dependencies
directories = { workspace = true }
color-eyre = { workspace = true }
lazy_static = { workspace = true }
tokio = { workspace = true, features = ["full"] }
tracing = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter", "serde"] }
rustc-hash = { workspace = true }
syntect = { workspace = true }
unicode-width = { workspace = true }
clap = { workspace = true, features = ["derive", "cargo", "string"] }
serde = { workspace = true, features = ["derive"] }
toml = { workspace = true }
ratatui = { workspace = true, features = ["serde", "macros"] }

# external dependencies
better-panic = "0.3.0"
clap = { version = "4.4.5", features = ["derive", "cargo", "string"] }
color-eyre = "0.6.3"
config = "0.14.0"
crossterm = { version = "0.28.1", features = ["serde"] }
directories = "5.0.1"
lazy_static = "1.5.0"
ratatui = { version = "0.29.0", features = ["serde", "macros"] }
serde = { version = "1.0.208", features = ["derive"] }
signal-hook = "0.3.17"
syntect = "5.2.0"
tokio = { version = "1.39.3", features = ["full"] }
toml = "0.8.19"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "serde"] }
unicode-width = "0.2.0"
human-panic = "2.0.2"
copypasta = "0.10.1"

[dev-dependencies]
criterion = "0.5.1"
devicons = "0.6.11"

[[bin]]
bench = false
path = "crates/television/main.rs"
name = "tv"

[[bench]]
name = "results_list_benchmark"
harness = false
Expand Down Expand Up @@ -144,4 +161,3 @@ float_cmp = "allow"
implicit_hasher = "allow"
wildcard_imports = "allow"
from_iter_instead_of_collect = "allow"

19 changes: 10 additions & 9 deletions crates/television-channels/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@ rust-version.workspace = true
television-fuzzy = { path = "../television-fuzzy", version = "0.0.18" }
television-utils = { path = "../television-utils", version = "0.0.18" }
television-derive = { path = "../television-derive", version = "0.0.18" }

tracing = { workspace = true }
tokio = { workspace = true, features = ["rt"] }
clap = { workspace = true, features = ["derive"] }
directories = { workspace = true }
color-eyre = { workspace = true }
serde = { workspace = true }
lazy_static = { workspace = true }
toml = { workspace = true }

devicons = "0.6.11"
tracing = "0.1.40"
eyre = "0.6.12"
ignore = "0.4.23"
tokio = { version = "1.41.1", features = ["rt"] }
clap = { version = "4.5.20", features = ["derive"] }
directories = "5.0.1"
color-eyre = "0.6.3"
serde = "1.0.214"
strum = { version = "0.26.3", features = ["derive"] }
lazy_static = "1.5.0"
toml = "0.8.19"
regex = "1.11.1"

[lints]
Expand Down
12 changes: 7 additions & 5 deletions crates/television-previewers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@ edition.workspace = true
rust-version.workspace = true

[dependencies]
syntect = "5.2.0"
television-channels = { path = "../television-channels", version = "0.0.18" }
television-utils = { path = "../television-utils", version = "0.0.18" }
tracing = "0.1.40"

syntect = { workspace = true }
tracing = { workspace = true }
tokio = { workspace = true }
color-eyre = { workspace = true }
lazy_static = { workspace = true }

parking_lot = "0.12.3"
tokio = "1.41.1"
devicons = "0.6.11"
color-eyre = "0.6.3"
regex = "1.11.1"
lazy_static = "1.5.0"
nom = "7.1"
tui = { version = "0.29", default-features = false, package = "ratatui" }
thiserror = "1.0"
Expand Down
9 changes: 5 additions & 4 deletions crates/television-screen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ edition.workspace = true
rust-version.workspace = true

[dependencies]
ratatui = "0.29.0"
serde = "1.0.215"
television-utils = { path = "../television-utils", version = "0.0.18" }
television-channels = { path = "../television-channels", version = "0.0.18" }
television-previewers = { path = "../television-previewers", version = "0.0.18" }
color-eyre = "0.6.3"
syntect = "5.2.0"

ratatui = { workspace = true }
serde = { workspace = true }
color-eyre = { workspace = true }
syntect = { workspace = true }

[lints]
workspace = true
13 changes: 7 additions & 6 deletions crates/television-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@ edition.workspace = true
rust-version.workspace = true

[dependencies]
lazy_static = { workspace = true }
tracing = { workspace = true }
color-eyre = { workspace = true }
directories = { workspace = true }
syntect = { workspace = true }
unicode-width = { workspace = true }

ignore = "0.4.23"
lazy_static = "1.5.0"
tracing = "0.1.40"
color-eyre = "0.6.3"
bat = { version = "0.24.0", default-features = false, features = [
"regex-onig",
] }
directories = "5.0.1"
syntect = "5.2.0"
gag = "1.0.0"
unicode-width = "0.2.0"

[target.'cfg(windows)'.dependencies]
winapi-util = "0.1.9"
Expand Down

0 comments on commit 263e88b

Please sign in to comment.