Skip to content

Commit 0d16c07

Browse files
committed
Add coinbase APIs
1 parent 2c731c7 commit 0d16c07

20 files changed

Lines changed: 1392 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
args:
3232
- -p binance-api
3333
- -p bitfinex-api
34+
- -p coinbase-api
3435
- -p kraken-api
3536
- -p strike-api
3637
steps:

Cargo.lock

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

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
members = [
33
"binance",
44
"bitfinex",
5+
"coinbase",
56
"kraken",
67
"strike",
78
]
@@ -14,6 +15,8 @@ rust-version = "1.85.0"
1415
publish = false
1516

1617
[workspace.dependencies]
18+
base64 = "0.22"
19+
chrono = "0.4"
1720
hex = "0.4"
1821
hmac = "0.12"
1922
reqwest = { version = "0.12", default-features = false }

coinbase/Cargo.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[package]
2+
name = "coinbase-api"
3+
version = "0.1.2"
4+
edition.workspace = true
5+
authors.workspace = true
6+
rust-version.workspace = true
7+
publish.workspace = true
8+
9+
[dependencies]
10+
base64.workspace = true
11+
chrono = { workspace = true, features = ["serde"] }
12+
p256 = { version = "0.13", features = ["pem", "pkcs8"] }
13+
reqwest = { workspace = true, features = ["http2", "json", "rustls-tls"] }
14+
ring = "0.17"
15+
serde = { workspace = true, features = ["derive"] }
16+
serde_json.workspace = true
17+
thiserror.workspace = true
18+
url.workspace = true
19+
20+
[dev-dependencies]
21+
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

0 commit comments

Comments
 (0)