-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #204 from ralexstokes/refactor-to-workspace
refactor crate to workspace
- Loading branch information
Showing
1,607 changed files
with
61 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,6 @@ | ||
[package] | ||
name = "ethereum-consensus" | ||
version = "0.1.1" | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
[workspace] | ||
resolver = "2" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
[features] | ||
default = ["serde", "async"] | ||
serde = ["dep:serde", "hex", "serde_json", "serde_yaml"] | ||
async = ["tokio", "tokio-stream", "async-stream"] | ||
spec-tests = ["serde", "serde_yaml"] | ||
gen-spec = ["syn", "prettyplease", "quote"] | ||
gen-tests = ["walkdir", "convert_case"] | ||
|
||
[dependencies] | ||
ssz_rs = "0.9.0" | ||
blst = "0.3.6" | ||
rand = "0.8.4" | ||
thiserror = "1.0.30" | ||
sha2 = "0.9.8" | ||
integer-sqrt = "0.1.5" | ||
enr = "0.6.2" | ||
multihash = { version = "0.16", default-features = false, features = ["std", "multihash-impl", "identity", "sha2"] } | ||
multiaddr = "0.14.0" | ||
|
||
serde = { version = "1.0", features = ["derive"], optional = true } | ||
serde_json = { version = "1.0.81", optional = true } | ||
serde_yaml = { version = "0.8", optional = true } | ||
hex = {version = "0.4.3", optional = true } | ||
|
||
tokio = { version = "1.18.2", features = ["full"], optional = true } | ||
tokio-stream = { version = "0.1.8", optional = true } | ||
async-stream = { version = "0.3.3", optional = true } | ||
|
||
syn = { version = "1.0.98", features = ["full", "visit", "visit-mut", "extra-traits"], optional = true } | ||
prettyplease = { version = "0.1.10", optional = true } | ||
quote = { version = "1.0.18", optional = true } | ||
|
||
walkdir = { version = "2.3.2", optional = true } | ||
convert_case = { version = "0.5.0", optional = true } | ||
bs58 = "0.4.0" | ||
|
||
[dev-dependencies] | ||
serde_with = "1.13.0" | ||
snap = "1" | ||
|
||
[[bin]] | ||
name = "gen-spec" | ||
path = "src/bin/gen_spec.rs" | ||
required-features = ["gen-spec"] | ||
|
||
[[bin]] | ||
name = "gen-tests" | ||
path = "src/bin/gen_tests.rs" | ||
required-features = ["gen-tests"] | ||
members = [ | ||
"ethereum-consensus", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[package] | ||
name = "ethereum-consensus" | ||
version = "0.1.1" | ||
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 = ["serde", "async"] | ||
serde = ["dep:serde", "hex", "serde_json", "serde_yaml"] | ||
async = ["tokio", "tokio-stream", "async-stream"] | ||
spec-tests = ["serde", "serde_yaml"] | ||
gen-spec = ["syn", "prettyplease", "quote"] | ||
gen-tests = ["walkdir", "convert_case"] | ||
|
||
[dependencies] | ||
ssz_rs = "0.9.0" | ||
blst = "0.3.6" | ||
rand = "0.8.4" | ||
thiserror = "1.0.30" | ||
sha2 = "0.9.8" | ||
integer-sqrt = "0.1.5" | ||
enr = "0.6.2" | ||
multihash = { version = "0.16", default-features = false, features = ["std", "multihash-impl", "identity", "sha2"] } | ||
multiaddr = "0.14.0" | ||
|
||
serde = { version = "1.0", features = ["derive"], optional = true } | ||
serde_json = { version = "1.0.81", optional = true } | ||
serde_yaml = { version = "0.8", optional = true } | ||
hex = {version = "0.4.3", optional = true } | ||
|
||
tokio = { version = "1.18.2", features = ["full"], optional = true } | ||
tokio-stream = { version = "0.1.8", optional = true } | ||
async-stream = { version = "0.3.3", optional = true } | ||
|
||
syn = { version = "1.0.98", features = ["full", "visit", "visit-mut", "extra-traits"], optional = true } | ||
prettyplease = { version = "0.1.10", optional = true } | ||
quote = { version = "1.0.18", optional = true } | ||
|
||
walkdir = { version = "2.3.2", optional = true } | ||
convert_case = { version = "0.5.0", optional = true } | ||
bs58 = "0.4.0" | ||
|
||
[dev-dependencies] | ||
serde_with = "1.13.0" | ||
snap = "1" | ||
|
||
[[bin]] | ||
name = "gen-spec" | ||
path = "src/bin/gen_spec.rs" | ||
required-features = ["gen-spec"] | ||
|
||
[[bin]] | ||
name = "gen-tests" | ||
path = "src/bin/gen_tests.rs" | ||
required-features = ["gen-tests"] |
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Oops, something went wrong.