Update smallvec (#1339)

This commit is contained in:
Age Manning 2020-07-07 16:57:27 +10:00 committed by GitHub
parent 51fbaefe41
commit f500b24242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 30 additions and 30 deletions

42
Cargo.lock generated
View File

@ -369,7 +369,7 @@ dependencies = [
"slog-term", "slog-term",
"sloggers", "sloggers",
"slot_clock", "slot_clock",
"smallvec 1.4.0", "smallvec 1.4.1",
"state_processing", "state_processing",
"store", "store",
"tempfile", "tempfile",
@ -641,7 +641,7 @@ dependencies = [
"ethereum-types", "ethereum-types",
"quickcheck", "quickcheck",
"quickcheck_macros", "quickcheck_macros",
"smallvec 1.4.0", "smallvec 1.4.1",
"tree_hash", "tree_hash",
] ]
@ -1243,7 +1243,7 @@ dependencies = [
"rand 0.7.3", "rand 0.7.3",
"rlp", "rlp",
"sha2 0.8.2", "sha2 0.8.2",
"smallvec 1.4.0", "smallvec 1.4.1",
"tokio 0.2.21", "tokio 0.2.21",
"uint", "uint",
"zeroize", "zeroize",
@ -1516,7 +1516,7 @@ dependencies = [
"slog-async", "slog-async",
"slog-stdlog", "slog-stdlog",
"slog-term", "slog-term",
"smallvec 1.4.0", "smallvec 1.4.1",
"snap", "snap",
"tempdir", "tempdir",
"tiny-keccak 2.0.2", "tiny-keccak 2.0.2",
@ -1535,7 +1535,7 @@ version = "0.1.2"
dependencies = [ dependencies = [
"eth2_ssz_derive", "eth2_ssz_derive",
"ethereum-types", "ethereum-types",
"smallvec 1.4.0", "smallvec 1.4.1",
] ]
[[package]] [[package]]
@ -2619,7 +2619,7 @@ dependencies = [
"parity-multiaddr 0.9.1 (git+https://github.com/sigp/rust-libp2p?rev=95e27446ca4371e41fc0035b187f60daa19b4b86)", "parity-multiaddr 0.9.1 (git+https://github.com/sigp/rust-libp2p?rev=95e27446ca4371e41fc0035b187f60daa19b4b86)",
"parking_lot 0.10.2", "parking_lot 0.10.2",
"pin-project", "pin-project",
"smallvec 1.4.0", "smallvec 1.4.1",
"wasm-timer", "wasm-timer",
] ]
@ -2649,7 +2649,7 @@ dependencies = [
"ring", "ring",
"rw-stream-sink", "rw-stream-sink",
"sha2 0.8.2", "sha2 0.8.2",
"smallvec 1.4.0", "smallvec 1.4.1",
"thiserror", "thiserror",
"unsigned-varint 0.4.0", "unsigned-varint 0.4.0",
"void", "void",
@ -2683,7 +2683,7 @@ dependencies = [
"ring", "ring",
"rw-stream-sink", "rw-stream-sink",
"sha2 0.8.2", "sha2 0.8.2",
"smallvec 1.4.0", "smallvec 1.4.1",
"thiserror", "thiserror",
"unsigned-varint 0.4.0", "unsigned-varint 0.4.0",
"void", "void",
@ -2728,7 +2728,7 @@ dependencies = [
"prost-build", "prost-build",
"rand 0.7.3", "rand 0.7.3",
"sha2 0.8.2", "sha2 0.8.2",
"smallvec 1.4.0", "smallvec 1.4.1",
"unsigned-varint 0.4.0", "unsigned-varint 0.4.0",
"wasm-timer", "wasm-timer",
] ]
@ -2744,7 +2744,7 @@ dependencies = [
"log 0.4.8", "log 0.4.8",
"prost", "prost",
"prost-build", "prost-build",
"smallvec 1.4.0", "smallvec 1.4.1",
"wasm-timer", "wasm-timer",
] ]
@ -2821,7 +2821,7 @@ dependencies = [
"libp2p-core 0.19.2 (git+https://github.com/sigp/rust-libp2p?rev=95e27446ca4371e41fc0035b187f60daa19b4b86)", "libp2p-core 0.19.2 (git+https://github.com/sigp/rust-libp2p?rev=95e27446ca4371e41fc0035b187f60daa19b4b86)",
"log 0.4.8", "log 0.4.8",
"rand 0.7.3", "rand 0.7.3",
"smallvec 1.4.0", "smallvec 1.4.1",
"void", "void",
"wasm-timer", "wasm-timer",
] ]
@ -3250,7 +3250,7 @@ dependencies = [
"futures 0.3.5", "futures 0.3.5",
"log 0.4.8", "log 0.4.8",
"pin-project", "pin-project",
"smallvec 1.4.0", "smallvec 1.4.1",
"unsigned-varint 0.4.0", "unsigned-varint 0.4.0",
] ]
@ -3264,7 +3264,7 @@ dependencies = [
"futures 0.3.5", "futures 0.3.5",
"log 0.4.8", "log 0.4.8",
"pin-project", "pin-project",
"smallvec 1.4.0", "smallvec 1.4.1",
"unsigned-varint 0.4.0", "unsigned-varint 0.4.0",
] ]
@ -3324,7 +3324,7 @@ dependencies = [
"slog", "slog",
"sloggers", "sloggers",
"slot_clock", "slot_clock",
"smallvec 1.4.0", "smallvec 1.4.1",
"state_processing", "state_processing",
"store", "store",
"tempfile", "tempfile",
@ -3403,7 +3403,7 @@ dependencies = [
"num-traits", "num-traits",
"rand 0.7.3", "rand 0.7.3",
"serde", "serde",
"smallvec 1.4.0", "smallvec 1.4.1",
"zeroize", "zeroize",
] ]
@ -3639,7 +3639,7 @@ dependencies = [
"cloudabi 0.0.3", "cloudabi 0.0.3",
"libc", "libc",
"redox_syscall", "redox_syscall",
"smallvec 1.4.0", "smallvec 1.4.1",
"winapi 0.3.9", "winapi 0.3.9",
] ]
@ -3654,7 +3654,7 @@ dependencies = [
"instant", "instant",
"libc", "libc",
"redox_syscall", "redox_syscall",
"smallvec 1.4.0", "smallvec 1.4.1",
"winapi 0.3.9", "winapi 0.3.9",
] ]
@ -4338,7 +4338,7 @@ dependencies = [
"libsqlite3-sys", "libsqlite3-sys",
"lru-cache", "lru-cache",
"memchr", "memchr",
"smallvec 1.4.0", "smallvec 1.4.1",
"time 0.1.43", "time 0.1.43",
] ]
@ -4871,9 +4871,9 @@ dependencies = [
[[package]] [[package]]
name = "smallvec" name = "smallvec"
version = "1.4.0" version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7cb5678e1615754284ec264d9bb5b4c27d2018577fd90ac0ceb578591ed5ee4" checksum = "3757cb9d89161a2f24e1cf78efa0c1fcff485d18e3f55e0aa3480824ddaa0f3f"
[[package]] [[package]]
name = "snafu" name = "snafu"
@ -5739,7 +5739,7 @@ dependencies = [
"ethereum-types", "ethereum-types",
"lazy_static", "lazy_static",
"rand 0.7.3", "rand 0.7.3",
"smallvec 1.4.0", "smallvec 1.4.1",
"tree_hash_derive", "tree_hash_derive",
"types", "types",
] ]

