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

View file

@ -6,9 +6,12 @@ members = [
"paket", "paket",
] ]
[workspace.package] [workspace.package]
authors = ["Jane Rachinger <libpaket@j4ne.de>"] authors = ["Jane Rachinger <libpaket@j4ne.de>"]
edition = "2021" edition = "2021"
license = "AGPL-3.0-only" license = "AGPL-3.0-only"
version = "0.1.0" 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? # TODO: Consolidate?
rand = "0.8.5" rand = "0.8.5"
random-string = "1.1.0" random-string = "1.1.0"
reqwest = { version = "0.12", features = ["json", "cookies", "gzip", "http2"] } reqwest = { workspace = true }
secrecy = { version = "0.8.0", features = ["serde"] } secrecy = { workspace = true, features = ["serde"]}
serde = { version = "1.0.195", features = ["derive"] } serde = { version = "1.0.195", features = ["derive"] }
serde_json = "1.0.111" serde_json = "1.0.111"
serde_repr = { version = "0.1.18", optional = true } serde_repr = { version = "0.1.18", optional = true }

View file

@ -7,12 +7,15 @@ version.workspace = true
[dependencies] [dependencies]
# using git version, for https://github.com/Relm4/Relm4/pull/677 # 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" } relm4-icons = { version = "0.9", git = "https://github.com/Relm4/icons.git" }
tracker = "0.2" 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" } webkit = { package = "webkit6", version = "0.4" }
reqwest = "0.12" reqwest = { workspace = true }
libpaket = { path = "../libpaket" } libpaket = { path = "../libpaket" }
glycin = { version = "2.0.0-beta", features = ["gdk4"] } glycin = { version = "2.0.0-beta", features = ["gdk4"] }
oo7 = { version = "0.3" } oo7 = { version = "0.3" }