Skip to content

Commit 2c797d0

Browse files
committed
docs: _
1 parent 193b1fe commit 2c797d0

File tree

7 files changed

+41
-13
lines changed

7 files changed

+41
-13
lines changed

Cargo.lock

Lines changed: 3 additions & 1 deletion
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
@@ -15,6 +15,8 @@ undocumented_unsafe_blocks = "warn"
1515
tabs_in_doc_comments = "allow"
1616

1717
[workspace.dependencies]
18+
v_utils = { version = "^2.0", features = ["trades", "tracing"]}#, path = "../v_utils/v_utils" }
19+
1820
chrono = "^0.4.39"
1921
color-eyre = "^0.6.3"
2022
derive-new = "^0"
@@ -28,8 +30,6 @@ tokio = { version = "^1.42.0", features = ["full"] }
2830
tokio-tungstenite = { version = "^0.26.0", features = ["native-tls"] }
2931
tracing = "^0.1.41"
3032
url = "^2.5.4"
31-
v_utils = { version = "^1.9.1", features = ["trades", "tracing"], path = "../v_utils/v_utils" }
32-
v_exchanges_api_generics = { version = "^0.3", path = "../v_exchanges_api_generics" }
3333
hmac = "^0.12.1"
3434
sha2 = "^0.10.8"
3535
hex = "^0.4.3"

v_exchanges/Cargo.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,27 @@ name = "v_exchanges"
55
version = "0.1.0"
66
edition = "2024"
77

8+
authors = ["negi-grass", "valeratrades"]
9+
categories = ["api-bindings", "asynchronous"]
10+
description = "Implementations of HTTP/HTTPS/WebSocket API methods for some crypto exchanges, using [crypto-botters](<https://github.com/negi-grass/crypto-botters>) framework"
11+
documentation = "https://docs.rs/v_exchanges"
12+
homepage = "https://github.com/valeratrades/v_exchanges"
13+
keywords = ["client", "websocket", "asynchronous"]
14+
license = "MIT"
15+
readme = "README.md"
16+
repository = "https://github.com/valeratrades/v_exchanges/tree/master/v_exchanges"
17+
18+
819
[package.metadata.docs.rs]
920
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
21+
all-features = true
22+
rustdoc-args = ["--cfg", "docsrs"]
1023

1124
[package.metadata.cargo-machete]
1225
ignored = ["derive-new", "color-eyre", "serde", "tokio", "v_utils"]
1326

1427
[dependencies]
15-
v_exchanges_adapters = { path = "../v_exchanges_adapters/", features = ["full"] }
28+
v_exchanges_adapters = { version = "^0.1.0", path = "../v_exchanges_adapters/", features = ["full"] }
1629
tokio.workspace = true
1730
tracing.workspace = true
1831
serde.workspace = true

v_exchanges/src/binance/futures/market.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,6 @@ mod tests {
114114
#[test]
115115
fn klines() {
116116
let raw_str = "[1731448080000,\"88591.90\",\"88630.90\",\"88560.00\",\"88574.10\",\"173.581\",1731448139999,\"15378315.48720\",2800,\"113.654\",\"10069629.84420\",\"0\"]";
117-
let _: super::Kline = serde_json::from_str(raw_str).unwrap();
117+
let _: super::KlineResponse = serde_json::from_str(raw_str).unwrap();
118118
}
119119
}

v_exchanges_adapters/Cargo.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ name = "v_exchanges_adapters"
55
version = "0.1.0"
66
edition = "2024"
77

8+
authors = ["negi-grass", "valeratrades"]
9+
categories = ["api-bindings", "asynchronous"]
10+
description = "Implementations of HTTP/HTTPS/WebSocket API methods for some crypto exchanges, using [crypto-botters](<https://github.com/negi-grass/crypto-botters>) framework"
11+
documentation = "https://docs.rs/v_exchanges_adapters"
12+
homepage = "https://github.com/valeratrades/v_exchanges"
13+
keywords = ["client", "websocket", "asynchronous"]
14+
license = "MIT"
15+
readme = "README.md"
16+
repository = "https://github.com/valeratrades/v_exchanges/tree/master/v_exchanges_adapters"
17+
18+
819
[package.metadata.docs.rs]
920
all-features = true
1021
rustdoc-args = ["--cfg", "docsrs"]
@@ -24,7 +35,7 @@ rustls-tls-native-roots = ["v_exchanges_api_generics/rustls-tls-native-roots"]
2435
rustls-tls-webpki-roots = ["v_exchanges_api_generics/rustls-tls-webpki-roots"]
2536

2637
[dependencies]
27-
v_exchanges_api_generics = { path = "../v_exchanges_api_generics" }
38+
v_exchanges_api_generics = { version = "^0.3.0", path = "../v_exchanges_api_generics" }
2839
serde.workspace = true
2940
serde_json.workspace = true
3041
serde_with.workspace = true

v_exchanges_adapters/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Implementations of [../v_exchanges_api_generics] for some exchanges

v_exchanges_api_generics/Cargo.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ cargo-features = ["codegen-backend"]
33
[package]
44
name = "v_exchanges_api_generics"
55
version = "0.3.0"
6-
authors = ["negi_grass"]
7-
description = "A client for HTTP/HTTPS/WebSocket APIs."
86
edition = "2024"
9-
license = "MIT"
10-
readme = "README.md"
11-
homepage = "https://github.com/negi-grass/crypto-botters/tree/main/v_exchanges_api_generics"
7+
8+
authors = ["negi_grass", "valeratrades"]
9+
categories = ["api-bindings", "asynchronous"]
10+
description = "A client for HTTP/HTTPS/WebSocket APIs."
1211
documentation = "https://docs.rs/v_exchanges_api_generics"
13-
repository = "https://github.com/negi-grass/crypto-botters/tree/main/v_exchanges_api_generics"
12+
homepage = "https://github.com/valeratrades/v_exchanges"
1413
keywords = ["client", "websocket", "asynchronous"]
15-
categories = ["api-bindings", "asynchronous"]
14+
license = "MIT"
15+
readme = "README.md"
16+
repository = "https://github.com/valeratrades/v_exchanges/tree/master/v_exchanges_api_generics"
1617

1718
[dependencies]
1819
bytes = "1.9.0"

0 commit comments

Comments
 (0)