Skip to content

Commit 09a4095

Browse files
committed
Applied workspace.dependencies to resolve diff of the dependencies version between crates
1 parent 7ea7f75 commit 09a4095

File tree

5 files changed

+28
-24
lines changed

5 files changed

+28
-24
lines changed

base/Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ edition = "2021"
77

88
[dependencies]
99
dotenv = "0.15.0"
10-
tokio = { version = "1", features = ["full"] }
10+
reqwest.workspace = true
11+
tokio.workspace = true
12+
1113
interface = {path = "../interface"}
1214
twitter_api = {path = "../twitter_api"}
1315
spotify_api = {path = "../spotify_api"}
14-
reqwest = { version = "0.11.13", features = ["json", "blocking", "multipart"] }

interface/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
async-trait = "0.1.72"
10-
bytes = "1.4.0"
9+
async-trait.workspace = true
10+
bytes.workspace = true

spotify_api/Cargo.toml

+8-7
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ edition = "2021"
77

88
[dependencies]
99
utils = { path = "../utils" }
10-
chrono = "0.4.23"
11-
base64 = "0.13.1"
12-
reqwest = { version = "0.11.13", features = ["json"] }
13-
tokio = { version = "1", features = ["full"] }
14-
serde = { version = "1.0", features = ["derive"] }
15-
serde_json = "1.0"
16-
url = "2.3.1"
10+
11+
base64.workspace = true
12+
chrono.workspace = true
13+
reqwest.workspace = true
14+
serde.workspace = true
15+
serde_json.workspace = true
16+
tokio.workspace = true
17+
url.workspace = true
1718
webbrowser = "0.8.2"

twitter_api/Cargo.toml

+11-10
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ edition = "2021"
88
[dependencies]
99
utils = { path = "../utils" }
1010
interface = { path = "../interface" }
11-
url = "2.3.1"
12-
rand = "0.8.5"
13-
chrono = "0.4.23"
14-
base64 = "0.13.1"
15-
reqwest = { version = "0.11.13", features = ["json", "blocking", "multipart"] }
16-
tokio = { version = "1", features = ["full"] }
17-
serde = { version = "1.0", features = ["derive"] }
18-
serde_json = "1.0"
11+
12+
async-trait.workspace = true
13+
base64.workspace = true
14+
bytes.workspace = true
15+
chrono.workspace = true
1916
hmac-sha1 = "0.1.3"
17+
rand = "0.8.5"
18+
reqwest.workspace = true
19+
serde.workspace = true
20+
serde_json.workspace = true
21+
tokio.workspace = true
22+
url.workspace = true
2023
urlencoding = "2.1.2"
21-
bytes = "1"
22-
async-trait = "0.1.72"

utils/Cargo.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
webbrowser = "0.8.10"
109
interface = { path="../interface" }
11-
async-trait = "0.1.72"
12-
bytes = "1.4.0"
10+
11+
async-trait.workspace = true
12+
bytes.workspace = true
13+
webbrowser = "0.8.10"

0 commit comments

Comments
 (0)