Skip to content

Commit b754df4

Browse files
authored
[Chore] Minor Cleanup and Version Bump (#107)
* minor cleanup and bump version * cleanup workspace dependencies
1 parent 82dddc1 commit b754df4

17 files changed

Lines changed: 141 additions & 335 deletions

File tree

Cargo.lock

Lines changed: 93 additions & 257 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ async-trait = "0.1.77"
3030
chrono = "0.4.38"
3131
derive_more = { version = "1.0.0-beta.6", features = ["full"] }
3232
futures = "0.3.30"
33+
futures-util = "0.3.31"
3334
humantime-serde = "1.1.1"
3435
itertools = "0.13.0"
3536
mockito = "1.4.0"
@@ -42,10 +43,9 @@ rust_decimal = "1.10.2"
4243
semver = "1.0.23"
4344
serde = { version = "1.0.197", features = ["std", "derive", "alloc"] }
4445
serde_json = "1.0.116"
45-
thiserror = "1.0.57"
46+
thiserror = "2.0.6"
4647
tokio = { version = "1.36.0", features = ["full"] }
4748
tokio-tungstenite = { version = "0.24.0", features = ["native-tls"] }
48-
tokio-util = "0.7.10"
4949
tonic = "0.12.1"
5050
tracing = "0.1.40"
5151
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }

bothan-api/client/rust-client/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bothan-client"
3-
version = "0.0.1-alpha.8"
3+
version = "0.0.1-beta.1"
44
authors.workspace = true
55
edition.workspace = true
66
license.workspace = true
@@ -9,8 +9,6 @@ exclude.workspace = true
99

1010
[dependencies]
1111
prost = { workspace = true }
12-
protoc-gen-prost = { workspace = true }
13-
protoc-gen-tonic = { workspace = true }
1412
tokio = { workspace = true }
1513
tonic = { workspace = true }
1614
reqwest = { workspace = true }

bothan-api/server-cli/Cargo.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bothan-api-cli"
3-
version = "0.0.1-alpha.8"
3+
version = "0.0.1-beta.1"
44
rust-version = "1.81"
55
edition.workspace = true
66
license.workspace = true
@@ -11,6 +11,9 @@ name = "bothan"
1111
path = "src/main.rs"
1212

1313
[dependencies]
14+
bothan-client = { workspace = true }
15+
bothan-core = { workspace = true }
16+
1417
bothan-api = { workspace = true }
1518
bothan-binance = { workspace = true }
1619
bothan-bybit = { workspace = true }
@@ -21,10 +24,7 @@ bothan-cryptocompare = { workspace = true }
2124
bothan-htx = { workspace = true }
2225
bothan-kraken = { workspace = true }
2326
bothan-okx = { workspace = true }
24-
bothan-client = { workspace = true }
25-
bothan-core = { workspace = true }
2627

27-
async-trait = { workspace = true }
2828
reqwest = { workspace = true }
2929
semver = { workspace = true }
3030
serde_json = { workspace = true }
@@ -33,9 +33,8 @@ tonic = { workspace = true }
3333
tracing = { workspace = true }
3434
tracing-subscriber = { workspace = true }
3535

36-
anyhow = "1.0.89"
37-
clap = { version = "4.5.20", features = ["derive"] }
36+
anyhow = "1.0.94"
37+
clap = { version = "4.5.23", features = ["derive"] }
3838
inquire = "0.7.5"
3939
dirs = "5.0.1"
40-
log = "0.4.22"
4140
toml = "0.8.19"

bothan-api/server-cli/config.example.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ api_key = ""
7575
# User agent string for HTTP requests to Coingecko.
7676
user_agent = "Bothan"
7777
# Update interval for pulling data from Coingecko.
78-
update_interval = "1m"
78+
update_interval = "30s"
7979

8080
# Configuration for CoinMarketCap.
8181
[manager.crypto.source.coinmarketcap]

