Skip to content

Commit c75a010

Browse files
committed
_
1 parent 11110b7 commit c75a010

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
![Minimum Supported Rust Version](https://img.shields.io/badge/nightly-1.83+-ab6000.svg)
33
[<img alt="crates.io" src="https://img.shields.io/crates/v/v_exchanges.svg?color=fc8d62&logo=rust" height="20" style=flat-square>](https://crates.io/crates/v_exchanges)
44
[<img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs&style=flat-square" height="20">](https://docs.rs/v_exchanges)
5-
![Lines Of Code](https://img.shields.io/badge/LoC-2032-lightblue)
5+
![Lines Of Code](https://img.shields.io/badge/LoC-3736-lightblue)
66
<br>
77
[<img alt="ci errors" src="https://img.shields.io/github/actions/workflow/status/valeratrades/v_exchanges/errors.yml?branch=master&style=for-the-badge&style=flat-square&label=errors&labelColor=420d09" height="20">](https://github.com/valeratrades/v_exchanges/actions?query=branch%3Amaster) <!--NB: Won't find it if repo is private-->
88
[<img alt="ci warnings" src="https://img.shields.io/github/actions/workflow/status/valeratrades/v_exchanges/warnings.yml?branch=master&style=for-the-badge&style=flat-square&label=warnings&labelColor=d16002" height="20">](https://github.com/valeratrades/v_exchanges/actions?query=branch%3Amaster) <!--NB: Won't find it if repo is private-->

v_exchanges/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,30 @@ rustdoc-args = ["--cfg", "docsrs"]
2424
ignored = ["derive-new", "color-eyre", "serde", "tokio", "v_utils"]
2525

2626
[dependencies]
27+
chrono = { version = "0.4.39", features = ["serde"] }
28+
derive-new.workspace = true
29+
derive_more.workspace = true
30+
env_logger = "0.11.5"
2731
serde.workspace = true
2832
serde_json.workspace = true
2933
serde_plain.workspace = true
3034
serde_with.workspace = true
35+
thiserror.workspace = true
3136
tokio.workspace = true
3237
tracing.workspace = true
33-
thiserror.workspace = true
34-
derive_more.workspace = true
35-
derive-new.workspace = true
3638
v_utils = { workspace = true }
3739

3840
v_exchanges_adapters = { version = "^0.2.1", path = "../v_exchanges_adapters/", features = ["full"] }
39-
chrono = { version = "0.4.39", features = ["serde"] }
40-
env_logger = "0.11.5"
41+
enum_dispatch = "0.3.13"
42+
eyre = "0.6.12"
4143

42-
reqwest = { version = "^0.12.12", optional = true}
44+
reqwest = { version = "^0.12.12", optional = true }
4345

4446
insta.workspace = true #dbg (for some reason is not loading in dev-dependencies rn
45-
eyre = "0.6.12"
46-
enum_dispatch = "0.3.13"
4747

4848
[dev-dependencies]
49-
insta.workspace = true
5049
color-eyre = "^0.6.3"
50+
insta.workspace = true
5151
#
5252

5353
[features]

v_exchanges_adapters/Cargo.toml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,37 +19,37 @@ repository = "https://github.com/valeratrades/v_exchanges/tree/master/v_exchange
1919
all-features = true
2020
rustdoc-args = ["--cfg", "docsrs"]
2121

22-
[features]
23-
default = ["native-tls"]
24-
25-
full = ["binance", "bitflyer", "bybit", "coincheck"]
26-
binance = ["dep:serde_urlencoded"]
27-
bitflyer = ["dep:rand"]
28-
bybit = ["dep:serde_urlencoded", "dep:rand"]
29-
coincheck = ["dep:serde_urlencoded"]
30-
31-
native-tls = ["v_exchanges_api_generics/native-tls"]
32-
native-tls-vendored = ["v_exchanges_api_generics/native-tls-vendored"]
33-
rustls-tls-native-roots = ["v_exchanges_api_generics/rustls-tls-native-roots"]
34-
rustls-tls-webpki-roots = ["v_exchanges_api_generics/rustls-tls-webpki-roots"]
35-
3622
[dependencies]
23+
derive-new.workspace = true
24+
derive_more.workspace = true
3725
hex.workspace = true
3826
hmac.workspace = true
27+
rand = { version = "0.8.5", optional = true }
3928
serde.workspace = true
4029
serde_json.workspace = true
4130
serde_with.workspace = true
4231
sha2.workspace = true
4332
thiserror.workspace = true
44-
derive-new.workspace = true
45-
derive_more.workspace = true
4633
tracing.workspace = true
4734
v_exchanges_api_generics = { version = "^0.4.1", path = "../v_exchanges_api_generics" }
48-
rand = { version = "0.8.5", optional = true }
4935

5036
serde_urlencoded = { version = "0.7.1", optional = true }
5137

5238
[dev-dependencies]
5339
env_logger = "0.11.5"
5440
rust_decimal = { version = "1.36.0", features = ["serde-with-str", "serde-with-float"] }
5541
tokio = { version = "1.42.0", features = ["rt-multi-thread", "macros"] }
42+
43+
[features]
44+
default = ["native-tls"]
45+
46+
full = ["binance", "bitflyer", "bybit", "coincheck"]
47+
binance = ["dep:serde_urlencoded"]
48+
bitflyer = ["dep:rand"]
49+
bybit = ["dep:serde_urlencoded", "dep:rand"]
50+
coincheck = ["dep:serde_urlencoded"]
51+
52+
native-tls = ["v_exchanges_api_generics/native-tls"]
53+
native-tls-vendored = ["v_exchanges_api_generics/native-tls-vendored"]
54+
rustls-tls-native-roots = ["v_exchanges_api_generics/rustls-tls-native-roots"]
55+
rustls-tls-webpki-roots = ["v_exchanges_api_generics/rustls-tls-webpki-roots"]

0 commit comments

Comments
 (0)