View File

@ -15,7 +15,7 @@ merkle_proof = { path = "../../consensus/merkle_proof" }
store = { path = "../store" } store = { path = "../store" }
parking_lot = "0.11.0" parking_lot = "0.11.0"
lazy_static = "1.4.0" lazy_static = "1.4.0"
smallvec = "1.4.0" smallvec = "1.4.1"
lighthouse_metrics = { path = "../../common/lighthouse_metrics" } lighthouse_metrics = { path = "../../common/lighthouse_metrics" }
log = "0.4.8" log = "0.4.8"
operation_pool = { path = "../operation_pool" } operation_pool = { path = "../operation_pool" }

View File

@ -23,7 +23,7 @@ fnv = "1.0.7"
unsigned-varint = { git = "https://github.com/sigp/unsigned-varint", branch = "latest-codecs", features = ["codec"] } unsigned-varint = { git = "https://github.com/sigp/unsigned-varint", branch = "latest-codecs", features = ["codec"] }
lazy_static = "1.4.0" lazy_static = "1.4.0"
lighthouse_metrics = { path = "../../common/lighthouse_metrics" } lighthouse_metrics = { path = "../../common/lighthouse_metrics" }
smallvec = "1.4.0" smallvec = "1.4.1"
lru = "0.5.1" lru = "0.5.1"
parking_lot = "0.11.0" parking_lot = "0.11.0"
sha2 = "0.9.1" sha2 = "0.9.1"