bothan-api/server/Cargo.toml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bothan-api"
3-
version = "0.0.1-alpha.8"
3+
version = "0.0.1-beta.1"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true
@@ -18,27 +18,12 @@ bothan-htx = { workspace = true }
1818
bothan-kraken = { workspace = true }
1919
bothan-okx = { workspace = true }
2020

21-
anyhow = { workspace = true }
22-
async-trait = { workspace = true }
23-
chrono = { workspace = true }
24-
humantime-serde = { workspace = true }
25-
itertools = { workspace = true }
2621
prost = { workspace = true }
27-
protoc-gen-prost = { workspace = true }
28-
protoc-gen-tonic = { workspace = true }
29-
reqwest = { workspace = true }
3022
rust_decimal = { workspace = true }
3123
semver = { workspace = true }
3224
serde = { workspace = true }
33-
serde_json = { workspace = true }
34-
thiserror = { workspace = true }
35-
tokio = { workspace = true }
3625
tonic = { workspace = true }
3726
tracing = { workspace = true }
3827

39-
config = "0.14.0"
28+
config = "0.14.1"
4029
dirs = "5.0.1"
41-
glob = "0.3.1"
42-
43-
[build-dependencies]
44-
tonic-build = "0.12.3"

bothan-binance/Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
[package]
22
name = "bothan-binance"
3-
version = "0.0.1-alpha.8"
3+
version = "0.0.1-beta.1"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true
77

88
[dependencies]
99
async-trait = { workspace = true }
1010
bothan-core = { workspace = true }
11+
futures-util = { workspace = true, features = ["sink", "std"] }
1112
humantime-serde = { workspace = true }
1213
rand = { workspace = true }
1314
rust_decimal = { workspace = true }
@@ -19,8 +20,8 @@ tokio-tungstenite = { workspace = true }
1920
tracing = { workspace = true }
2021
tracing-subscriber = { workspace = true }
2122

22-
futures-channel = "0.3.30"
23-
futures-util = { version = "0.3.29", features = ["sink", "std"] }
24-
2523
[dev-dependencies]
2624
ws-mock = { git = "https://github.com/bandprotocol/ws-mock.git", branch = "master" }
25+
26+
[package.metadata.cargo-machete]
27+
ignored = ["humantime-serde"]

bothan-bybit/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
[package]
22
name = "bothan-bybit"
3-
version = "0.0.1-alpha.8"
3+
version = "0.0.1-beta.1"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true
77

88
[dependencies]
9-
futures-util = "0.3.29"
10-
119
async-trait = { workspace = true }
1210
bothan-core = { workspace = true }
1311
chrono = { workspace = true }
12+
futures-util = { workspace = true }
1413
rust_decimal = { workspace = true }
1514
serde = { workspace = true }
1615
serde_json = { workspace = true }

bothan-coinbase/Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
[package]
22
name = "bothan-coinbase"
3-
version = "0.0.1-alpha.8"
3+
version = "0.0.1-beta.1"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true
77

88
[dependencies]
9-
futures-util = "0.3.29"
10-
119
async-trait = { workspace = true }
1210
bothan-core = { workspace = true }
1311
chrono = { workspace = true }
14-
rand = { workspace = true }
12+
futures-util = { workspace = true }
1513
rust_decimal = { workspace = true }
1614
serde = { workspace = true }
1715
serde_json = { workspace = true }

bothan-coingecko/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bothan-coingecko"
3-
version = "0.0.1-alpha.8"
3+
version = "0.0.1-beta.1"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true
@@ -11,7 +11,6 @@ repository.workspace = true
1111
async-trait = { workspace = true }
1212
bothan-core = { workspace = true }
1313
chrono = { workspace = true }
14-
futures = { workspace = true }
1514
humantime-serde = { workspace = true }
1615
reqwest = { workspace = true }
1716
rust_decimal = { workspace = true }
@@ -25,3 +24,6 @@ url = { workspace = true }
2524
[dev-dependencies]
2625
mockito = { workspace = true }
2726
serde_json = { workspace = true }
27+
28+
[package.metadata.cargo-machete]
29+
ignored = ["humantime-serde"]

0 commit comments

Comments
 (0)