Update project dependencies.

This commit is contained in:
Luther Blissett
2022-09-06 16:41:03 +02:00
parent 94b0c40e4e
commit ee4c99387e
21 changed files with 88 additions and 91 deletions

124
Cargo.lock generated
View File

@@ -17,12 +17,6 @@ version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
[[package]]
name = "adler32"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234"
[[package]]
name = "aead"
version = "0.5.1"
@@ -46,18 +40,18 @@ dependencies = [
[[package]]
name = "aho-corasick"
version = "0.7.18"
version = "0.7.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
checksum = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e"
dependencies = [
"memchr",
]
[[package]]
name = "android_system_properties"
version = "0.1.4"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7ed72e1635e121ca3e79420540282af22da58be50de153d36f81ddc6b83aa9e"
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
dependencies = [
"libc",
]
@@ -73,9 +67,9 @@ dependencies = [
[[package]]
name = "anyhow"
version = "1.0.62"
version = "1.0.64"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1485d4d2cc45e7b201ee3767015c96faa5904387c9d87c6efdd0fb511f12d305"
checksum = "b9a8f622bcf6ff3df478e9deba3e03e4e04b300f8e6a139e192c05fa3490afc7"
[[package]]
name = "arrayref"
@@ -153,9 +147,9 @@ dependencies = [
[[package]]
name = "async-io"
version = "1.8.0"
version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ab006897723d9352f63e2b13047177c3982d8d79709d713ce7747a8f19fd1b0"
checksum = "83e21f3a490c72b3b0cf44962180e60045de2925d8dff97918f7ee43c8f637c7"
dependencies = [
"autocfg",
"concurrent-queue",
@@ -412,9 +406,9 @@ dependencies = [
[[package]]
name = "block-buffer"
version = "0.10.2"
version = "0.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0bf7fe51849ea569fd452f37822f606a5cabb684dc918707a0193fd4664ff324"
checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e"
dependencies = [
"generic-array",
]
@@ -675,9 +669,9 @@ dependencies = [
[[package]]
name = "clap"
version = "3.2.18"
version = "3.2.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b15f2ea93df33549dbe2e8eecd1ca55269d63ae0b3ba1f55db030817d1c2867f"
checksum = "23b71c3ce99b7611011217b366d923f1d0a7e07a92bb2dbf1e84508c673ca3bd"
dependencies = [
"atty",
"bitflags",
@@ -841,9 +835,9 @@ dependencies = [
[[package]]
name = "cpufeatures"
version = "0.2.4"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc948ebb96241bb40ab73effeb80d9f93afaad49359d159a5e61be51619fe813"
checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320"
dependencies = [
"libc",
]
@@ -1127,7 +1121,7 @@ dependencies = [
"async-executor",
"async-std",
"async-trait",
"clap 3.2.18",
"clap 3.2.20",
"darkfi",
"futures",
"log",
@@ -1184,7 +1178,7 @@ dependencies = [
"bs58",
"bytes",
"chrono",
"clap 3.2.18",
"clap 3.2.20",
"crypto_api_chachapoly",
"darkfi-derive",
"darkfi-derive-internal",
@@ -1291,7 +1285,7 @@ version = "0.3.0"
dependencies = [
"async-std",
"bs58",
"clap 3.2.18",
"clap 3.2.20",
"darkfi",
"halo2_gadgets",
"halo2_proofs",
@@ -1440,15 +1434,6 @@ dependencies = [
"url",
]
[[package]]
name = "deflate"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c86f7e25f518f4b81808a2cf1c50996a61f5c2eb394b2393bd87f2a4780a432f"
dependencies = [
"adler32",
]
[[package]]
name = "derive_builder"
version = "0.9.0"
@@ -1550,7 +1535,7 @@ version = "0.3.0"
dependencies = [
"async-channel",
"async-std",
"clap 3.2.18",
"clap 3.2.20",
"darkfi",
"easy-parallel",
"fxhash",
@@ -1581,7 +1566,7 @@ name = "drk"
version = "0.3.0"
dependencies = [
"async-std",
"clap 3.2.18",
"clap 3.2.20",
"darkfi",
"log",
"prettytable-rs",
@@ -1795,6 +1780,16 @@ dependencies = [
"subtle",
]
[[package]]
name = "flate2"
version = "1.0.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f82b0f4c27ad9f8bfd1f3208d882da2b09c301bc1c828fd3a00d0216d2fbbff6"
dependencies = [
"crc32fast",
"miniz_oxide",
]
[[package]]
name = "float-ord"
version = "0.2.0"
@@ -2224,19 +2219,20 @@ dependencies = [
[[package]]
name = "httparse"
version = "1.7.1"
version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "496ce29bb5a52785b44e0f7ca2847ae0bb839c9bd28f69acac9b99d461c0c04c"
checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"
[[package]]
name = "iana-time-zone"
version = "0.1.46"
version = "0.1.47"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ad2bfd338099682614d3ee3fe0cd72e0b6a41ca6a87f6a74a3bd593c91650501"
checksum = "4c495f162af0bf17656d0014a0eded5f3cd2f365fdd204548c2869db89359dc7"
dependencies = [
"android_system_properties",
"core-foundation-sys",
"js-sys",
"once_cell",
"wasm-bindgen",
"winapi",
]
@@ -2332,7 +2328,7 @@ dependencies = [
"async-trait",
"bs58",
"chrono",
"clap 3.2.18",
"clap 3.2.20",
"crypto_box",
"ctrlc",
"darkfi",
@@ -2563,9 +2559,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
[[package]]
name = "miniz_oxide"
version = "0.5.3"
version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc"
checksum = "96590ba8f175222643a85693f33d26e9c8a015f599c216509b1a6894af675d34"
dependencies = [
"adler",
]
@@ -2712,9 +2708,9 @@ dependencies = [
[[package]]
name = "once_cell"
version = "1.13.1"
version = "1.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "074864da206b4973b84eb91683020dbefd6a8c3f0f38e054d93954e891935e4e"
checksum = "2f7254b99e31cad77da24b08ebf628882739a608578bb1bcdfc1f9c21260d7c0"
[[package]]
name = "opaque-debug"
@@ -2844,9 +2840,9 @@ dependencies = [
[[package]]
name = "paste"
version = "1.0.8"
version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9423e2b32f7a043629287a536f21951e8c6a82482d0acb1eeebfc90bc2225b22"
checksum = "b1de2e551fb905ac83f73f7aedf2f0cb4a0da7e35efa24a202a936269f1f18e1"
[[package]]
name = "pathfinder_geometry"
@@ -2978,13 +2974,13 @@ dependencies = [
[[package]]
name = "png"
version = "0.17.5"
version = "0.17.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc38c0ad57efb786dd57b9864e5b18bae478c00c824dc55a38bbc9da95dde3ba"
checksum = "8f0e7f4c94ec26ff209cee506314212639d6c91b80afb82984819fafce9df01c"
dependencies = [
"bitflags",
"crc32fast",
"deflate",
"flate2",
"miniz_oxide",
]
@@ -3606,9 +3602,9 @@ dependencies = [
[[package]]
name = "sha2"
version = "0.10.2"
version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676"
checksum = "cf9db03534dff993187064c4e0c05a5708d2a9728ace9a8959b77bedf415dac5"
dependencies = [
"cfg-if 1.0.0",
"cpufeatures",
@@ -3728,9 +3724,9 @@ dependencies = [
[[package]]
name = "socket2"
version = "0.4.6"
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "10c98bba371b9b22a71a9414e420f92ddeb2369239af08200816169d5e2dd7aa"
checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd"
dependencies = [
"libc",
"winapi",
@@ -3994,7 +3990,7 @@ version = "0.3.0"
dependencies = [
"async-std",
"chrono",
"clap 3.2.18",
"clap 3.2.20",
"colored",
"darkfi",
"fxhash",
@@ -4125,18 +4121,18 @@ dependencies = [
[[package]]
name = "thiserror"
version = "1.0.32"
version = "1.0.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f5f6586b7f764adc0231f4c79be7b920e766bb2f3e51b3661cdb263828f19994"
checksum = "8c1b05ca9d106ba7d2e31a9dab4a64e7be2cce415321966ea3132c49a656e252"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
version = "1.0.32"
version = "1.0.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12bafc5b54507e0149cdf1b145a5d80ab80a90bcd9275df43d4fff68460f6c21"
checksum = "e8f2591983642de85c921015f3f070c665a197ed69e417af436115e3a1407487"
dependencies = [
"proc-macro2",
"quote",
@@ -4276,9 +4272,9 @@ checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987"
[[package]]
name = "ucd-trie"
version = "0.1.4"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89570599c4fe5585de2b388aab47e99f7fa4e9238a1399f707a02e356058141c"
checksum = "9e79c4d996edb816c91e4308506774452e55e95c3c9de07b6729e17e15a5ef81"
[[package]]
name = "uint"
@@ -4405,7 +4401,7 @@ name = "vanityaddr"
version = "0.3.0"
dependencies = [
"bs58",
"clap 3.2.18",
"clap 3.2.20",
"ctrlc",
"darkfi",
"indicatif",
@@ -4889,13 +4885,13 @@ dependencies = [
[[package]]
name = "which"
version = "4.2.5"
version = "4.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c4fb54e6113b6a8772ee41c3404fb0301ac79604489467e0a9ce1f3e97c24ae"
checksum = "1c831fbbee9e129a8cf93e7747a82da9d95ba8e16621cae60ec2cdc849bacb7b"
dependencies = [
"either",
"lazy_static",
"libc",
"once_cell",
]
[[package]]
@@ -5103,6 +5099,6 @@ dependencies = [
name = "zkas"
version = "0.3.0"
dependencies = [
"clap 3.2.18",
"clap 3.2.20",
"darkfi",
]

View File

@@ -47,7 +47,7 @@ members = [
# Hard dependencies
libc = "0.2.132"
log = "0.4.17"
thiserror = "1.0.32"
thiserror = "1.0.34"
# async-runtime
smol = {version = "1.2.5", optional = true}
@@ -62,7 +62,7 @@ async-native-tls = {version = "0.4.0", optional = true}
native-tls = {version = "0.2.10", optional = true}
# Networking
socket2 = {version = "0.4.6", optional = true}
socket2 = {version = "0.4.7", optional = true}
futures-rustls = {version = "0.22.2", features = ["dangerous_configuration"], optional = true}
# TLS cert utilities
@@ -110,7 +110,7 @@ fast-socks5 = {version = "0.4.3", optional = true}
bitvec = {version = "1.0.1", optional = true}
rand = {version = "0.8.5", optional = true}
blake3 = {version = "1.3.1", optional = true}
sha2 = {version = "0.10.2", optional = true}
sha2 = {version = "0.10.5", optional = true}
group = {version = "0.12.0", optional = true}
arrayvec = {version = "0.7.2", optional = true}
blake2b_simd = {version = "1.0.0", optional = true}
@@ -136,7 +136,7 @@ libsqlite3-sys = {version = "0.24.1", features = ["bundled-sqlcipher"], optiona
sled = {version = "0.34.7", optional = true}
[dev-dependencies]
clap = {version = "3.2.18", features = ["derive"]}
clap = {version = "3.2.20", features = ["derive"]}
halo2_proofs = {version = "0.2.0", features = ["dev-graph", "gadget-traces", "sanity-checks"]}
halo2_gadgets = {version = "0.2.0", features = ["dev-graph", "test-dependencies"]}
#halo2_proofs = {git = "https://github.com/zcash/halo2.git", rev = "a898d65ae3ad3d41987666f6a03cfc15edae01c4", features = ["dev-graph", "gadget-traces", "sanity-checks"]}

View File

@@ -21,11 +21,11 @@ easy-parallel = "3.2.0"
rand = "0.8.5"
# Misc
clap = {version = "3.2.18", features = ["derive"]}
clap = {version = "3.2.20", features = ["derive"]}
log = "0.4.17"
num_cpus = "1.13.1"
simplelog = "0.12.0"
thiserror = "1.0.32"
thiserror = "1.0.34"
url = "2.2.2"
fxhash = "0.2.1"
@@ -35,7 +35,7 @@ serde_json = "1.0.85"
# Bitcoin bridge dependencies
bdk = {version = "0.21.0", optional = true}
anyhow = {version = "1.0.62", optional = true}
anyhow = {version = "1.0.64", optional = true}
bitcoin = {version = "0.29.1", optional = true}
secp256k1 = {version = "0.24.0", default-features = false, features = ["rand-std"], optional = true}

View File

@@ -17,7 +17,7 @@ async-channel = "1.7.1"
async-executor = "1.4.1"
# Misc
clap = {version = "3.2.18", features = ["derive"]}
clap = {version = "3.2.20", features = ["derive"]}
log = "0.4.17"
num_cpus = "1.13.1"
simplelog = "0.12.0"

View File

@@ -21,7 +21,7 @@ easy-parallel = "3.2.0"
log = "0.4.17"
num_cpus = "1.13.1"
simplelog = "0.12.0"
thiserror = "1.0.32"
thiserror = "1.0.34"
# Crypto
incrementalmerkletree = "0.3.0"

View File

@@ -11,7 +11,7 @@ edition = "2021"
[dependencies]
async-std = {version = "1.12.0", features = ["attributes"]}
bs58 = "0.4.0"
clap = {version = "3.2.18", features = ["derive"]}
clap = {version = "3.2.20", features = ["derive"]}
darkfi = {path = "../../", features = ["crypto", "rpc", "util", "tx"]}
halo2_proofs = "0.2.0"
halo2_gadgets = "0.2.0"

View File

@@ -30,7 +30,7 @@ log = "0.4.17"
simplelog = "0.12.0"
rand = "0.8.5"
chrono = "0.4.22"
thiserror = "1.0.32"
thiserror = "1.0.34"
ctrlc = { version = "3.2.3", features = ["termination"] }
url = "2.2.2"
fxhash = "0.2.1"
@@ -45,6 +45,6 @@ unicode-segmentation = "1.9.0"
crypto_box = {version = "0.8.1", features = ["std"]}
hex = "0.4.3"
bs58 = "0.4.0"
sha2 = "0.10.2"
sha2 = "0.10.5"

View File

@@ -24,14 +24,14 @@ easy-parallel = "3.2.0"
async-channel = "1.7.1"
# Misc
clap = {version = "3.2.18", features = ["derive"]}
clap = {version = "3.2.20", features = ["derive"]}
rand = "0.8.5"
simplelog = "0.12.0"
log = "0.4.17"
num_cpus = "1.13.1"
url = "2.2.2"
fxhash = "0.2.1"
thiserror = "1.0.32"
thiserror = "1.0.34"
# Encoding and parsing
serde_json = "1.0.85"

View File

@@ -10,7 +10,7 @@ edition = "2021"
[dependencies]
async-std = {version = "1.12.0", features = ["attributes"]}
clap = {version = "3.2.18", features = ["derive"]}
clap = {version = "3.2.20", features = ["derive"]}
darkfi = {path = "../../", features = ["crypto", "util", "rpc"]}
log = "0.4.17"
prettytable-rs = "0.9.0"

View File

@@ -25,7 +25,7 @@ crypto_box = "0.8.1"
rand = "0.8.5"
# Misc
clap = {version = "3.2.18", features = ["derive"]}
clap = {version = "3.2.20", features = ["derive"]}
log = "0.4.17"
simplelog = "0.12.0"
fxhash = "0.2.1"

View File

@@ -28,7 +28,7 @@ crypto_box = "0.8.1"
rand = "0.8.5"
# Misc
clap = {version = "3.2.18", features = ["derive"]}
clap = {version = "3.2.20", features = ["derive"]}
log = "0.4.17"
simplelog = "0.12.0"
fxhash = "0.2.1"

View File

@@ -13,7 +13,7 @@ categories = ["command-line-utilities"]
[dependencies]
async-std = {version = "1.12.0", features = ["attributes"]}
chrono = "0.4.22"
clap = {version = "3.2.18", features = ["derive"]}
clap = {version = "3.2.20", features = ["derive"]}
colored = "2.0.0"
darkfi = { path = "../../../", features = ["rpc"]}
fxhash = "0.2.1"

View File

@@ -27,7 +27,7 @@ log = "0.4.17"
simplelog = "0.12.0"
rand = "0.8.5"
chrono = "0.4.22"
thiserror = "1.0.32"
thiserror = "1.0.34"
ctrlc = { version = "3.2.3", features = ["termination"] }
url = "2.2.2"
fxhash = "0.2.1"

View File

@@ -10,7 +10,7 @@ edition = "2021"
[dependencies]
bs58 = "0.4.0"
clap = {version = "3.2.18", features = ["derive"]}
clap = {version = "3.2.20", features = ["derive"]}
ctrlc = "3.2.3"
darkfi = {path = "../../", features = ["crypto"]}
indicatif = "0.17.0"

View File

@@ -9,5 +9,5 @@ license = "AGPL-3.0-only"
edition = "2021"
[dependencies]
clap = {version = "3.2.18", features = ["derive"]}
clap = {version = "3.2.20", features = ["derive"]}
darkfi = {path = "../../", features = ["zkas"]}

View File

@@ -23,7 +23,7 @@ easy-parallel = "3.2.0"
rand = "0.8.5"
# Misc
clap = {version = "3.2.18", features = ["derive"]}
clap = {version = "3.2.20", features = ["derive"]}
log = "0.4.17"
simplelog = "0.12.0"
fxhash = "0.2.1"

View File

@@ -10,7 +10,7 @@ edition = "2021"
[dependencies]
async-std = {version = "1.12.0", features = ["attributes"]}
clap = {version = "3.2.18", features = ["derive"]}
clap = {version = "3.2.20", features = ["derive"]}
darkfi = {path = "../../../../", features = ["util"]}
log = "0.4.17"
serde_json = "1.0.85"

View File

@@ -22,7 +22,7 @@ log = "0.4.17"
simplelog = "0.12.0"
rand = "0.8.5"
chrono = "0.4.22"
thiserror = "1.0.32"
thiserror = "1.0.34"
ctrlc = { version = "3.2.3", features = ["termination"] }
url = "2.2.2"
fxhash = "0.2.1"

View File

@@ -5,7 +5,7 @@ edition = "2021"
[dependencies]
async-std = {version = "1.12.0", features = ["attributes"]}
bincode = "1.3.3"
bincode = "2.0.0-rc.1"
darkfi = {path = "../../../", features = ["blockchain"]}
incrementalmerkletree = "0.3.0"
lazy-init = "0.5.1"

View File

@@ -39,7 +39,8 @@ impl Serialize for BridgeTreeWrapper {
pub fn bridge_tree_usage(prefix: &str, tree: BridgeTree<MerkleNode, MERKLE_DEPTH>) {
let wrapper = BridgeTreeWrapper { tree };
let encoded: Vec<u8> = bincode::serialize(&wrapper).unwrap();
let encoded: Vec<u8> =
bincode::serde::encode_to_vec(&wrapper, bincode::config::legacy()).unwrap();
let size = ::std::mem::size_of_val(&*encoded);
println!(" {} size: {:?} Bytes", prefix, size);
}

View File

@@ -5,5 +5,5 @@ edition = "2021"
[dependencies]
borsh = "0.9.3"
thiserror = "1.0.32"
thiserror = "1.0.34"
wee_alloc = "0.4.5"