Skip to content

Commit

Permalink
add workspace deps
Browse files Browse the repository at this point in the history
  • Loading branch information
wiiznokes committed Jun 8, 2024
1 parent d904f2b commit 6dc3da0
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 50 deletions.
33 changes: 16 additions & 17 deletions Cargo.lock

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

27 changes: 21 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,39 @@ resolver = "2"
[workspace.package]
edition = "2021"

[dependencies]
const_format = "0.2.32"
dirs = "5.0.1"
futures = "0.3.30"
[workspace.dependencies]
anyhow = "1.0.82"
serde = { version = "1.0.198", features = ["derive"] }
serde_json = "1.0.116"
tracing = "0.1.40"
dirs = "5.0.1"
serde_with = "3.7.0"
futures = "0.3.30"
flume = "0.11.0"
toml = "0.8.12"
regex = "1.10.4"
ron = "0.8.1"
tokio = "1.37.0"
tokio-stream = "0.1.15"

[dependencies]
const_format = "0.2.32"
dirs.workspace = true
futures.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_with.workspace = true

[profile.release]
lto = "fat"
panic = "abort"

[dependencies.tokio]
version = "1.37.0"
workspace = true
features = ["io-std", "io-util"]

[dependencies.tokio-stream]
version = "0.1.15"
workspace = true
features = ["io-util"]


Expand Down
6 changes: 3 additions & 3 deletions bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ publish = false

[dependencies]
pop-launcher-toolkit = { path = "../toolkit" }
tracing = "0.1.40"
tracing.workspace = true
tracing-subscriber = { version = "0.3.18", default-features = false, features = ["std", "fmt", "env-filter", "chrono"] }
dirs = "5.0.1"
dirs.workspace = true
mimalloc = "0.1.39"

[dependencies.tokio]
version = "1.37.0"
workspace = true
features = ["rt"]
2 changes: 1 addition & 1 deletion bin/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fn init_logging(cmd: &str) {
}

let filter_layer = EnvFilter::try_from_default_env()
.or_else(|_| EnvFilter::try_new("info"))
.or_else(|_| EnvFilter::try_new("warn"))
.unwrap();

let fmt_layer = fmt::layer()
Expand Down
20 changes: 10 additions & 10 deletions plugins/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ human_format = "1.1.0"
human-sort = "0.2.2"
new_mime_guess = "4.0.1"
pop-launcher = { path = "../" }
regex = "1.10.4"
ron = "0.8.1"
serde = "1.0.198"
serde_json = "1.0.116"
regex.workspace = true
ron.workspace = true
serde.workspace = true
serde_json.workspace = true
slab = "0.4.9"
strsim = "0.11.1"
tracing = "0.1.40"
tracing.workspace = true
urlencoding = "2.1.3"
zbus = "4.2.2"
zvariant = "4.1.1"
url = "2.5.0"
sysfs-class = "0.1.3"
anyhow = "1.0.82"
flume = "0.11.0"
dirs = "5.0.1"
futures = "0.3.30"
anyhow.workspace = true
flume.workspace = true
dirs.workspace = true
futures.workspace = true
bytes = "1.6.0"
recently-used-xbel = "1.0.0"

Expand All @@ -48,5 +48,5 @@ default-features = false
features = ["rustls-tls"]

[dependencies.tokio]
version = "1.37.0"
workspace = true
features = ["fs", "io-std", "macros", "process", "rt"]
25 changes: 12 additions & 13 deletions service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,30 @@ license = "MPL-2.0"
edition.workspace = true

[dependencies]
anyhow = "1.0.82"
anyhow.workspace = true
async-oneshot = "0.5.9"
async-trait = "0.1.80"
dirs = "5.0.1"
futures = "0.3.30"
dirs.workspace = true
futures.workspace = true
futures_codec = "0.4.1"
gen-z = "0.1.0"
num_cpus = "1.16.0"
pop-launcher = { path = "../" }
regex = "1.10.4"
ron = "0.8.1"
serde = { version = "1.0.198", features = ["derive"] }
serde_json = "1.0.116"
regex.workspace = true
ron.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_with = "3.7.0"
slab = "0.4.9"
strsim = "0.11.1"
toml = "0.8.12"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", default-features = false, features = ["std", "fmt", "env-filter"] }
flume = "0.11.0"
toml.workspace = true
tracing.workspace = true
flume.workspace = true

[dependencies.tokio]
version= "1.37.0"
workspace = true
features = ["io-std", "process", "rt"]

[dependencies.tokio-stream]
version= "0.1.15"
workspace = true
features = ["io-util"]

0 comments on commit 6dc3da0

Please sign in to comment.