chore: move dependencies to workspace root

This commit is contained in:
jane400 2024-09-21 20:57:59 +02:00 committed by jane400
parent 6d68c6500b
commit a8d82bb7b7
4 changed files with 16 additions and 9 deletions

5
Cargo.lock generated
View file

@ -2087,6 +2087,7 @@ dependencies = [
"relm4",
"relm4-icons",
"reqwest",
"secrecy",
"tracker",
"webkit6",
]
@ -2569,9 +2570,9 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "secrecy"
version = "0.8.0"
version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e"
checksum = "ba079fa568d52545cd70b334b2ce6f88f62b8fc2bda9290f48a0578388a49331"
dependencies = [
"serde",
"zeroize",

View file

@ -6,9 +6,12 @@ members = [
"paket",
]
[workspace.package]
authors = ["Jane Rachinger <libpaket@j4ne.de>"]
edition = "2021"
license = "AGPL-3.0-only"
version = "0.1.0"
[workspace.dependencies]
secrecy = { version = "0.10"}
reqwest = { version = "0.12", features = ["json", "cookies", "gzip", "http2"] }

View file

@ -14,8 +14,8 @@ num_enum = { version = "0.7", optional = true }
# TODO: Consolidate?
rand = "0.8.5"
random-string = "1.1.0"
reqwest = { version = "0.12", features = ["json", "cookies", "gzip", "http2"] }
secrecy = { version = "0.8.0", features = ["serde"] }
reqwest = { workspace = true }
secrecy = { workspace = true, features = ["serde"]}
serde = { version = "1.0.195", features = ["derive"] }
serde_json = "1.0.111"
serde_repr = { version = "0.1.18", optional = true }

View file

@ -7,14 +7,17 @@ version.workspace = true
[dependencies]
# using git version, for https://github.com/Relm4/Relm4/pull/677
relm4 = { version = "0.9", features = [ "libadwaita", "macros" ], git = "https://github.com/Relm4/Relm4.git" }
relm4 = { version = "0.9", features = [
"libadwaita",
"macros",
], git = "https://github.com/Relm4/Relm4.git" }
relm4-icons = { version = "0.9", git = "https://github.com/Relm4/icons.git" }
tracker = "0.2"
adw = {package = "libadwaita", version = "0.7", features = [ "v1_6" ]}
adw = { package = "libadwaita", version = "0.7", features = ["v1_6"] }
webkit = { package = "webkit6", version = "0.4" }
reqwest = "0.12"
reqwest = { workspace = true }
libpaket = { path = "../libpaket" }
glycin = { version = "2.0.0-beta", features = ["gdk4"] }
oo7 = { version = "0.3" }
futures = "0.3"
gtk = { package = "gtk4", version = "0.9", features = ["v4_16"]}
gtk = { package = "gtk4", version = "0.9", features = ["v4_16"] }