Use specific lengths for big arrays

pull/37/head
Frank Denis 4 years ago
parent fe07f909b1
commit 04fdf73046

@ -16,7 +16,7 @@ anyhow = "1.0.28"
byteorder = "1.3.4"
clap = { version = "2.33.0", default-features = false, features = ["wrap_help", "nightly"] }
clockpro-cache = "0.1.8"
coarsetime = "0.1.12"
coarsetime = "0.1.13"
daemonize-simple = "0.1.4"
derivative = "2.1.1"
dnsstamps = "0.1.4"
@ -27,7 +27,7 @@ ipext = "0.1.0"
jemallocator = "0.3.2"
libsodium-sys-stable= "1.19.5"
log = { version = "0.4.8", features = ["std", "release_max_level_debug"] }
net2 = "0.2.33"
net2 = "0.2.34"
parking_lot = "0.10.2"
privdrop = "0.3.4"
rand = "0.7.3"
@ -36,7 +36,7 @@ serde = "1.0.106"
serde_derive = "1.0.106"
serde-big-array = "0.3.0"
siphasher = "0.3.3"
tokio = { version = "0.2.18", features = ["fs", "rt-threaded", "time", "tcp", "udp", "stream", "parking_lot"] }
tokio = { version = "0.2.20", features = ["fs", "rt-threaded", "time", "tcp", "udp", "stream", "parking_lot"] }
toml = "0.5.6"
[dependencies.prometheus]

@ -23,7 +23,7 @@ impl Signature {
}
}
big_array! { BigArray; }
big_array! { BigArray; crypto_sign_SECRETKEYBYTES as usize }
#[derive(Serialize, Deserialize, Derivative, Clone)]
#[derivative(Default)]

@ -38,7 +38,7 @@ impl DNSCryptCertInner {
}
}
big_array! { BigArray; }
big_array! { BigArray; 64 }
#[derive(Derivative, Serialize, Deserialize)]
#[derivative(Debug, Default, Clone)]

Loading…
Cancel
Save