Skip to content

Commit

Permalink
Merge pull request #3 from Ohkthx/develop
Browse files Browse the repository at this point in the history
Version 1.3.0, merged from `develop`
  • Loading branch information
Ohkthx authored Oct 19, 2023
2 parents 14fd5b6 + 3fb119c commit 7023a26
Show file tree
Hide file tree
Showing 22 changed files with 878 additions and 218 deletions.
143 changes: 111 additions & 32 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 20 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cbadv"
license = "MIT"
version = "1.2.1-beta.0"
version = "1.3.0"
edition = "2021"
description = "Asynchronous Coinbase Advanced REST and WebSocket API"
readme = "README.md"
Expand Down Expand Up @@ -40,24 +40,29 @@ name = "websocket"
path = "examples/websocket.rs"
required-features = ["config"]

[[example]]
name = "watch_candles"
path = "examples/watch_candles.rs"
required-features = ["config"]

[[example]]
name = "custom_config"
path = "examples/custom_config.rs"
required-features = ["config"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
reqwest = {version = "0.11", features = ["json"]} # Making HTTP requests.
futures = "0.3" # Async / await blocks
tokio = {version = "1.12.0", features = ["full"]} # Async runtime
hmac = "0.12.1" # Signing requests with a signature.
sha2 = "0.10.6" # Signing requests with a signature.
hex = "0.4.3" # Convert signature for HTTP headers.
serde_json = "1.0.96" # Converting Configuration file and Objects from API.
serde = {version = "1.0.163", features = ["derive"]} # Converting Configuration file and Objects from API.
toml = {version = "0.7.3", optional = true} # Creating Configuration file.
uuid = {version = "1.3.4", features = ["v4", "fast-rng", "macro-diagnostics"]} # Create Client ID for orders.
async-recursion = "1.0.4" # Recursive async functions require this.
tokio-tungstenite = {version = "0.19.0", features = ["native-tls"]} # WebSocket requirement.
futures-util = "0.3.28" # Required for the WebSocket client.
reqwest = { version = "0.11", features = ["json"] } # Making HTTP requests.
futures = { version = "0.3" } # Async / await blocks
tokio = { version = "1.12.0", features = ["full"] } # Async runtime
hmac = { version = "0.12.1" } # Signing requests with a signature.
sha2 = { version = "0.10.6" } # Signing requests with a signature.
hex = { version = "0.4.3" } # Convert signature for HTTP headers.
serde_json = { version = "1.0.96" } # Converting Configuration file and Objects from API.
serde = { version = "1.0.163", features = ["derive"] } # Converting Configuration file and Objects from API.
toml = { version = "0.7.3", optional = true } # Creating Configuration file.
uuid = { version = "1.3.4", features = ["v4", "fast-rng", "macro-diagnostics"] } # Create Client ID for orders.
async-recursion = { version = "1.0.4" } # Recursive async functions require this.
tokio-tungstenite = { version = "0.19.0", features = ["native-tls"] } # WebSocket requirement.
futures-util = { version = "0.3.28" } # Required for the WebSocket client.
chrono = { version = "0.4.31" } # Used to pass current candle timestamp to candle watcher.
Loading

0 comments on commit 7023a26

Please sign in to comment.