View File

@ -19,7 +19,7 @@ use libp2p::{
}, },
PeerId, PeerId,
}; };
use slog::{crit, debug, o}; use slog::{crit, debug, o, trace};
use std::{ use std::{
collections::VecDeque, collections::VecDeque,
marker::PhantomData, marker::PhantomData,
@ -355,7 +355,7 @@ impl<TSpec: EthSpec> Behaviour<TSpec> {
let ping = crate::rpc::Ping { let ping = crate::rpc::Ping {
data: self.meta_data.seq_number, data: self.meta_data.seq_number,
}; };
debug!(self.log, "Sending Ping"; "request_id" => id, "peer_id" => peer_id.to_string()); trace!(self.log, "Sending Ping"; "request_id" => id, "peer_id" => peer_id.to_string());
self.eth2_rpc self.eth2_rpc
.send_request(peer_id, id, RPCRequest::Ping(ping)); .send_request(peer_id, id, RPCRequest::Ping(ping));
@ -366,7 +366,7 @@ impl<TSpec: EthSpec> Behaviour<TSpec> {
let ping = crate::rpc::Ping { let ping = crate::rpc::Ping {
data: self.meta_data.seq_number, data: self.meta_data.seq_number,
}; };
debug!(self.log, "Sending Pong"; "request_id" => id.1, "peer_id" => peer_id.to_string()); trace!(self.log, "Sending Pong"; "request_id" => id.1, "peer_id" => peer_id.to_string());
let event = RPCCodedResponse::Success(RPCResponse::Pong(ping)); let event = RPCCodedResponse::Success(RPCResponse::Pong(ping));
self.eth2_rpc.send_response(peer_id, id, event); self.eth2_rpc.send_response(peer_id, id, event);
} }

View File

@ -30,7 +30,7 @@ futures = "0.3.5"
error-chain = "0.12.2" error-chain = "0.12.2"
tokio = { version = "0.2.21", features = ["full"] } tokio = { version = "0.2.21", features = ["full"] }
parking_lot = "0.11.0" parking_lot = "0.11.0"
smallvec = "1.4.0" smallvec = "1.4.1"
# TODO: Remove rand crate for mainnet # TODO: Remove rand crate for mainnet
rand = "0.7.3" rand = "0.7.3"
fnv = "1.0.6" fnv = "1.0.6"

View File

@ -11,7 +11,7 @@ eth2_hashing = "0.1.0"
eth2_ssz_derive = "0.1.0" eth2_ssz_derive = "0.1.0"
eth2_ssz = "0.1.2" eth2_ssz = "0.1.2"
tree_hash = "0.1.0" tree_hash = "0.1.0"
smallvec = "1.4.0" smallvec = "1.4.1"
[dev-dependencies] [dev-dependencies]
quickcheck = "0.9.2" quickcheck = "0.9.2"

View File

@ -14,7 +14,7 @@ eth2_ssz_derive = "0.1.0"
[dependencies] [dependencies]
ethereum-types = "0.9.1" ethereum-types = "0.9.1"
smallvec = "1.4.0" smallvec = "1.4.1"
[features] [features]
arbitrary = ["ethereum-types/arbitrary"] arbitrary = ["ethereum-types/arbitrary"]

View File

@ -20,7 +20,7 @@ lazy_static = "1.4.0"
[dependencies] [dependencies]
ethereum-types = "0.9.1" ethereum-types = "0.9.1"
eth2_hashing = "0.1.0" eth2_hashing = "0.1.0"
smallvec = "1.4.0" smallvec = "1.4.1"
[features] [features]
arbitrary = ["ethereum-types/arbitrary"] arbitrary = ["ethereum-types/arbitrary"]