mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 04:48:21 +00:00
Re-export context_deserialize_derive inside context_deserialize (#7852)
Re-export `context_deserialize_derive` inside of `context_deserialize` so they are both available from the same interface, which matches how popular crates (like `serde`) handle this. This also nests both crates inside a new `context_deserialize` directory which will make it easier to eventually spin out into a different repo (if/when) we decide to do that (plus I prefer it aesthetically).
This commit is contained in:
10
Cargo.toml
10
Cargo.toml
@@ -48,8 +48,8 @@ members = [
|
||||
"common/validator_dir",
|
||||
"common/warp_utils",
|
||||
"common/workspace_members",
|
||||
"consensus/context_deserialize",
|
||||
"consensus/context_deserialize_derive",
|
||||
"consensus/context_deserialize/context_deserialize",
|
||||
"consensus/context_deserialize/context_deserialize_derive",
|
||||
"consensus/fixed_bytes",
|
||||
"consensus/fork_choice",
|
||||
"consensus/int_to_bytes",
|
||||
@@ -123,8 +123,10 @@ clap_utils = { path = "common/clap_utils" }
|
||||
compare_fields = { path = "common/compare_fields" }
|
||||
compare_fields_derive = { path = "common/compare_fields_derive" }
|
||||
console-subscriber = "0.4"
|
||||
context_deserialize = { path = "consensus/context_deserialize" }
|
||||
context_deserialize_derive = { path = "consensus/context_deserialize_derive" }
|
||||
context_deserialize = { path = "consensus/context_deserialize/context_deserialize", features = [
|
||||
"all",
|
||||
] }
|
||||
context_deserialize_derive = { path = "consensus/context_deserialize/context_deserialize_derive" }
|
||||
criterion = "0.5"
|
||||
delay_map = "0.4"
|
||||
deposit_contract = { path = "common/deposit_contract" }
|
||||
|
||||
Reference in New Issue
Block a user