Skip to content

Commit

Permalink
use yaml-rust2
Browse files Browse the repository at this point in the history
  • Loading branch information
realbigsean committed Apr 23, 2024
1 parent 98f4751 commit 9056a67
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 41 deletions.
146 changes: 110 additions & 36 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,15 @@ tree_hash = "0.5"
tree_hash_derive = "0.5"
url = "2"
uuid = { version = "0.8", features = ["serde", "v4"] }
warp = { version = "0.3.6", default-features = false, features = ["tls"] }
warp = { version = "0.3.7", default-features = false, features = ["tls"] }
zeroize = { version = "1", features = ["zeroize_derive"] }
zip = "0.6"

# Local crates.
account_utils = { path = "common/account_utils" }
beacon_chain = { path = "beacon_node/beacon_chain" }
beacon_node = { path = "beacon_node" }
beacon_processor = { path = "beacon_node/beacon_processor" }
beacon_processor = { path = "beacon_node/beacon_processor" }
bls = { path = "crypto/bls" }
cached_tree_hash = { path = "consensus/cached_tree_hash" }
clap_utils = { path = "common/clap_utils" }
Expand Down Expand Up @@ -219,7 +219,7 @@ network = { path = "beacon_node/network" }
operation_pool = { path = "beacon_node/operation_pool" }
pretty_reqwest_error = { path = "common/pretty_reqwest_error" }
proto_array = { path = "consensus/proto_array" }
safe_arith = {path = "consensus/safe_arith"}
safe_arith = { path = "consensus/safe_arith" }
sensitive_url = { path = "common/sensitive_url" }
slasher = { path = "slasher" }
slashing_protection = { path = "validator_client/slashing_protection" }
Expand Down
2 changes: 1 addition & 1 deletion consensus/int_to_bytes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ edition = { workspace = true }
bytes = { workspace = true }

[dev-dependencies]
yaml-rust = "0.4.4"
yaml-rust2 = "0.8"
hex = { workspace = true }
2 changes: 1 addition & 1 deletion consensus/int_to_bytes/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub fn int_to_bytes96(int: u64) -> Vec<u8> {
mod tests {
use super::*;
use std::{fs::File, io::prelude::*, path::PathBuf};
use yaml_rust::yaml;
use yaml_rust2::yaml;

#[test]
fn fixed_bytes32() {
Expand Down

0 comments on commit 9056a67

Please sign in to comment.