Skip to content

Commit

Permalink
integrate beacon-api-client crate into workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes committed Sep 15, 2023
1 parent b45cb5c commit afdbc28
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[workspace]
resolver = "2"

members = ["ethereum-consensus", "test-gen", "spec-gen"]
members = ["beacon-api-client", "ethereum-consensus", "test-gen", "spec-gen"]
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ To add support for a new network, you can:
A client for the Ethereum beacon node APIs:

https://ethereum.github.io/beacon-APIs

> Note: this crate was merged from https://github.com/ralexstokes/beacon-api-client repository at commit `ea585027b922877b51ec5db42b4e676c98f4d834`.
26 changes: 26 additions & 0 deletions beacon-api-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[package]
name = "beacon-api-client"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"

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

[features]
default = ["cli"]
cli = ["clap"]

[dependencies]
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
reqwest = { version = "0.11.10", features = ["json", "native-tls-vendored"] }
url = "2.2.2"
http = "0.2.7"

serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.81"
itertools = "0.10.3"
clap = { version = "4.3.11", features = ["derive"], optional = true }
thiserror = "1.0.30"
ethereum-consensus = { path = "../ethereum-consensus" }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit afdbc28

Please sign in to comment.