zebra/deny.toml

129 lines
4.5 KiB
TOML
Raw Normal View History

# Note that all fields that take a lint level have these possible values:
# * deny - An error will be produced and the check will fail
# * warn - A warning will be produced, but the check will not fail
# * allow - No warning or error will be produced, though in some cases a note
# will be
# This section is considered when running `cargo deny check bans`.
# More documentation about the 'bans' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
# Lint level for when multiple versions of the same crate are detected
multiple-versions = "deny"
# The graph highlighting used when creating dotgraphs for crates
# with multiple versions
# * lowest-version - The path to the lowest versioned duplicate is highlighted
# * simplest-path - The path to the version with the fewest edges is highlighted
# * all - Both lowest-version and simplest-path are used
highlight = "all"
# We don't use this for Zebra.
#
# List of crates that are allowed. Use with care!
#allow = [
#]
# We only use this for some `librustzcash` and `orchard` crates.
# If we add a crate here, duplicate dependencies of that crate are still shown.
#
# Certain crates/versions that will be skipped when doing duplicate detection.
skip = [
]
# Similarly to `skip` allows you to skip certain crates during duplicate
# detection. Unlike skip, it also includes the entire tree of transitive
# dependencies starting at the specified crate, up to a certain depth, which is
# by default infinite
skip-tree = [
# wait for ordered-map to release a dependency fix
{ name = "ordered-map", version = "=0.4.2" },
# wait for primitive-types to upgrade
{ name = "proc-macro-crate", version = "=0.1.5" },
# wait for prost-build to upgrade
{ name = "prettyplease", version = "=0.1.25" },
# ZF crates
add(test): Integration test to send transactions using lightwalletd (#4068) * Export the `zebra_state::Config::db_path` method Make it easier for tests to discover the sub-directory used to store the chain state data. * Generate code for interfacing with lightwalletd Use the `tonic-build` crate to generate Rust code for communicating with lightwalletd using gRPC. The `*.proto` files were obtained from the Zcash lightwalletd repository. * Use `block::Height` instead of `Height` Import the `block` instead to make it slightly clearer. * Add helper function to remove a file if it exists Try to remove it and ignore an error if it says that the file doesn't exist. This will be used later to remove the lock file from a copied chain state directory. * Add helper function to copy chain state dirs Copy an existing chain state directory into a new temporary directory. * Add a `BoxStateService` type alias Make it easier to write and read a boxed version of a state service. * Add a helper function to start the state service Make it easier to specify the state service to use an existing state cache directory. * Import `eyre!` macro at the module level Allow it to be used in different places without having to repeat the imports. * Add `load_tip_height_from_state_directory` helper A function to discover the current chain tip height stored in a state cache. * Add helper function to prepare partial sync. state Loads a partially synchronized cached state directory into a temporary directory that can be used by a zebrad instance, and also returns the chain tip block height of that state. * Add `perform_full_sync_starting_from` helper Runs a zebrad with an existing partially synchronized state, and finishes synchronizing it to the network chain tip. * Add function to load transactions from a block Use a provided state service to load all transactions from a block at a specified height. The state service is a generic type parameter, because `zebra_state::service::ReadStateService` is not exported publicly. Using a generic type parameter also allows the service to be wrapped in layers if needed in the future. * Add `load_transactions_from_block_after` helper A function to load transactions from a block stored in a cached state directory. The cached state must be synchronized to a chain tip higher than the requested height. * Add helper function to load some test transactions Given a partially synchronized chain state, it will extend that chain by performing a full synchronization, and obtain some transactions from one of the newly added blocks. * Update `spawn_zebrad_for_rpc_without_initial_peers` Wait until the mempool is activated. * Add method to start lightwalletd with RPC server Returns the lightwalletd instance and the port that it's listening for RPC connections. The instance can reuse an existing cached lightwalletd state if the `LIGHTWALLETD_DATA_DIR` environment variable is set. * Add a `LightwalletdRpcClient` type alias To make it easier to identify the type generated from the Protobuf files. * Add helper function to connect to lightwalletd Prepare an RPC client to send requests to a lightwalletd instance. * Add a `prepare_send_transaction_request` helper Creates a request message for lightwalletd to send a transaction. * Add test to send transactions using lightwalletd Obtain some valid transactions from future blocks and try to send them to a lightwalletd instance connected to a zebrad instance that hasn't seen those transactions yet. The transactions should be successfully queued in Zebra's mempool. * Make `zebra_directory` parameter generic Allow using a `TempDir` or a `PathBuf`. * Move lightwalletd protobuf files Place them closer to the module directory, so that it's clearer that they specify the RPC protocol for lightwalletd, and not Zebra itself. * Don't use coinbase transactions in the test Coinbase transactions are rejected by the mempool. * Don't remove state lock file It is removed automatically by Zebra when it shuts down, so if it exists it should be reported as a bug. * Force mempool to be enabled in Zebrad instance Speed up the initialization of the Zebrad instance used for lightwalletd to connect to. * Refactor to create `LIGHTWALLETD_DATA_DIR_VAR` Document how the environment variable can be used to speed up the test. * Check for process errors in spawned Zebra instance Enable checking for known process failure messages. * Add `FINISH_PARTIAL_SYNC_TIMEOUT` constant Document why it exists and how the choice of the value affects the test. * Add `LIGHTWALLETD_TEST_TIMEOUT` constant And use it for the Zebrad and the Lightwalletd instances used in the send transaction integration test. * Check `lightwalletd` process for errors Enable checking the lightwalletd process for known failure messages. * Update `tonic` and `prost` dependencies Use the latest version and fix CI failures because `rustfmt` isn't installed in the build environment. * Create `send_transaction_test` module Move the send transaction using lightwalletd test and its helper functions into a new module. * Move `LIGHTWALLETD_TEST_TIMEOUT` constant Place it in the parent `lightwalletd` module. * Move gRPC helper functions and types to `rpc` mod. Make them more accessible so that they can be used by other tests. * Create a `cached_state` module Move the test utility functions related to using a cached Zebra state into the module. * Move `perform_full_sync_starting_from` to `sync` Keep to closer to the synchronization utility functions. * Move Zebra cached state path variable constant Place it in the `cached_state` module. * Skip test if `ZEBRA_TEST_LIGHTWALLETD` is not set Make it part of the set of tests ignored as a whole if no lightwalletd tests should be executed. * Move `spawn_zebrad_for_rpc_without_initial_peers` Place it in the `launch` sub-module. * Rename `rpc` module into `wallet_grpc` Avoid any potential misunderstandings when the name is seen out of context. * Allow duplicate `heck` dependency At least until `structopt` is updated or `zebra-utils` is updated to use `clap` 3. * Fix a deny.toml typo * fix(build): CMake is required by `prost` crate Co-authored-by: teor <teor@riseup.net> Co-authored-by: Gustavo Valverde <gustavo@iterativo.do>
2022-04-27 16:06:11 -07:00
change(deps): Update dependencies that only appear in the lock file (#6217) * Manually update duplicate dependency exceptions * Update the release checklist to check for missed dependency updates * Fix a clippy "unused result" lint * Run `cargo update` Output: ``` $ cargo update Updating crates.io index Updating addr2line v0.17.0 -> v0.19.0 Updating ahash v0.8.2 -> v0.8.3 Updating aho-corasick v0.7.18 -> v0.7.20 Updating anyhow v1.0.69 -> v1.0.70 Updating arrayref v0.3.6 -> v0.3.7 Updating async-stream v0.3.2 -> v0.3.4 Updating async-stream-impl v0.3.2 -> v0.3.4 Updating async-trait v0.1.52 -> v0.1.67 Updating axum v0.5.17 -> v0.6.12 Updating axum-core v0.2.9 -> v0.3.3 Updating backtrace v0.3.64 -> v0.3.67 Updating base64 v0.13.0 -> v0.13.1 Updating bit-set v0.5.2 -> v0.5.3 Removing block-buffer v0.7.3 Removing block-buffer v0.10.2 Adding block-buffer v0.10.4 Removing block-padding v0.1.5 Updating bls12_381 v0.7.0 -> v0.7.1 Updating bstr v0.2.17 -> v1.4.0 Updating byte-slice-cast v1.2.1 -> v1.2.2 Removing byte-tools v0.3.1 Updating bytemuck v1.8.0 -> v1.13.1 Updating cc v1.0.73 -> v1.0.79 Removing chunked_transfer v1.4.0 Updating cipher v0.4.3 -> v0.4.4 Updating clang-sys v1.3.1 -> v1.6.0 Updating clap v3.2.20 -> v3.2.23 Updating console v0.15.4 -> v0.15.5 Updating constant_time_eq v0.2.4 -> v0.2.5 Updating crossbeam-channel v0.5.4 -> v0.5.7 Updating crossbeam-deque v0.8.1 -> v0.8.3 Updating crossbeam-epoch v0.9.7 -> v0.9.14 Updating crossbeam-utils v0.8.7 -> v0.8.15 Adding cxx-build v1.0.93 Updating cxx-gen v0.7.74 -> v0.7.93 Updating darling v0.14.1 -> v0.14.4 Updating darling_core v0.14.1 -> v0.14.4 Updating darling_macro v0.14.1 -> v0.14.4 Removing digest v0.8.1 Removing digest v0.10.5 Adding digest v0.10.6 Updating dirs-sys v0.3.6 -> v0.3.7 Updating either v1.6.1 -> v1.8.1 Updating encoding_rs v0.8.30 -> v0.8.32 Updating enum-iterator v1.2.0 -> v1.4.0 Updating enum-iterator-derive v1.1.0 -> v1.2.0 Updating eyre v0.6.7 -> v0.6.8 Removing fake-simd v0.1.2 Updating fastrand v1.7.0 -> v1.9.0 Updating ff v0.12.0 -> v0.12.1 Updating fixedbitset v0.4.1 -> v0.4.2 Updating flate2 v1.0.22 -> v1.0.25 Updating form_urlencoded v1.0.1 -> v1.1.0 Removing generic-array v0.12.4 Removing generic-array v0.14.5 Adding generic-array v0.14.6 Updating gimli v0.26.1 -> v0.27.2 Updating glob v0.3.0 -> v0.3.1 Updating globset v0.4.8 -> v0.4.10 Updating h2 v0.3.11 -> v0.3.16 Updating hashbrown v0.12.1 -> v0.12.3 Updating hdrhistogram v7.5.0 -> v7.5.2 Updating heck v0.4.0 -> v0.4.1 Updating http v0.2.8 -> v0.2.9 Removing http-range-header v0.3.0 Updating hyper-rustls v0.23.0 -> v0.23.2 Updating iana-time-zone v0.1.46 -> v0.1.54 Adding iana-time-zone-haiku v0.1.1 Updating idna v0.2.3 -> v0.3.0 Updating io-lifetimes v1.0.4 -> v1.0.9 Updating ipnet v2.4.0 -> v2.7.1 Updating is-terminal v0.4.4 -> v0.4.5 Updating itoa v1.0.4 -> v1.0.6 Updating jobserver v0.1.24 -> v0.1.26 Updating js-sys v0.3.59 -> v0.3.61 Updating libc v0.2.139 -> v0.2.140 Updating libloading v0.7.3 -> v0.7.4 Updating libm v0.2.2 -> v0.2.6 Updating libz-sys v1.1.4 -> v1.1.8 Updating link-cplusplus v1.0.7 -> v1.0.8 Updating lock_api v0.4.6 -> v0.4.9 Removing maplit v1.0.2 Removing matches v0.1.9 Updating matchit v0.5.0 -> v0.7.0 Updating memoffset v0.6.5 -> v0.8.0 Updating mime v0.3.16 -> v0.3.17 Updating miniz_oxide v0.4.4 -> v0.6.2 Updating minreq v2.6.0 -> v2.7.0 Updating mio v0.8.4 -> v0.8.6 Updating net2 v0.2.37 -> v0.2.38 Updating nom v7.1.0 -> v7.1.3 Updating num-format v0.4.3 -> v0.4.4 Updating num-traits v0.2.14 -> v0.2.15 Updating object v0.27.1 -> v0.30.3 Removing opaque-debug v0.2.3 Updating openssl v0.10.38 -> v0.10.48 Adding openssl-macros v0.1.0 Updating openssl-sys v0.9.72 -> v0.9.83 Updating os_info v3.5.1 -> v3.7.0 Updating os_str_bytes v6.3.0 -> v6.5.0 Updating parity-scale-codec v3.1.2 -> v3.4.0 Updating parity-scale-codec-derive v3.1.2 -> v3.1.4 Updating parking_lot v0.12.0 -> v0.12.1 Removing parking_lot_core v0.8.5 Removing parking_lot_core v0.9.1 Adding parking_lot_core v0.8.6 Adding parking_lot_core v0.9.7 Updating pasta_curves v0.4.0 -> v0.4.1 Updating percent-encoding v2.1.0 -> v2.2.0 Updating pest v2.1.3 -> v2.5.6 Updating pest_derive v2.1.0 -> v2.5.6 Updating pest_generator v2.1.3 -> v2.5.6 Updating pest_meta v2.1.3 -> v2.5.6 Updating petgraph v0.6.0 -> v0.6.3 Updating pkg-config v0.3.24 -> v0.3.26 Updating plotters v0.3.1 -> v0.3.4 Updating plotters-backend v0.3.2 -> v0.3.4 Updating plotters-svg v0.3.1 -> v0.3.3 Updating portable-atomic v0.3.15 -> v0.3.19 Updating ppv-lite86 v0.2.16 -> v0.2.17 Updating prettyplease v0.1.9 -> v0.1.25 Updating proc-macro-crate v1.1.3 -> v1.3.1 Updating proc-macro2 v1.0.52 -> v1.0.53 Updating prost-build v0.11.1 -> v0.11.8 Updating prost-types v0.11.1 -> v0.11.8 Updating raw-cpuid v10.2.0 -> v10.7.0 Updating redox_syscall v0.2.11 -> v0.2.16 Updating redox_users v0.4.0 -> v0.4.3 Updating rgb v0.8.32 -> v0.8.36 Updating rustc-demangle v0.1.21 -> v0.1.22 Updating rustix v0.36.7 -> v0.36.11 Updating rustls v0.20.7 -> v0.20.8 Updating rustls-pemfile v1.0.0 -> v1.0.2 Updating rustversion v1.0.11 -> v1.0.12 Updating ryu v1.0.9 -> v1.0.13 Updating schannel v0.1.19 -> v0.1.21 Adding scratch v1.0.5 Updating security-framework v2.6.1 -> v2.8.2 Updating security-framework-sys v2.6.1 -> v2.8.0 Removing sha-1 v0.8.2 Adding sha2 v0.10.6 Updating signal-hook-registry v1.4.0 -> v1.4.1 Updating similar v2.1.0 -> v2.2.1 Updating slab v0.4.5 -> v0.4.8 Updating socket2 v0.4.7 -> v0.4.9 Removing syn v1.0.104 Removing syn v2.0.3 Adding syn v1.0.109 Adding syn v2.0.8 Updating sync_wrapper v0.1.1 -> v0.1.2 Updating termcolor v1.1.3 -> v1.2.0 Updating textwrap v0.15.0 -> v0.16.0 Updating thread_local v1.1.4 -> v1.1.7 Removing time v0.1.44 Removing time v0.3.17 Adding time v0.1.43 Adding time v0.3.20 Updating time-macros v0.2.6 -> v0.2.8 Updating tinyvec_macros v0.1.0 -> v0.1.1 Updating tokio-macros v1.7.0 -> v1.8.2 Updating tokio-native-tls v0.3.0 -> v0.3.1 Updating tokio-rustls v0.23.2 -> v0.23.4 Updating tokio-util v0.6.9 -> v0.6.10 Updating toml_edit v0.19.7 -> v0.19.8 Updating tonic v0.8.2 -> v0.8.3 Updating tonic-build v0.8.2 -> v0.8.4 Removing tower-http v0.3.4 Updating tower-layer v0.3.1 -> v0.3.2 Updating tower-service v0.3.1 -> v0.3.2 Updating try-lock v0.2.3 -> v0.2.4 Updating typenum v1.15.0 -> v1.16.0 Updating ucd-trie v0.1.3 -> v0.1.5 Updating unicode-bidi v0.3.7 -> v0.3.13 Updating unicode-ident v1.0.2 -> v1.0.8 Updating unicode-normalization v0.1.19 -> v0.1.22 Updating unicode-segmentation v1.9.0 -> v1.10.1 Updating unicode-width v0.1.9 -> v0.1.10 Updating unicode-xid v0.2.2 -> v0.2.4 Updating ureq v2.5.0 -> v2.6.2 Updating url v2.2.2 -> v2.3.1 Updating uuid v1.1.0 -> v1.3.0 Updating walkdir v2.3.2 -> v2.3.3 Updating wasi v0.10.0+wasi-snapshot-preview1 -> v0.10.2+wasi-snapshot-preview1 Updating wasm-bindgen v0.2.82 -> v0.2.84 Updating wasm-bindgen-backend v0.2.82 -> v0.2.84 Updating wasm-bindgen-futures v0.4.29 -> v0.4.34 Updating wasm-bindgen-macro v0.2.82 -> v0.2.84 Updating wasm-bindgen-macro-support v0.2.82 -> v0.2.84 Updating wasm-bindgen-shared v0.2.82 -> v0.2.84 Updating web-sys v0.3.56 -> v0.3.61 Updating webpki-roots v0.22.5 -> v0.22.6 Updating which v4.2.4 -> v4.4.0 Adding windows v0.46.0 Removing windows-sys v0.32.0 Removing windows-sys v0.36.1 Updating windows-targets v0.42.1 -> v0.42.2 Updating windows_aarch64_gnullvm v0.42.1 -> v0.42.2 Removing windows_aarch64_msvc v0.32.0 Removing windows_aarch64_msvc v0.36.1 Removing windows_aarch64_msvc v0.42.1 Adding windows_aarch64_msvc v0.42.2 Removing windows_i686_gnu v0.32.0 Removing windows_i686_gnu v0.36.1 Removing windows_i686_gnu v0.42.1 Adding windows_i686_gnu v0.42.2 Removing windows_i686_msvc v0.32.0 Removing windows_i686_msvc v0.36.1 Removing windows_i686_msvc v0.42.1 Adding windows_i686_msvc v0.42.2 Removing windows_x86_64_gnu v0.32.0 Removing windows_x86_64_gnu v0.36.1 Removing windows_x86_64_gnu v0.42.1 Adding windows_x86_64_gnu v0.42.2 Updating windows_x86_64_gnullvm v0.42.1 -> v0.42.2 Removing windows_x86_64_msvc v0.32.0 Removing windows_x86_64_msvc v0.36.1 Removing windows_x86_64_msvc v0.42.1 Adding windows_x86_64_msvc v0.42.2 Updating winnow v0.3.6 -> v0.4.0 Updating wyz v0.5.0 -> v0.5.1 Updating zeroize_derive v1.3.2 -> v1.3.3 ``` * Update deny.toml
2023-03-26 16:53:17 -07:00
# wait for zcashd and zcash_script to upgrade
# https://github.com/ZcashFoundation/zcash_script/pulls
{ name = "metrics", version = "=0.20.1" },
change(deps): Update dependencies that only appear in the lock file (#6217) * Manually update duplicate dependency exceptions * Update the release checklist to check for missed dependency updates * Fix a clippy "unused result" lint * Run `cargo update` Output: ``` $ cargo update Updating crates.io index Updating addr2line v0.17.0 -> v0.19.0 Updating ahash v0.8.2 -> v0.8.3 Updating aho-corasick v0.7.18 -> v0.7.20 Updating anyhow v1.0.69 -> v1.0.70 Updating arrayref v0.3.6 -> v0.3.7 Updating async-stream v0.3.2 -> v0.3.4 Updating async-stream-impl v0.3.2 -> v0.3.4 Updating async-trait v0.1.52 -> v0.1.67 Updating axum v0.5.17 -> v0.6.12 Updating axum-core v0.2.9 -> v0.3.3 Updating backtrace v0.3.64 -> v0.3.67 Updating base64 v0.13.0 -> v0.13.1 Updating bit-set v0.5.2 -> v0.5.3 Removing block-buffer v0.7.3 Removing block-buffer v0.10.2 Adding block-buffer v0.10.4 Removing block-padding v0.1.5 Updating bls12_381 v0.7.0 -> v0.7.1 Updating bstr v0.2.17 -> v1.4.0 Updating byte-slice-cast v1.2.1 -> v1.2.2 Removing byte-tools v0.3.1 Updating bytemuck v1.8.0 -> v1.13.1 Updating cc v1.0.73 -> v1.0.79 Removing chunked_transfer v1.4.0 Updating cipher v0.4.3 -> v0.4.4 Updating clang-sys v1.3.1 -> v1.6.0 Updating clap v3.2.20 -> v3.2.23 Updating console v0.15.4 -> v0.15.5 Updating constant_time_eq v0.2.4 -> v0.2.5 Updating crossbeam-channel v0.5.4 -> v0.5.7 Updating crossbeam-deque v0.8.1 -> v0.8.3 Updating crossbeam-epoch v0.9.7 -> v0.9.14 Updating crossbeam-utils v0.8.7 -> v0.8.15 Adding cxx-build v1.0.93 Updating cxx-gen v0.7.74 -> v0.7.93 Updating darling v0.14.1 -> v0.14.4 Updating darling_core v0.14.1 -> v0.14.4 Updating darling_macro v0.14.1 -> v0.14.4 Removing digest v0.8.1 Removing digest v0.10.5 Adding digest v0.10.6 Updating dirs-sys v0.3.6 -> v0.3.7 Updating either v1.6.1 -> v1.8.1 Updating encoding_rs v0.8.30 -> v0.8.32 Updating enum-iterator v1.2.0 -> v1.4.0 Updating enum-iterator-derive v1.1.0 -> v1.2.0 Updating eyre v0.6.7 -> v0.6.8 Removing fake-simd v0.1.2 Updating fastrand v1.7.0 -> v1.9.0 Updating ff v0.12.0 -> v0.12.1 Updating fixedbitset v0.4.1 -> v0.4.2 Updating flate2 v1.0.22 -> v1.0.25 Updating form_urlencoded v1.0.1 -> v1.1.0 Removing generic-array v0.12.4 Removing generic-array v0.14.5 Adding generic-array v0.14.6 Updating gimli v0.26.1 -> v0.27.2 Updating glob v0.3.0 -> v0.3.1 Updating globset v0.4.8 -> v0.4.10 Updating h2 v0.3.11 -> v0.3.16 Updating hashbrown v0.12.1 -> v0.12.3 Updating hdrhistogram v7.5.0 -> v7.5.2 Updating heck v0.4.0 -> v0.4.1 Updating http v0.2.8 -> v0.2.9 Removing http-range-header v0.3.0 Updating hyper-rustls v0.23.0 -> v0.23.2 Updating iana-time-zone v0.1.46 -> v0.1.54 Adding iana-time-zone-haiku v0.1.1 Updating idna v0.2.3 -> v0.3.0 Updating io-lifetimes v1.0.4 -> v1.0.9 Updating ipnet v2.4.0 -> v2.7.1 Updating is-terminal v0.4.4 -> v0.4.5 Updating itoa v1.0.4 -> v1.0.6 Updating jobserver v0.1.24 -> v0.1.26 Updating js-sys v0.3.59 -> v0.3.61 Updating libc v0.2.139 -> v0.2.140 Updating libloading v0.7.3 -> v0.7.4 Updating libm v0.2.2 -> v0.2.6 Updating libz-sys v1.1.4 -> v1.1.8 Updating link-cplusplus v1.0.7 -> v1.0.8 Updating lock_api v0.4.6 -> v0.4.9 Removing maplit v1.0.2 Removing matches v0.1.9 Updating matchit v0.5.0 -> v0.7.0 Updating memoffset v0.6.5 -> v0.8.0 Updating mime v0.3.16 -> v0.3.17 Updating miniz_oxide v0.4.4 -> v0.6.2 Updating minreq v2.6.0 -> v2.7.0 Updating mio v0.8.4 -> v0.8.6 Updating net2 v0.2.37 -> v0.2.38 Updating nom v7.1.0 -> v7.1.3 Updating num-format v0.4.3 -> v0.4.4 Updating num-traits v0.2.14 -> v0.2.15 Updating object v0.27.1 -> v0.30.3 Removing opaque-debug v0.2.3 Updating openssl v0.10.38 -> v0.10.48 Adding openssl-macros v0.1.0 Updating openssl-sys v0.9.72 -> v0.9.83 Updating os_info v3.5.1 -> v3.7.0 Updating os_str_bytes v6.3.0 -> v6.5.0 Updating parity-scale-codec v3.1.2 -> v3.4.0 Updating parity-scale-codec-derive v3.1.2 -> v3.1.4 Updating parking_lot v0.12.0 -> v0.12.1 Removing parking_lot_core v0.8.5 Removing parking_lot_core v0.9.1 Adding parking_lot_core v0.8.6 Adding parking_lot_core v0.9.7 Updating pasta_curves v0.4.0 -> v0.4.1 Updating percent-encoding v2.1.0 -> v2.2.0 Updating pest v2.1.3 -> v2.5.6 Updating pest_derive v2.1.0 -> v2.5.6 Updating pest_generator v2.1.3 -> v2.5.6 Updating pest_meta v2.1.3 -> v2.5.6 Updating petgraph v0.6.0 -> v0.6.3 Updating pkg-config v0.3.24 -> v0.3.26 Updating plotters v0.3.1 -> v0.3.4 Updating plotters-backend v0.3.2 -> v0.3.4 Updating plotters-svg v0.3.1 -> v0.3.3 Updating portable-atomic v0.3.15 -> v0.3.19 Updating ppv-lite86 v0.2.16 -> v0.2.17 Updating prettyplease v0.1.9 -> v0.1.25 Updating proc-macro-crate v1.1.3 -> v1.3.1 Updating proc-macro2 v1.0.52 -> v1.0.53 Updating prost-build v0.11.1 -> v0.11.8 Updating prost-types v0.11.1 -> v0.11.8 Updating raw-cpuid v10.2.0 -> v10.7.0 Updating redox_syscall v0.2.11 -> v0.2.16 Updating redox_users v0.4.0 -> v0.4.3 Updating rgb v0.8.32 -> v0.8.36 Updating rustc-demangle v0.1.21 -> v0.1.22 Updating rustix v0.36.7 -> v0.36.11 Updating rustls v0.20.7 -> v0.20.8 Updating rustls-pemfile v1.0.0 -> v1.0.2 Updating rustversion v1.0.11 -> v1.0.12 Updating ryu v1.0.9 -> v1.0.13 Updating schannel v0.1.19 -> v0.1.21 Adding scratch v1.0.5 Updating security-framework v2.6.1 -> v2.8.2 Updating security-framework-sys v2.6.1 -> v2.8.0 Removing sha-1 v0.8.2 Adding sha2 v0.10.6 Updating signal-hook-registry v1.4.0 -> v1.4.1 Updating similar v2.1.0 -> v2.2.1 Updating slab v0.4.5 -> v0.4.8 Updating socket2 v0.4.7 -> v0.4.9 Removing syn v1.0.104 Removing syn v2.0.3 Adding syn v1.0.109 Adding syn v2.0.8 Updating sync_wrapper v0.1.1 -> v0.1.2 Updating termcolor v1.1.3 -> v1.2.0 Updating textwrap v0.15.0 -> v0.16.0 Updating thread_local v1.1.4 -> v1.1.7 Removing time v0.1.44 Removing time v0.3.17 Adding time v0.1.43 Adding time v0.3.20 Updating time-macros v0.2.6 -> v0.2.8 Updating tinyvec_macros v0.1.0 -> v0.1.1 Updating tokio-macros v1.7.0 -> v1.8.2 Updating tokio-native-tls v0.3.0 -> v0.3.1 Updating tokio-rustls v0.23.2 -> v0.23.4 Updating tokio-util v0.6.9 -> v0.6.10 Updating toml_edit v0.19.7 -> v0.19.8 Updating tonic v0.8.2 -> v0.8.3 Updating tonic-build v0.8.2 -> v0.8.4 Removing tower-http v0.3.4 Updating tower-layer v0.3.1 -> v0.3.2 Updating tower-service v0.3.1 -> v0.3.2 Updating try-lock v0.2.3 -> v0.2.4 Updating typenum v1.15.0 -> v1.16.0 Updating ucd-trie v0.1.3 -> v0.1.5 Updating unicode-bidi v0.3.7 -> v0.3.13 Updating unicode-ident v1.0.2 -> v1.0.8 Updating unicode-normalization v0.1.19 -> v0.1.22 Updating unicode-segmentation v1.9.0 -> v1.10.1 Updating unicode-width v0.1.9 -> v0.1.10 Updating unicode-xid v0.2.2 -> v0.2.4 Updating ureq v2.5.0 -> v2.6.2 Updating url v2.2.2 -> v2.3.1 Updating uuid v1.1.0 -> v1.3.0 Updating walkdir v2.3.2 -> v2.3.3 Updating wasi v0.10.0+wasi-snapshot-preview1 -> v0.10.2+wasi-snapshot-preview1 Updating wasm-bindgen v0.2.82 -> v0.2.84 Updating wasm-bindgen-backend v0.2.82 -> v0.2.84 Updating wasm-bindgen-futures v0.4.29 -> v0.4.34 Updating wasm-bindgen-macro v0.2.82 -> v0.2.84 Updating wasm-bindgen-macro-support v0.2.82 -> v0.2.84 Updating wasm-bindgen-shared v0.2.82 -> v0.2.84 Updating web-sys v0.3.56 -> v0.3.61 Updating webpki-roots v0.22.5 -> v0.22.6 Updating which v4.2.4 -> v4.4.0 Adding windows v0.46.0 Removing windows-sys v0.32.0 Removing windows-sys v0.36.1 Updating windows-targets v0.42.1 -> v0.42.2 Updating windows_aarch64_gnullvm v0.42.1 -> v0.42.2 Removing windows_aarch64_msvc v0.32.0 Removing windows_aarch64_msvc v0.36.1 Removing windows_aarch64_msvc v0.42.1 Adding windows_aarch64_msvc v0.42.2 Removing windows_i686_gnu v0.32.0 Removing windows_i686_gnu v0.36.1 Removing windows_i686_gnu v0.42.1 Adding windows_i686_gnu v0.42.2 Removing windows_i686_msvc v0.32.0 Removing windows_i686_msvc v0.36.1 Removing windows_i686_msvc v0.42.1 Adding windows_i686_msvc v0.42.2 Removing windows_x86_64_gnu v0.32.0 Removing windows_x86_64_gnu v0.36.1 Removing windows_x86_64_gnu v0.42.1 Adding windows_x86_64_gnu v0.42.2 Updating windows_x86_64_gnullvm v0.42.1 -> v0.42.2 Removing windows_x86_64_msvc v0.32.0 Removing windows_x86_64_msvc v0.36.1 Removing windows_x86_64_msvc v0.42.1 Adding windows_x86_64_msvc v0.42.2 Updating winnow v0.3.6 -> v0.4.0 Updating wyz v0.5.0 -> v0.5.1 Updating zeroize_derive v1.3.2 -> v1.3.3 ``` * Update deny.toml
2023-03-26 16:53:17 -07:00
{ name = "sha2", version = "=0.9.9" },
# wait for ed25519-zebra, indexmap, metrics-util, and metrics to upgrade
change(deps): Update dependencies that only appear in the lock file (#6217) * Manually update duplicate dependency exceptions * Update the release checklist to check for missed dependency updates * Fix a clippy "unused result" lint * Run `cargo update` Output: ``` $ cargo update Updating crates.io index Updating addr2line v0.17.0 -> v0.19.0 Updating ahash v0.8.2 -> v0.8.3 Updating aho-corasick v0.7.18 -> v0.7.20 Updating anyhow v1.0.69 -> v1.0.70 Updating arrayref v0.3.6 -> v0.3.7 Updating async-stream v0.3.2 -> v0.3.4 Updating async-stream-impl v0.3.2 -> v0.3.4 Updating async-trait v0.1.52 -> v0.1.67 Updating axum v0.5.17 -> v0.6.12 Updating axum-core v0.2.9 -> v0.3.3 Updating backtrace v0.3.64 -> v0.3.67 Updating base64 v0.13.0 -> v0.13.1 Updating bit-set v0.5.2 -> v0.5.3 Removing block-buffer v0.7.3 Removing block-buffer v0.10.2 Adding block-buffer v0.10.4 Removing block-padding v0.1.5 Updating bls12_381 v0.7.0 -> v0.7.1 Updating bstr v0.2.17 -> v1.4.0 Updating byte-slice-cast v1.2.1 -> v1.2.2 Removing byte-tools v0.3.1 Updating bytemuck v1.8.0 -> v1.13.1 Updating cc v1.0.73 -> v1.0.79 Removing chunked_transfer v1.4.0 Updating cipher v0.4.3 -> v0.4.4 Updating clang-sys v1.3.1 -> v1.6.0 Updating clap v3.2.20 -> v3.2.23 Updating console v0.15.4 -> v0.15.5 Updating constant_time_eq v0.2.4 -> v0.2.5 Updating crossbeam-channel v0.5.4 -> v0.5.7 Updating crossbeam-deque v0.8.1 -> v0.8.3 Updating crossbeam-epoch v0.9.7 -> v0.9.14 Updating crossbeam-utils v0.8.7 -> v0.8.15 Adding cxx-build v1.0.93 Updating cxx-gen v0.7.74 -> v0.7.93 Updating darling v0.14.1 -> v0.14.4 Updating darling_core v0.14.1 -> v0.14.4 Updating darling_macro v0.14.1 -> v0.14.4 Removing digest v0.8.1 Removing digest v0.10.5 Adding digest v0.10.6 Updating dirs-sys v0.3.6 -> v0.3.7 Updating either v1.6.1 -> v1.8.1 Updating encoding_rs v0.8.30 -> v0.8.32 Updating enum-iterator v1.2.0 -> v1.4.0 Updating enum-iterator-derive v1.1.0 -> v1.2.0 Updating eyre v0.6.7 -> v0.6.8 Removing fake-simd v0.1.2 Updating fastrand v1.7.0 -> v1.9.0 Updating ff v0.12.0 -> v0.12.1 Updating fixedbitset v0.4.1 -> v0.4.2 Updating flate2 v1.0.22 -> v1.0.25 Updating form_urlencoded v1.0.1 -> v1.1.0 Removing generic-array v0.12.4 Removing generic-array v0.14.5 Adding generic-array v0.14.6 Updating gimli v0.26.1 -> v0.27.2 Updating glob v0.3.0 -> v0.3.1 Updating globset v0.4.8 -> v0.4.10 Updating h2 v0.3.11 -> v0.3.16 Updating hashbrown v0.12.1 -> v0.12.3 Updating hdrhistogram v7.5.0 -> v7.5.2 Updating heck v0.4.0 -> v0.4.1 Updating http v0.2.8 -> v0.2.9 Removing http-range-header v0.3.0 Updating hyper-rustls v0.23.0 -> v0.23.2 Updating iana-time-zone v0.1.46 -> v0.1.54 Adding iana-time-zone-haiku v0.1.1 Updating idna v0.2.3 -> v0.3.0 Updating io-lifetimes v1.0.4 -> v1.0.9 Updating ipnet v2.4.0 -> v2.7.1 Updating is-terminal v0.4.4 -> v0.4.5 Updating itoa v1.0.4 -> v1.0.6 Updating jobserver v0.1.24 -> v0.1.26 Updating js-sys v0.3.59 -> v0.3.61 Updating libc v0.2.139 -> v0.2.140 Updating libloading v0.7.3 -> v0.7.4 Updating libm v0.2.2 -> v0.2.6 Updating libz-sys v1.1.4 -> v1.1.8 Updating link-cplusplus v1.0.7 -> v1.0.8 Updating lock_api v0.4.6 -> v0.4.9 Removing maplit v1.0.2 Removing matches v0.1.9 Updating matchit v0.5.0 -> v0.7.0 Updating memoffset v0.6.5 -> v0.8.0 Updating mime v0.3.16 -> v0.3.17 Updating miniz_oxide v0.4.4 -> v0.6.2 Updating minreq v2.6.0 -> v2.7.0 Updating mio v0.8.4 -> v0.8.6 Updating net2 v0.2.37 -> v0.2.38 Updating nom v7.1.0 -> v7.1.3 Updating num-format v0.4.3 -> v0.4.4 Updating num-traits v0.2.14 -> v0.2.15 Updating object v0.27.1 -> v0.30.3 Removing opaque-debug v0.2.3 Updating openssl v0.10.38 -> v0.10.48 Adding openssl-macros v0.1.0 Updating openssl-sys v0.9.72 -> v0.9.83 Updating os_info v3.5.1 -> v3.7.0 Updating os_str_bytes v6.3.0 -> v6.5.0 Updating parity-scale-codec v3.1.2 -> v3.4.0 Updating parity-scale-codec-derive v3.1.2 -> v3.1.4 Updating parking_lot v0.12.0 -> v0.12.1 Removing parking_lot_core v0.8.5 Removing parking_lot_core v0.9.1 Adding parking_lot_core v0.8.6 Adding parking_lot_core v0.9.7 Updating pasta_curves v0.4.0 -> v0.4.1 Updating percent-encoding v2.1.0 -> v2.2.0 Updating pest v2.1.3 -> v2.5.6 Updating pest_derive v2.1.0 -> v2.5.6 Updating pest_generator v2.1.3 -> v2.5.6 Updating pest_meta v2.1.3 -> v2.5.6 Updating petgraph v0.6.0 -> v0.6.3 Updating pkg-config v0.3.24 -> v0.3.26 Updating plotters v0.3.1 -> v0.3.4 Updating plotters-backend v0.3.2 -> v0.3.4 Updating plotters-svg v0.3.1 -> v0.3.3 Updating portable-atomic v0.3.15 -> v0.3.19 Updating ppv-lite86 v0.2.16 -> v0.2.17 Updating prettyplease v0.1.9 -> v0.1.25 Updating proc-macro-crate v1.1.3 -> v1.3.1 Updating proc-macro2 v1.0.52 -> v1.0.53 Updating prost-build v0.11.1 -> v0.11.8 Updating prost-types v0.11.1 -> v0.11.8 Updating raw-cpuid v10.2.0 -> v10.7.0 Updating redox_syscall v0.2.11 -> v0.2.16 Updating redox_users v0.4.0 -> v0.4.3 Updating rgb v0.8.32 -> v0.8.36 Updating rustc-demangle v0.1.21 -> v0.1.22 Updating rustix v0.36.7 -> v0.36.11 Updating rustls v0.20.7 -> v0.20.8 Updating rustls-pemfile v1.0.0 -> v1.0.2 Updating rustversion v1.0.11 -> v1.0.12 Updating ryu v1.0.9 -> v1.0.13 Updating schannel v0.1.19 -> v0.1.21 Adding scratch v1.0.5 Updating security-framework v2.6.1 -> v2.8.2 Updating security-framework-sys v2.6.1 -> v2.8.0 Removing sha-1 v0.8.2 Adding sha2 v0.10.6 Updating signal-hook-registry v1.4.0 -> v1.4.1 Updating similar v2.1.0 -> v2.2.1 Updating slab v0.4.5 -> v0.4.8 Updating socket2 v0.4.7 -> v0.4.9 Removing syn v1.0.104 Removing syn v2.0.3 Adding syn v1.0.109 Adding syn v2.0.8 Updating sync_wrapper v0.1.1 -> v0.1.2 Updating termcolor v1.1.3 -> v1.2.0 Updating textwrap v0.15.0 -> v0.16.0 Updating thread_local v1.1.4 -> v1.1.7 Removing time v0.1.44 Removing time v0.3.17 Adding time v0.1.43 Adding time v0.3.20 Updating time-macros v0.2.6 -> v0.2.8 Updating tinyvec_macros v0.1.0 -> v0.1.1 Updating tokio-macros v1.7.0 -> v1.8.2 Updating tokio-native-tls v0.3.0 -> v0.3.1 Updating tokio-rustls v0.23.2 -> v0.23.4 Updating tokio-util v0.6.9 -> v0.6.10 Updating toml_edit v0.19.7 -> v0.19.8 Updating tonic v0.8.2 -> v0.8.3 Updating tonic-build v0.8.2 -> v0.8.4 Removing tower-http v0.3.4 Updating tower-layer v0.3.1 -> v0.3.2 Updating tower-service v0.3.1 -> v0.3.2 Updating try-lock v0.2.3 -> v0.2.4 Updating typenum v1.15.0 -> v1.16.0 Updating ucd-trie v0.1.3 -> v0.1.5 Updating unicode-bidi v0.3.7 -> v0.3.13 Updating unicode-ident v1.0.2 -> v1.0.8 Updating unicode-normalization v0.1.19 -> v0.1.22 Updating unicode-segmentation v1.9.0 -> v1.10.1 Updating unicode-width v0.1.9 -> v0.1.10 Updating unicode-xid v0.2.2 -> v0.2.4 Updating ureq v2.5.0 -> v2.6.2 Updating url v2.2.2 -> v2.3.1 Updating uuid v1.1.0 -> v1.3.0 Updating walkdir v2.3.2 -> v2.3.3 Updating wasi v0.10.0+wasi-snapshot-preview1 -> v0.10.2+wasi-snapshot-preview1 Updating wasm-bindgen v0.2.82 -> v0.2.84 Updating wasm-bindgen-backend v0.2.82 -> v0.2.84 Updating wasm-bindgen-futures v0.4.29 -> v0.4.34 Updating wasm-bindgen-macro v0.2.82 -> v0.2.84 Updating wasm-bindgen-macro-support v0.2.82 -> v0.2.84 Updating wasm-bindgen-shared v0.2.82 -> v0.2.84 Updating web-sys v0.3.56 -> v0.3.61 Updating webpki-roots v0.22.5 -> v0.22.6 Updating which v4.2.4 -> v4.4.0 Adding windows v0.46.0 Removing windows-sys v0.32.0 Removing windows-sys v0.36.1 Updating windows-targets v0.42.1 -> v0.42.2 Updating windows_aarch64_gnullvm v0.42.1 -> v0.42.2 Removing windows_aarch64_msvc v0.32.0 Removing windows_aarch64_msvc v0.36.1 Removing windows_aarch64_msvc v0.42.1 Adding windows_aarch64_msvc v0.42.2 Removing windows_i686_gnu v0.32.0 Removing windows_i686_gnu v0.36.1 Removing windows_i686_gnu v0.42.1 Adding windows_i686_gnu v0.42.2 Removing windows_i686_msvc v0.32.0 Removing windows_i686_msvc v0.36.1 Removing windows_i686_msvc v0.42.1 Adding windows_i686_msvc v0.42.2 Removing windows_x86_64_gnu v0.32.0 Removing windows_x86_64_gnu v0.36.1 Removing windows_x86_64_gnu v0.42.1 Adding windows_x86_64_gnu v0.42.2 Updating windows_x86_64_gnullvm v0.42.1 -> v0.42.2 Removing windows_x86_64_msvc v0.32.0 Removing windows_x86_64_msvc v0.36.1 Removing windows_x86_64_msvc v0.42.1 Adding windows_x86_64_msvc v0.42.2 Updating winnow v0.3.6 -> v0.4.0 Updating wyz v0.5.0 -> v0.5.1 Updating zeroize_derive v1.3.2 -> v1.3.3 ``` * Update deny.toml
2023-03-26 16:53:17 -07:00
# ed25519-zebra/hashbrown: https://github.com/ZcashFoundation/ed25519-zebra/pull/65
{ name = "ahash", version = "=0.7.6" },
# wait for ed25519-zebra to upgrade
{ name = "curve25519-dalek", version = "=3.2.0" },
# ECC crates
# wait for zcash_primitives to remove duplicated dependencies
change(nu5): use new V5 transaction script verification API (#3799) * update librustzcash; adapt to new API * add ticket reference for removing zcash_proofs duplicated dependencies * update to new zcash_script V5 API * use zp_tx shorthand * update to Zcash 4.7.0 dependencies * update protocol versions * feat(rpc): Implement `getblockchaininfo` RPC method (#3891) * Implement `getblockchaininfo` RPC method * add a test for `get_blockchain_info` * fix tohex/fromhex * move comment * Update lightwalletd acceptance test for getblockchaininfo RPC (#3914) * change(rpc): Return getblockchaininfo network upgrades in height order (#3915) * Update lightwalletd acceptance test for getblockchaininfo RPC * Update some doc comments for network upgrades * List network upgrades in order in the getblockchaininfo RPC Also: - Use a constant for the "missing consensus branch ID" RPC value - Simplify fetching consensus branch IDs - Make RPC type derives consistent - Update RPC type documentation * Make RPC type derives consistent * Fix a confusing test comment * get hashand height at the same time * fix estimated_height * fix lint * add extra check Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com> * fix typo Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com> * split test Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com> * fix(rpc): ignore an expected error in the RPC acceptance tests (#3961) * Add ignored regexes to test command failure regex methods * Ignore empty chain error in getblockchaininfo We expect this error when zebrad starts up with an empty state. Co-authored-by: teor <teor@riseup.net> Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * Make sync error logs more user-friendly (#3944) - use info level, there is nothing the user needs to do, particularly for a single error - explain that the errors are temporary - hide backtraces, because they look like crashes * Update test.patch.yml with lightwalletd job (#3970) * Update test.patch.yml with lightwalletd job * Remove a workflow condition that will always be false In general, patch workflows need the opposite conditions to the original workflow. But in this case, we know the result of the condition will always be true, so we can just delete it. Co-authored-by: teor <teor@riseup.net> * fix(doc): Fix bugs in the lightwalletd database design (#3964) * Re-order column families in design in dependency order * Minor RFC design tweaks and fixes Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * Repoint zebra image links to our new zfnd.org site for now (#3949) * Repoint zebra image links to our new zfnd.org site for now * Remove images/ Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * Fix typos (#3956) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: teor <teor@riseup.net> * bump database version to trigger testnet rollback * reduce minimum protocol version for now (will be changed later) * update dependencies * Apply suggestions from code review Co-authored-by: teor <teor@riseup.net> * update versions to match zcash 4.7.0 * deny.toml: update 'darling' Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com> Co-authored-by: teor <teor@riseup.net> Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com> Co-authored-by: Dimitris Apostolou <dimitris.apostolou@icloud.com>
2022-04-18 17:14:16 -07:00
{ name = "block-buffer", version = "=0.9.0" },
Download Zcash Sapling parameters and load them from cached files (#3057) * Replace Zcash parameters crates with pre-downloaded local parameter files * Download Zcash parameters using the `zcashd` script in CI and Docker * Add a zcash_proofs dependency to zebra-consensus * Download Sapling parameters using zcash_proofs, rather than fetch-params.sh * Add a new `zebrad download` subcommand This command isn't required for nomrmal usage. But it's useful when testing, or launching multiple Zebra instances. * Use `zebrad download` in CI to pre-download parameters * Log a helpful hint if downloading fails * Allow some duplicate dependencies currently hidden by orchard * Spawn a separate task to download Groth16 parameters * Run the parameter download with code coverage This avoids re-compining Zebra with and without coverage. * Update Cargo.lock after rebase * Try to pass `download` as an argument to `zebrad` in coverage CI * Fix copy and paste comment typos * Add path and download examples, like zcash_proofs * Download params in CI just like zcash_proofs does * Delete a redundant build step * Implement graceful shutdown for zebrad start * Send coverage summary to /dev/null when getting the params path * Use the correct parameters path and download commands in CI * Explain pre-downloads * Avoid calling params_folder twice * Rename parameter types and methods for consistency ```sh fastmod SaplingParams SaplingParameters zebra* fastmod Groth16Params Groth16Parameters zebra* fastmod PARAMS GROTH16_PARAMETERS zebra* fastmod params_folder directory zebra* ``` And a manual variable name tweak. * rustfmt * Remove a redundant coverage step Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com>
2021-11-19 15:02:56 -08:00
# wait for zcash_address to upgrade
{ name = "bs58", version = "=0.4.0" },
# zebra-utils dependencies
change(nu5): use new V5 transaction script verification API (#3799) * update librustzcash; adapt to new API * add ticket reference for removing zcash_proofs duplicated dependencies * update to new zcash_script V5 API * use zp_tx shorthand * update to Zcash 4.7.0 dependencies * update protocol versions * feat(rpc): Implement `getblockchaininfo` RPC method (#3891) * Implement `getblockchaininfo` RPC method * add a test for `get_blockchain_info` * fix tohex/fromhex * move comment * Update lightwalletd acceptance test for getblockchaininfo RPC (#3914) * change(rpc): Return getblockchaininfo network upgrades in height order (#3915) * Update lightwalletd acceptance test for getblockchaininfo RPC * Update some doc comments for network upgrades * List network upgrades in order in the getblockchaininfo RPC Also: - Use a constant for the "missing consensus branch ID" RPC value - Simplify fetching consensus branch IDs - Make RPC type derives consistent - Update RPC type documentation * Make RPC type derives consistent * Fix a confusing test comment * get hashand height at the same time * fix estimated_height * fix lint * add extra check Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com> * fix typo Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com> * split test Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com> * fix(rpc): ignore an expected error in the RPC acceptance tests (#3961) * Add ignored regexes to test command failure regex methods * Ignore empty chain error in getblockchaininfo We expect this error when zebrad starts up with an empty state. Co-authored-by: teor <teor@riseup.net> Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * Make sync error logs more user-friendly (#3944) - use info level, there is nothing the user needs to do, particularly for a single error - explain that the errors are temporary - hide backtraces, because they look like crashes * Update test.patch.yml with lightwalletd job (#3970) * Update test.patch.yml with lightwalletd job * Remove a workflow condition that will always be false In general, patch workflows need the opposite conditions to the original workflow. But in this case, we know the result of the condition will always be true, so we can just delete it. Co-authored-by: teor <teor@riseup.net> * fix(doc): Fix bugs in the lightwalletd database design (#3964) * Re-order column families in design in dependency order * Minor RFC design tweaks and fixes Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * Repoint zebra image links to our new zfnd.org site for now (#3949) * Repoint zebra image links to our new zfnd.org site for now * Remove images/ Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * Fix typos (#3956) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: teor <teor@riseup.net> * bump database version to trigger testnet rollback * reduce minimum protocol version for now (will be changed later) * update dependencies * Apply suggestions from code review Co-authored-by: teor <teor@riseup.net> * update versions to match zcash 4.7.0 * deny.toml: update 'darling' Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com> Co-authored-by: teor <teor@riseup.net> Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com> Co-authored-by: Dimitris Apostolou <dimitris.apostolou@icloud.com>
2022-04-18 17:14:16 -07:00
# wait for structopt upgrade (or upgrade to clap 4)
{ name = "clap", version = "=2.34.0" },
{ name = "heck", version = "=0.3.3" },
# Test-only dependencies
Update to Tokio 1.13.0 (#2994) * Update `tower` to version `0.4.9` Update to latest version to add support for Tokio version 1. * Replace usage of `ServiceExt::ready_and` It was deprecated in favor of `ServiceExt::ready`. * Update Tokio dependency to version `1.13.0` This will break the build because the code isn't ready for the update, but future commits will fix the issues. * Replace import of `tokio::stream::StreamExt` Use `futures::stream::StreamExt` instead, because newer versions of Tokio don't have the `stream` feature. * Use `IntervalStream` in `zebra-network` In newer versions of Tokio `Interval` doesn't implement `Stream`, so the wrapper types from `tokio-stream` have to be used instead. * Use `IntervalStream` in `inventory_registry` In newer versions of Tokio the `Interval` type doesn't implement `Stream`, so `tokio_stream::wrappers::IntervalStream` has to be used instead. * Use `BroadcastStream` in `inventory_registry` In newer versions of Tokio `broadcast::Receiver` doesn't implement `Stream`, so `tokio_stream::wrappers::BroadcastStream` instead. This also requires changing the error type that is used. * Handle `Semaphore::acquire` error in `tower-batch` Newer versions of Tokio can return an error if the semaphore is closed. This shouldn't happen in `tower-batch` because the semaphore is never closed. * Handle `Semaphore::acquire` error in `zebrad` test On newer versions of Tokio `Semaphore::acquire` can return an error if the semaphore is closed. This shouldn't happen in the test because the semaphore is never closed. * Update some `zebra-network` dependencies Use versions compatible with Tokio version 1. * Upgrade Hyper to version 0.14 Use a version that supports Tokio version 1. * Update `metrics` dependency to version 0.17 And also update the `metrics-exporter-prometheus` to version 0.6.1. These updates are to make sure Tokio 1 is supported. * Use `f64` as the histogram data type `u64` isn't supported as the histogram data type in newer versions of `metrics`. * Update the initialization of the metrics component Make it compatible with the new version of `metrics`. * Simplify build version counter Remove all constants and use the new `metrics::incement_counter!` macro. * Change metrics output line to match on The snapshot string isn't included in the newer version of `metrics-exporter-prometheus`. * Update `sentry` to version 0.23.0 Use a version compatible with Tokio version 1. * Remove usage of `TracingIntegration` This seems to not be available from `sentry-tracing` anymore, so it needs to be replaced. * Add sentry layer to tracing initialization This seems like the replacement for `TracingIntegration`. * Remove unnecessary conversion Suggested by a Clippy lint. * Update Cargo lock file Apply all of the updates to dependencies. * Ban duplicate tokio dependencies Also ban git sources for tokio dependencies. * Stop allowing sentry-tracing git repository in `deny.toml` * Allow remaining duplicates after the tokio upgrade * Use C: drive for CI build output on Windows GitHub Actions uses a Windows image with two disk drives, and the default D: drive is smaller than the C: drive. Zebra currently uses a lot of space to build, so it has to use the C: drive to avoid CI build failures because of insufficient space. Co-authored-by: teor <teor@riseup.net>
2021-11-02 11:46:57 -07:00
# wait for tokio-test -> tokio-stream to upgrade
change(deps): Update dependencies that only appear in the lock file (#6217) * Manually update duplicate dependency exceptions * Update the release checklist to check for missed dependency updates * Fix a clippy "unused result" lint * Run `cargo update` Output: ``` $ cargo update Updating crates.io index Updating addr2line v0.17.0 -> v0.19.0 Updating ahash v0.8.2 -> v0.8.3 Updating aho-corasick v0.7.18 -> v0.7.20 Updating anyhow v1.0.69 -> v1.0.70 Updating arrayref v0.3.6 -> v0.3.7 Updating async-stream v0.3.2 -> v0.3.4 Updating async-stream-impl v0.3.2 -> v0.3.4 Updating async-trait v0.1.52 -> v0.1.67 Updating axum v0.5.17 -> v0.6.12 Updating axum-core v0.2.9 -> v0.3.3 Updating backtrace v0.3.64 -> v0.3.67 Updating base64 v0.13.0 -> v0.13.1 Updating bit-set v0.5.2 -> v0.5.3 Removing block-buffer v0.7.3 Removing block-buffer v0.10.2 Adding block-buffer v0.10.4 Removing block-padding v0.1.5 Updating bls12_381 v0.7.0 -> v0.7.1 Updating bstr v0.2.17 -> v1.4.0 Updating byte-slice-cast v1.2.1 -> v1.2.2 Removing byte-tools v0.3.1 Updating bytemuck v1.8.0 -> v1.13.1 Updating cc v1.0.73 -> v1.0.79 Removing chunked_transfer v1.4.0 Updating cipher v0.4.3 -> v0.4.4 Updating clang-sys v1.3.1 -> v1.6.0 Updating clap v3.2.20 -> v3.2.23 Updating console v0.15.4 -> v0.15.5 Updating constant_time_eq v0.2.4 -> v0.2.5 Updating crossbeam-channel v0.5.4 -> v0.5.7 Updating crossbeam-deque v0.8.1 -> v0.8.3 Updating crossbeam-epoch v0.9.7 -> v0.9.14 Updating crossbeam-utils v0.8.7 -> v0.8.15 Adding cxx-build v1.0.93 Updating cxx-gen v0.7.74 -> v0.7.93 Updating darling v0.14.1 -> v0.14.4 Updating darling_core v0.14.1 -> v0.14.4 Updating darling_macro v0.14.1 -> v0.14.4 Removing digest v0.8.1 Removing digest v0.10.5 Adding digest v0.10.6 Updating dirs-sys v0.3.6 -> v0.3.7 Updating either v1.6.1 -> v1.8.1 Updating encoding_rs v0.8.30 -> v0.8.32 Updating enum-iterator v1.2.0 -> v1.4.0 Updating enum-iterator-derive v1.1.0 -> v1.2.0 Updating eyre v0.6.7 -> v0.6.8 Removing fake-simd v0.1.2 Updating fastrand v1.7.0 -> v1.9.0 Updating ff v0.12.0 -> v0.12.1 Updating fixedbitset v0.4.1 -> v0.4.2 Updating flate2 v1.0.22 -> v1.0.25 Updating form_urlencoded v1.0.1 -> v1.1.0 Removing generic-array v0.12.4 Removing generic-array v0.14.5 Adding generic-array v0.14.6 Updating gimli v0.26.1 -> v0.27.2 Updating glob v0.3.0 -> v0.3.1 Updating globset v0.4.8 -> v0.4.10 Updating h2 v0.3.11 -> v0.3.16 Updating hashbrown v0.12.1 -> v0.12.3 Updating hdrhistogram v7.5.0 -> v7.5.2 Updating heck v0.4.0 -> v0.4.1 Updating http v0.2.8 -> v0.2.9 Removing http-range-header v0.3.0 Updating hyper-rustls v0.23.0 -> v0.23.2 Updating iana-time-zone v0.1.46 -> v0.1.54 Adding iana-time-zone-haiku v0.1.1 Updating idna v0.2.3 -> v0.3.0 Updating io-lifetimes v1.0.4 -> v1.0.9 Updating ipnet v2.4.0 -> v2.7.1 Updating is-terminal v0.4.4 -> v0.4.5 Updating itoa v1.0.4 -> v1.0.6 Updating jobserver v0.1.24 -> v0.1.26 Updating js-sys v0.3.59 -> v0.3.61 Updating libc v0.2.139 -> v0.2.140 Updating libloading v0.7.3 -> v0.7.4 Updating libm v0.2.2 -> v0.2.6 Updating libz-sys v1.1.4 -> v1.1.8 Updating link-cplusplus v1.0.7 -> v1.0.8 Updating lock_api v0.4.6 -> v0.4.9 Removing maplit v1.0.2 Removing matches v0.1.9 Updating matchit v0.5.0 -> v0.7.0 Updating memoffset v0.6.5 -> v0.8.0 Updating mime v0.3.16 -> v0.3.17 Updating miniz_oxide v0.4.4 -> v0.6.2 Updating minreq v2.6.0 -> v2.7.0 Updating mio v0.8.4 -> v0.8.6 Updating net2 v0.2.37 -> v0.2.38 Updating nom v7.1.0 -> v7.1.3 Updating num-format v0.4.3 -> v0.4.4 Updating num-traits v0.2.14 -> v0.2.15 Updating object v0.27.1 -> v0.30.3 Removing opaque-debug v0.2.3 Updating openssl v0.10.38 -> v0.10.48 Adding openssl-macros v0.1.0 Updating openssl-sys v0.9.72 -> v0.9.83 Updating os_info v3.5.1 -> v3.7.0 Updating os_str_bytes v6.3.0 -> v6.5.0 Updating parity-scale-codec v3.1.2 -> v3.4.0 Updating parity-scale-codec-derive v3.1.2 -> v3.1.4 Updating parking_lot v0.12.0 -> v0.12.1 Removing parking_lot_core v0.8.5 Removing parking_lot_core v0.9.1 Adding parking_lot_core v0.8.6 Adding parking_lot_core v0.9.7 Updating pasta_curves v0.4.0 -> v0.4.1 Updating percent-encoding v2.1.0 -> v2.2.0 Updating pest v2.1.3 -> v2.5.6 Updating pest_derive v2.1.0 -> v2.5.6 Updating pest_generator v2.1.3 -> v2.5.6 Updating pest_meta v2.1.3 -> v2.5.6 Updating petgraph v0.6.0 -> v0.6.3 Updating pkg-config v0.3.24 -> v0.3.26 Updating plotters v0.3.1 -> v0.3.4 Updating plotters-backend v0.3.2 -> v0.3.4 Updating plotters-svg v0.3.1 -> v0.3.3 Updating portable-atomic v0.3.15 -> v0.3.19 Updating ppv-lite86 v0.2.16 -> v0.2.17 Updating prettyplease v0.1.9 -> v0.1.25 Updating proc-macro-crate v1.1.3 -> v1.3.1 Updating proc-macro2 v1.0.52 -> v1.0.53 Updating prost-build v0.11.1 -> v0.11.8 Updating prost-types v0.11.1 -> v0.11.8 Updating raw-cpuid v10.2.0 -> v10.7.0 Updating redox_syscall v0.2.11 -> v0.2.16 Updating redox_users v0.4.0 -> v0.4.3 Updating rgb v0.8.32 -> v0.8.36 Updating rustc-demangle v0.1.21 -> v0.1.22 Updating rustix v0.36.7 -> v0.36.11 Updating rustls v0.20.7 -> v0.20.8 Updating rustls-pemfile v1.0.0 -> v1.0.2 Updating rustversion v1.0.11 -> v1.0.12 Updating ryu v1.0.9 -> v1.0.13 Updating schannel v0.1.19 -> v0.1.21 Adding scratch v1.0.5 Updating security-framework v2.6.1 -> v2.8.2 Updating security-framework-sys v2.6.1 -> v2.8.0 Removing sha-1 v0.8.2 Adding sha2 v0.10.6 Updating signal-hook-registry v1.4.0 -> v1.4.1 Updating similar v2.1.0 -> v2.2.1 Updating slab v0.4.5 -> v0.4.8 Updating socket2 v0.4.7 -> v0.4.9 Removing syn v1.0.104 Removing syn v2.0.3 Adding syn v1.0.109 Adding syn v2.0.8 Updating sync_wrapper v0.1.1 -> v0.1.2 Updating termcolor v1.1.3 -> v1.2.0 Updating textwrap v0.15.0 -> v0.16.0 Updating thread_local v1.1.4 -> v1.1.7 Removing time v0.1.44 Removing time v0.3.17 Adding time v0.1.43 Adding time v0.3.20 Updating time-macros v0.2.6 -> v0.2.8 Updating tinyvec_macros v0.1.0 -> v0.1.1 Updating tokio-macros v1.7.0 -> v1.8.2 Updating tokio-native-tls v0.3.0 -> v0.3.1 Updating tokio-rustls v0.23.2 -> v0.23.4 Updating tokio-util v0.6.9 -> v0.6.10 Updating toml_edit v0.19.7 -> v0.19.8 Updating tonic v0.8.2 -> v0.8.3 Updating tonic-build v0.8.2 -> v0.8.4 Removing tower-http v0.3.4 Updating tower-layer v0.3.1 -> v0.3.2 Updating tower-service v0.3.1 -> v0.3.2 Updating try-lock v0.2.3 -> v0.2.4 Updating typenum v1.15.0 -> v1.16.0 Updating ucd-trie v0.1.3 -> v0.1.5 Updating unicode-bidi v0.3.7 -> v0.3.13 Updating unicode-ident v1.0.2 -> v1.0.8 Updating unicode-normalization v0.1.19 -> v0.1.22 Updating unicode-segmentation v1.9.0 -> v1.10.1 Updating unicode-width v0.1.9 -> v0.1.10 Updating unicode-xid v0.2.2 -> v0.2.4 Updating ureq v2.5.0 -> v2.6.2 Updating url v2.2.2 -> v2.3.1 Updating uuid v1.1.0 -> v1.3.0 Updating walkdir v2.3.2 -> v2.3.3 Updating wasi v0.10.0+wasi-snapshot-preview1 -> v0.10.2+wasi-snapshot-preview1 Updating wasm-bindgen v0.2.82 -> v0.2.84 Updating wasm-bindgen-backend v0.2.82 -> v0.2.84 Updating wasm-bindgen-futures v0.4.29 -> v0.4.34 Updating wasm-bindgen-macro v0.2.82 -> v0.2.84 Updating wasm-bindgen-macro-support v0.2.82 -> v0.2.84 Updating wasm-bindgen-shared v0.2.82 -> v0.2.84 Updating web-sys v0.3.56 -> v0.3.61 Updating webpki-roots v0.22.5 -> v0.22.6 Updating which v4.2.4 -> v4.4.0 Adding windows v0.46.0 Removing windows-sys v0.32.0 Removing windows-sys v0.36.1 Updating windows-targets v0.42.1 -> v0.42.2 Updating windows_aarch64_gnullvm v0.42.1 -> v0.42.2 Removing windows_aarch64_msvc v0.32.0 Removing windows_aarch64_msvc v0.36.1 Removing windows_aarch64_msvc v0.42.1 Adding windows_aarch64_msvc v0.42.2 Removing windows_i686_gnu v0.32.0 Removing windows_i686_gnu v0.36.1 Removing windows_i686_gnu v0.42.1 Adding windows_i686_gnu v0.42.2 Removing windows_i686_msvc v0.32.0 Removing windows_i686_msvc v0.36.1 Removing windows_i686_msvc v0.42.1 Adding windows_i686_msvc v0.42.2 Removing windows_x86_64_gnu v0.32.0 Removing windows_x86_64_gnu v0.36.1 Removing windows_x86_64_gnu v0.42.1 Adding windows_x86_64_gnu v0.42.2 Updating windows_x86_64_gnullvm v0.42.1 -> v0.42.2 Removing windows_x86_64_msvc v0.32.0 Removing windows_x86_64_msvc v0.36.1 Removing windows_x86_64_msvc v0.42.1 Adding windows_x86_64_msvc v0.42.2 Updating winnow v0.3.6 -> v0.4.0 Updating wyz v0.5.0 -> v0.5.1 Updating zeroize_derive v1.3.2 -> v1.3.3 ``` * Update deny.toml
2023-03-26 16:53:17 -07:00
{ name = "tokio-util", version = "=0.6.10" },
Upgrade dependencies (#3625) * Upgrade some dependencies * Upgrade some dependencies * Upgrade dependencies for zebrad * Upgrade tracing dependencies * Revert `tor` & `arti` * Upgrade `criterion` & `pin-project` in `deny.toml` * Remove some dependencies from `skip-tree` in `deny.toml` * Revert some the versions of dependencies because of duplicates * Revert proptest regressions * Upgrade dependencies, then ignore some more duplicates (#3716) * feat(actions)!: add full sync test (#3582) * add(tests): full sync test * fix(test): add build * fix(deploy): escape double dashes '--' correctly * fix(test): remove unexpected --no-capture arg error: Found argument '--nocapture' which wasn't expected, or isn't valid in this context * refactor(docker): use default executable as entrypoint * refactor(startup): add a custom entrypoint * fix(test): add missing TEST_FULL_SYNC variable * test(timeout): use the biggest machine * fix * fix(deploy): use latest successful image * typo * refactor(docker): generate config file at startup * revert(build): changes were made to docker * fix(docker): send variables correctly to the entrypoint * test different conf file approach * fix(env): add RUN_TEST env variable * ref: use previous approach * fix(color): use environment variable * fix(resources): use our normal machine size * fix(ci): double CPU and RAM for full sync test * fix(test): check for zebrad test output in the correct order The mempool is only activated once, so we must check for that log first. After mempool activation, the stop regex is logged at least once. (It might be logged before as well, but we can't rely on that.) When checking that the mempool didn't activate, wait for the `zebrad` command to exit, then check the entire log. * fix(ci): run full sync test with full compiler optimisations * fix(tests): reintroduce tests and run full sync on approval * fix(tests): reduce the changelog Co-authored-by: teor <teor@riseup.net> * fix(ci): update CI job path triggers (#3692) * ci(test): re-run tests when snapshot data changes * fix(ci): rebuild state when disk format changes * fix(ci): rebuild rust docs when code or dependencies change * doc(ci): explain why we run jobs when files change Co-authored-by: Gustavo Valverde <gustavo@iterativo.do> * fix(build): use the right multistage target (#3700) * fix(review): only assign one reviewer to general Rust reviews (#3708) If we assign two teams, GitHub assigns two reviewers. * fix(ci): change the color-eyre ignore to a tracing-subscriber ignore * fix(ci): ignore duplicate darling dependencies * doc(ci): remove an alternative resolution doc Co-authored-by: Gustavo Valverde <gustavo@iterativo.do> Co-authored-by: teor <teor@riseup.net> Co-authored-by: Gustavo Valverde <gustavo@iterativo.do>
2022-03-06 18:07:25 -08:00
# wait for proptest-derive to upgrade proc-macro2 and syn
{ name = "unicode-xid", version = "=0.1.0"},
# wait for console-subscriber and tower to update hdrhistogram.
# also wait for ron to update insta, and wait for tonic update.
change(deps): Update dependencies that only appear in the lock file (#6217) * Manually update duplicate dependency exceptions * Update the release checklist to check for missed dependency updates * Fix a clippy "unused result" lint * Run `cargo update` Output: ``` $ cargo update Updating crates.io index Updating addr2line v0.17.0 -> v0.19.0 Updating ahash v0.8.2 -> v0.8.3 Updating aho-corasick v0.7.18 -> v0.7.20 Updating anyhow v1.0.69 -> v1.0.70 Updating arrayref v0.3.6 -> v0.3.7 Updating async-stream v0.3.2 -> v0.3.4 Updating async-stream-impl v0.3.2 -> v0.3.4 Updating async-trait v0.1.52 -> v0.1.67 Updating axum v0.5.17 -> v0.6.12 Updating axum-core v0.2.9 -> v0.3.3 Updating backtrace v0.3.64 -> v0.3.67 Updating base64 v0.13.0 -> v0.13.1 Updating bit-set v0.5.2 -> v0.5.3 Removing block-buffer v0.7.3 Removing block-buffer v0.10.2 Adding block-buffer v0.10.4 Removing block-padding v0.1.5 Updating bls12_381 v0.7.0 -> v0.7.1 Updating bstr v0.2.17 -> v1.4.0 Updating byte-slice-cast v1.2.1 -> v1.2.2 Removing byte-tools v0.3.1 Updating bytemuck v1.8.0 -> v1.13.1 Updating cc v1.0.73 -> v1.0.79 Removing chunked_transfer v1.4.0 Updating cipher v0.4.3 -> v0.4.4 Updating clang-sys v1.3.1 -> v1.6.0 Updating clap v3.2.20 -> v3.2.23 Updating console v0.15.4 -> v0.15.5 Updating constant_time_eq v0.2.4 -> v0.2.5 Updating crossbeam-channel v0.5.4 -> v0.5.7 Updating crossbeam-deque v0.8.1 -> v0.8.3 Updating crossbeam-epoch v0.9.7 -> v0.9.14 Updating crossbeam-utils v0.8.7 -> v0.8.15 Adding cxx-build v1.0.93 Updating cxx-gen v0.7.74 -> v0.7.93 Updating darling v0.14.1 -> v0.14.4 Updating darling_core v0.14.1 -> v0.14.4 Updating darling_macro v0.14.1 -> v0.14.4 Removing digest v0.8.1 Removing digest v0.10.5 Adding digest v0.10.6 Updating dirs-sys v0.3.6 -> v0.3.7 Updating either v1.6.1 -> v1.8.1 Updating encoding_rs v0.8.30 -> v0.8.32 Updating enum-iterator v1.2.0 -> v1.4.0 Updating enum-iterator-derive v1.1.0 -> v1.2.0 Updating eyre v0.6.7 -> v0.6.8 Removing fake-simd v0.1.2 Updating fastrand v1.7.0 -> v1.9.0 Updating ff v0.12.0 -> v0.12.1 Updating fixedbitset v0.4.1 -> v0.4.2 Updating flate2 v1.0.22 -> v1.0.25 Updating form_urlencoded v1.0.1 -> v1.1.0 Removing generic-array v0.12.4 Removing generic-array v0.14.5 Adding generic-array v0.14.6 Updating gimli v0.26.1 -> v0.27.2 Updating glob v0.3.0 -> v0.3.1 Updating globset v0.4.8 -> v0.4.10 Updating h2 v0.3.11 -> v0.3.16 Updating hashbrown v0.12.1 -> v0.12.3 Updating hdrhistogram v7.5.0 -> v7.5.2 Updating heck v0.4.0 -> v0.4.1 Updating http v0.2.8 -> v0.2.9 Removing http-range-header v0.3.0 Updating hyper-rustls v0.23.0 -> v0.23.2 Updating iana-time-zone v0.1.46 -> v0.1.54 Adding iana-time-zone-haiku v0.1.1 Updating idna v0.2.3 -> v0.3.0 Updating io-lifetimes v1.0.4 -> v1.0.9 Updating ipnet v2.4.0 -> v2.7.1 Updating is-terminal v0.4.4 -> v0.4.5 Updating itoa v1.0.4 -> v1.0.6 Updating jobserver v0.1.24 -> v0.1.26 Updating js-sys v0.3.59 -> v0.3.61 Updating libc v0.2.139 -> v0.2.140 Updating libloading v0.7.3 -> v0.7.4 Updating libm v0.2.2 -> v0.2.6 Updating libz-sys v1.1.4 -> v1.1.8 Updating link-cplusplus v1.0.7 -> v1.0.8 Updating lock_api v0.4.6 -> v0.4.9 Removing maplit v1.0.2 Removing matches v0.1.9 Updating matchit v0.5.0 -> v0.7.0 Updating memoffset v0.6.5 -> v0.8.0 Updating mime v0.3.16 -> v0.3.17 Updating miniz_oxide v0.4.4 -> v0.6.2 Updating minreq v2.6.0 -> v2.7.0 Updating mio v0.8.4 -> v0.8.6 Updating net2 v0.2.37 -> v0.2.38 Updating nom v7.1.0 -> v7.1.3 Updating num-format v0.4.3 -> v0.4.4 Updating num-traits v0.2.14 -> v0.2.15 Updating object v0.27.1 -> v0.30.3 Removing opaque-debug v0.2.3 Updating openssl v0.10.38 -> v0.10.48 Adding openssl-macros v0.1.0 Updating openssl-sys v0.9.72 -> v0.9.83 Updating os_info v3.5.1 -> v3.7.0 Updating os_str_bytes v6.3.0 -> v6.5.0 Updating parity-scale-codec v3.1.2 -> v3.4.0 Updating parity-scale-codec-derive v3.1.2 -> v3.1.4 Updating parking_lot v0.12.0 -> v0.12.1 Removing parking_lot_core v0.8.5 Removing parking_lot_core v0.9.1 Adding parking_lot_core v0.8.6 Adding parking_lot_core v0.9.7 Updating pasta_curves v0.4.0 -> v0.4.1 Updating percent-encoding v2.1.0 -> v2.2.0 Updating pest v2.1.3 -> v2.5.6 Updating pest_derive v2.1.0 -> v2.5.6 Updating pest_generator v2.1.3 -> v2.5.6 Updating pest_meta v2.1.3 -> v2.5.6 Updating petgraph v0.6.0 -> v0.6.3 Updating pkg-config v0.3.24 -> v0.3.26 Updating plotters v0.3.1 -> v0.3.4 Updating plotters-backend v0.3.2 -> v0.3.4 Updating plotters-svg v0.3.1 -> v0.3.3 Updating portable-atomic v0.3.15 -> v0.3.19 Updating ppv-lite86 v0.2.16 -> v0.2.17 Updating prettyplease v0.1.9 -> v0.1.25 Updating proc-macro-crate v1.1.3 -> v1.3.1 Updating proc-macro2 v1.0.52 -> v1.0.53 Updating prost-build v0.11.1 -> v0.11.8 Updating prost-types v0.11.1 -> v0.11.8 Updating raw-cpuid v10.2.0 -> v10.7.0 Updating redox_syscall v0.2.11 -> v0.2.16 Updating redox_users v0.4.0 -> v0.4.3 Updating rgb v0.8.32 -> v0.8.36 Updating rustc-demangle v0.1.21 -> v0.1.22 Updating rustix v0.36.7 -> v0.36.11 Updating rustls v0.20.7 -> v0.20.8 Updating rustls-pemfile v1.0.0 -> v1.0.2 Updating rustversion v1.0.11 -> v1.0.12 Updating ryu v1.0.9 -> v1.0.13 Updating schannel v0.1.19 -> v0.1.21 Adding scratch v1.0.5 Updating security-framework v2.6.1 -> v2.8.2 Updating security-framework-sys v2.6.1 -> v2.8.0 Removing sha-1 v0.8.2 Adding sha2 v0.10.6 Updating signal-hook-registry v1.4.0 -> v1.4.1 Updating similar v2.1.0 -> v2.2.1 Updating slab v0.4.5 -> v0.4.8 Updating socket2 v0.4.7 -> v0.4.9 Removing syn v1.0.104 Removing syn v2.0.3 Adding syn v1.0.109 Adding syn v2.0.8 Updating sync_wrapper v0.1.1 -> v0.1.2 Updating termcolor v1.1.3 -> v1.2.0 Updating textwrap v0.15.0 -> v0.16.0 Updating thread_local v1.1.4 -> v1.1.7 Removing time v0.1.44 Removing time v0.3.17 Adding time v0.1.43 Adding time v0.3.20 Updating time-macros v0.2.6 -> v0.2.8 Updating tinyvec_macros v0.1.0 -> v0.1.1 Updating tokio-macros v1.7.0 -> v1.8.2 Updating tokio-native-tls v0.3.0 -> v0.3.1 Updating tokio-rustls v0.23.2 -> v0.23.4 Updating tokio-util v0.6.9 -> v0.6.10 Updating toml_edit v0.19.7 -> v0.19.8 Updating tonic v0.8.2 -> v0.8.3 Updating tonic-build v0.8.2 -> v0.8.4 Removing tower-http v0.3.4 Updating tower-layer v0.3.1 -> v0.3.2 Updating tower-service v0.3.1 -> v0.3.2 Updating try-lock v0.2.3 -> v0.2.4 Updating typenum v1.15.0 -> v1.16.0 Updating ucd-trie v0.1.3 -> v0.1.5 Updating unicode-bidi v0.3.7 -> v0.3.13 Updating unicode-ident v1.0.2 -> v1.0.8 Updating unicode-normalization v0.1.19 -> v0.1.22 Updating unicode-segmentation v1.9.0 -> v1.10.1 Updating unicode-width v0.1.9 -> v0.1.10 Updating unicode-xid v0.2.2 -> v0.2.4 Updating ureq v2.5.0 -> v2.6.2 Updating url v2.2.2 -> v2.3.1 Updating uuid v1.1.0 -> v1.3.0 Updating walkdir v2.3.2 -> v2.3.3 Updating wasi v0.10.0+wasi-snapshot-preview1 -> v0.10.2+wasi-snapshot-preview1 Updating wasm-bindgen v0.2.82 -> v0.2.84 Updating wasm-bindgen-backend v0.2.82 -> v0.2.84 Updating wasm-bindgen-futures v0.4.29 -> v0.4.34 Updating wasm-bindgen-macro v0.2.82 -> v0.2.84 Updating wasm-bindgen-macro-support v0.2.82 -> v0.2.84 Updating wasm-bindgen-shared v0.2.82 -> v0.2.84 Updating web-sys v0.3.56 -> v0.3.61 Updating webpki-roots v0.22.5 -> v0.22.6 Updating which v4.2.4 -> v4.4.0 Adding windows v0.46.0 Removing windows-sys v0.32.0 Removing windows-sys v0.36.1 Updating windows-targets v0.42.1 -> v0.42.2 Updating windows_aarch64_gnullvm v0.42.1 -> v0.42.2 Removing windows_aarch64_msvc v0.32.0 Removing windows_aarch64_msvc v0.36.1 Removing windows_aarch64_msvc v0.42.1 Adding windows_aarch64_msvc v0.42.2 Removing windows_i686_gnu v0.32.0 Removing windows_i686_gnu v0.36.1 Removing windows_i686_gnu v0.42.1 Adding windows_i686_gnu v0.42.2 Removing windows_i686_msvc v0.32.0 Removing windows_i686_msvc v0.36.1 Removing windows_i686_msvc v0.42.1 Adding windows_i686_msvc v0.42.2 Removing windows_x86_64_gnu v0.32.0 Removing windows_x86_64_gnu v0.36.1 Removing windows_x86_64_gnu v0.42.1 Adding windows_x86_64_gnu v0.42.2 Updating windows_x86_64_gnullvm v0.42.1 -> v0.42.2 Removing windows_x86_64_msvc v0.32.0 Removing windows_x86_64_msvc v0.36.1 Removing windows_x86_64_msvc v0.42.1 Adding windows_x86_64_msvc v0.42.2 Updating winnow v0.3.6 -> v0.4.0 Updating wyz v0.5.0 -> v0.5.1 Updating zeroize_derive v1.3.2 -> v1.3.3 ``` * Update deny.toml
2023-03-26 16:53:17 -07:00
{ name = "base64", version = "=0.13.1" },
# wait for proptest's rusty-fork dependency to upgrade quick-error
{ name = "quick-error", version = "=1.2.3" },
# Optional dependencies
# upgrade abscissa (required dependency) and arti (optional dependency)
{ name = "semver", version = "=0.9.0" },
fix(zebrad): accept default subcommand arguments and print consistent usage information for top-level 'help' subcommand (#6801) * updates Cargo.toml * Migrate to abscissa 0.7.0 * Avoid panic from calling color_eyre::install twice * Uses 'start' as the default subcommand * updates default cmd logic * Fixes minor cli issues * removes outdated check in acceptance test * Adds a test for process_cli_args, fixes version_args test. Adds -V to process_cli_args match case * Revert "fix(clippy): Silence future-incompat warnings until we upgrade Abscissa (#6024)" This reverts commit dd90f79b4824af6b1ae22ee69abdf0f605da84cd. * Drops the worker guard to flush logs when zebra shuts down * Adds cargo feature to clap * restores process_cli_args * updates deny.toml * Updates EntryPoint help template * Updates subcommand help msgs * removes trailing whitespace, capitalizes sentences * Apply suggestions from code review Co-authored-by: teor <teor@riseup.net> * revert parts of revert "Revert fix(clippy): Silence future-incompat warnings until we upgrade Abscissa" * Applies suggestions from code review * Moves EntryPoint to its own module * fixes version_args test * Updates changelog * Prunes redundant test cases * Apply suggestions from code review Co-authored-by: teor <teor@riseup.net> * Revert "Prunes redundant test cases" This reverts commit 3f7397918489144805c17d0594775aa699e87b9d. * Update zebrad/src/commands/entry_point.rs Co-authored-by: teor <teor@riseup.net> * Add missing import * Updates `process_cli_args` to return a result --------- Co-authored-by: teor <teor@riseup.net>
2023-06-06 23:03:42 -07:00
# wait for packed_simd_2 to upgrade
{ name = "libm", version = "=0.1.4" },
# Elasticsearch dependencies
# wait for elasticsearch to update base64, darling, rustc_version, serde_with
{ name = "elasticsearch", version = "=8.5.0-alpha.1" },
change(deps): Update dependencies that only appear in the lock file (#6217) * Manually update duplicate dependency exceptions * Update the release checklist to check for missed dependency updates * Fix a clippy "unused result" lint * Run `cargo update` Output: ``` $ cargo update Updating crates.io index Updating addr2line v0.17.0 -> v0.19.0 Updating ahash v0.8.2 -> v0.8.3 Updating aho-corasick v0.7.18 -> v0.7.20 Updating anyhow v1.0.69 -> v1.0.70 Updating arrayref v0.3.6 -> v0.3.7 Updating async-stream v0.3.2 -> v0.3.4 Updating async-stream-impl v0.3.2 -> v0.3.4 Updating async-trait v0.1.52 -> v0.1.67 Updating axum v0.5.17 -> v0.6.12 Updating axum-core v0.2.9 -> v0.3.3 Updating backtrace v0.3.64 -> v0.3.67 Updating base64 v0.13.0 -> v0.13.1 Updating bit-set v0.5.2 -> v0.5.3 Removing block-buffer v0.7.3 Removing block-buffer v0.10.2 Adding block-buffer v0.10.4 Removing block-padding v0.1.5 Updating bls12_381 v0.7.0 -> v0.7.1 Updating bstr v0.2.17 -> v1.4.0 Updating byte-slice-cast v1.2.1 -> v1.2.2 Removing byte-tools v0.3.1 Updating bytemuck v1.8.0 -> v1.13.1 Updating cc v1.0.73 -> v1.0.79 Removing chunked_transfer v1.4.0 Updating cipher v0.4.3 -> v0.4.4 Updating clang-sys v1.3.1 -> v1.6.0 Updating clap v3.2.20 -> v3.2.23 Updating console v0.15.4 -> v0.15.5 Updating constant_time_eq v0.2.4 -> v0.2.5 Updating crossbeam-channel v0.5.4 -> v0.5.7 Updating crossbeam-deque v0.8.1 -> v0.8.3 Updating crossbeam-epoch v0.9.7 -> v0.9.14 Updating crossbeam-utils v0.8.7 -> v0.8.15 Adding cxx-build v1.0.93 Updating cxx-gen v0.7.74 -> v0.7.93 Updating darling v0.14.1 -> v0.14.4 Updating darling_core v0.14.1 -> v0.14.4 Updating darling_macro v0.14.1 -> v0.14.4 Removing digest v0.8.1 Removing digest v0.10.5 Adding digest v0.10.6 Updating dirs-sys v0.3.6 -> v0.3.7 Updating either v1.6.1 -> v1.8.1 Updating encoding_rs v0.8.30 -> v0.8.32 Updating enum-iterator v1.2.0 -> v1.4.0 Updating enum-iterator-derive v1.1.0 -> v1.2.0 Updating eyre v0.6.7 -> v0.6.8 Removing fake-simd v0.1.2 Updating fastrand v1.7.0 -> v1.9.0 Updating ff v0.12.0 -> v0.12.1 Updating fixedbitset v0.4.1 -> v0.4.2 Updating flate2 v1.0.22 -> v1.0.25 Updating form_urlencoded v1.0.1 -> v1.1.0 Removing generic-array v0.12.4 Removing generic-array v0.14.5 Adding generic-array v0.14.6 Updating gimli v0.26.1 -> v0.27.2 Updating glob v0.3.0 -> v0.3.1 Updating globset v0.4.8 -> v0.4.10 Updating h2 v0.3.11 -> v0.3.16 Updating hashbrown v0.12.1 -> v0.12.3 Updating hdrhistogram v7.5.0 -> v7.5.2 Updating heck v0.4.0 -> v0.4.1 Updating http v0.2.8 -> v0.2.9 Removing http-range-header v0.3.0 Updating hyper-rustls v0.23.0 -> v0.23.2 Updating iana-time-zone v0.1.46 -> v0.1.54 Adding iana-time-zone-haiku v0.1.1 Updating idna v0.2.3 -> v0.3.0 Updating io-lifetimes v1.0.4 -> v1.0.9 Updating ipnet v2.4.0 -> v2.7.1 Updating is-terminal v0.4.4 -> v0.4.5 Updating itoa v1.0.4 -> v1.0.6 Updating jobserver v0.1.24 -> v0.1.26 Updating js-sys v0.3.59 -> v0.3.61 Updating libc v0.2.139 -> v0.2.140 Updating libloading v0.7.3 -> v0.7.4 Updating libm v0.2.2 -> v0.2.6 Updating libz-sys v1.1.4 -> v1.1.8 Updating link-cplusplus v1.0.7 -> v1.0.8 Updating lock_api v0.4.6 -> v0.4.9 Removing maplit v1.0.2 Removing matches v0.1.9 Updating matchit v0.5.0 -> v0.7.0 Updating memoffset v0.6.5 -> v0.8.0 Updating mime v0.3.16 -> v0.3.17 Updating miniz_oxide v0.4.4 -> v0.6.2 Updating minreq v2.6.0 -> v2.7.0 Updating mio v0.8.4 -> v0.8.6 Updating net2 v0.2.37 -> v0.2.38 Updating nom v7.1.0 -> v7.1.3 Updating num-format v0.4.3 -> v0.4.4 Updating num-traits v0.2.14 -> v0.2.15 Updating object v0.27.1 -> v0.30.3 Removing opaque-debug v0.2.3 Updating openssl v0.10.38 -> v0.10.48 Adding openssl-macros v0.1.0 Updating openssl-sys v0.9.72 -> v0.9.83 Updating os_info v3.5.1 -> v3.7.0 Updating os_str_bytes v6.3.0 -> v6.5.0 Updating parity-scale-codec v3.1.2 -> v3.4.0 Updating parity-scale-codec-derive v3.1.2 -> v3.1.4 Updating parking_lot v0.12.0 -> v0.12.1 Removing parking_lot_core v0.8.5 Removing parking_lot_core v0.9.1 Adding parking_lot_core v0.8.6 Adding parking_lot_core v0.9.7 Updating pasta_curves v0.4.0 -> v0.4.1 Updating percent-encoding v2.1.0 -> v2.2.0 Updating pest v2.1.3 -> v2.5.6 Updating pest_derive v2.1.0 -> v2.5.6 Updating pest_generator v2.1.3 -> v2.5.6 Updating pest_meta v2.1.3 -> v2.5.6 Updating petgraph v0.6.0 -> v0.6.3 Updating pkg-config v0.3.24 -> v0.3.26 Updating plotters v0.3.1 -> v0.3.4 Updating plotters-backend v0.3.2 -> v0.3.4 Updating plotters-svg v0.3.1 -> v0.3.3 Updating portable-atomic v0.3.15 -> v0.3.19 Updating ppv-lite86 v0.2.16 -> v0.2.17 Updating prettyplease v0.1.9 -> v0.1.25 Updating proc-macro-crate v1.1.3 -> v1.3.1 Updating proc-macro2 v1.0.52 -> v1.0.53 Updating prost-build v0.11.1 -> v0.11.8 Updating prost-types v0.11.1 -> v0.11.8 Updating raw-cpuid v10.2.0 -> v10.7.0 Updating redox_syscall v0.2.11 -> v0.2.16 Updating redox_users v0.4.0 -> v0.4.3 Updating rgb v0.8.32 -> v0.8.36 Updating rustc-demangle v0.1.21 -> v0.1.22 Updating rustix v0.36.7 -> v0.36.11 Updating rustls v0.20.7 -> v0.20.8 Updating rustls-pemfile v1.0.0 -> v1.0.2 Updating rustversion v1.0.11 -> v1.0.12 Updating ryu v1.0.9 -> v1.0.13 Updating schannel v0.1.19 -> v0.1.21 Adding scratch v1.0.5 Updating security-framework v2.6.1 -> v2.8.2 Updating security-framework-sys v2.6.1 -> v2.8.0 Removing sha-1 v0.8.2 Adding sha2 v0.10.6 Updating signal-hook-registry v1.4.0 -> v1.4.1 Updating similar v2.1.0 -> v2.2.1 Updating slab v0.4.5 -> v0.4.8 Updating socket2 v0.4.7 -> v0.4.9 Removing syn v1.0.104 Removing syn v2.0.3 Adding syn v1.0.109 Adding syn v2.0.8 Updating sync_wrapper v0.1.1 -> v0.1.2 Updating termcolor v1.1.3 -> v1.2.0 Updating textwrap v0.15.0 -> v0.16.0 Updating thread_local v1.1.4 -> v1.1.7 Removing time v0.1.44 Removing time v0.3.17 Adding time v0.1.43 Adding time v0.3.20 Updating time-macros v0.2.6 -> v0.2.8 Updating tinyvec_macros v0.1.0 -> v0.1.1 Updating tokio-macros v1.7.0 -> v1.8.2 Updating tokio-native-tls v0.3.0 -> v0.3.1 Updating tokio-rustls v0.23.2 -> v0.23.4 Updating tokio-util v0.6.9 -> v0.6.10 Updating toml_edit v0.19.7 -> v0.19.8 Updating tonic v0.8.2 -> v0.8.3 Updating tonic-build v0.8.2 -> v0.8.4 Removing tower-http v0.3.4 Updating tower-layer v0.3.1 -> v0.3.2 Updating tower-service v0.3.1 -> v0.3.2 Updating try-lock v0.2.3 -> v0.2.4 Updating typenum v1.15.0 -> v1.16.0 Updating ucd-trie v0.1.3 -> v0.1.5 Updating unicode-bidi v0.3.7 -> v0.3.13 Updating unicode-ident v1.0.2 -> v1.0.8 Updating unicode-normalization v0.1.19 -> v0.1.22 Updating unicode-segmentation v1.9.0 -> v1.10.1 Updating unicode-width v0.1.9 -> v0.1.10 Updating unicode-xid v0.2.2 -> v0.2.4 Updating ureq v2.5.0 -> v2.6.2 Updating url v2.2.2 -> v2.3.1 Updating uuid v1.1.0 -> v1.3.0 Updating walkdir v2.3.2 -> v2.3.3 Updating wasi v0.10.0+wasi-snapshot-preview1 -> v0.10.2+wasi-snapshot-preview1 Updating wasm-bindgen v0.2.82 -> v0.2.84 Updating wasm-bindgen-backend v0.2.82 -> v0.2.84 Updating wasm-bindgen-futures v0.4.29 -> v0.4.34 Updating wasm-bindgen-macro v0.2.82 -> v0.2.84 Updating wasm-bindgen-macro-support v0.2.82 -> v0.2.84 Updating wasm-bindgen-shared v0.2.82 -> v0.2.84 Updating web-sys v0.3.56 -> v0.3.61 Updating webpki-roots v0.22.5 -> v0.22.6 Updating which v4.2.4 -> v4.4.0 Adding windows v0.46.0 Removing windows-sys v0.32.0 Removing windows-sys v0.36.1 Updating windows-targets v0.42.1 -> v0.42.2 Updating windows_aarch64_gnullvm v0.42.1 -> v0.42.2 Removing windows_aarch64_msvc v0.32.0 Removing windows_aarch64_msvc v0.36.1 Removing windows_aarch64_msvc v0.42.1 Adding windows_aarch64_msvc v0.42.2 Removing windows_i686_gnu v0.32.0 Removing windows_i686_gnu v0.36.1 Removing windows_i686_gnu v0.42.1 Adding windows_i686_gnu v0.42.2 Removing windows_i686_msvc v0.32.0 Removing windows_i686_msvc v0.36.1 Removing windows_i686_msvc v0.42.1 Adding windows_i686_msvc v0.42.2 Removing windows_x86_64_gnu v0.32.0 Removing windows_x86_64_gnu v0.36.1 Removing windows_x86_64_gnu v0.42.1 Adding windows_x86_64_gnu v0.42.2 Updating windows_x86_64_gnullvm v0.42.1 -> v0.42.2 Removing windows_x86_64_msvc v0.32.0 Removing windows_x86_64_msvc v0.36.1 Removing windows_x86_64_msvc v0.42.1 Adding windows_x86_64_msvc v0.42.2 Updating winnow v0.3.6 -> v0.4.0 Updating wyz v0.5.0 -> v0.5.1 Updating zeroize_derive v1.3.2 -> v1.3.3 ``` * Update deny.toml
2023-03-26 16:53:17 -07:00
# Unused dependencies
# we don't support Windows at the moment (#3801)
{ name = "windows-sys", version = "=0.42.0" },
]
# This section is considered when running `cargo deny check sources`.
# More documentation about the 'sources' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
[sources]
# Lint level for what to happen when a crate from a crate registry that is not
# in the allow list is encountered
unknown-registry = "deny"
# Lint level for what to happen when a crate from a git repository that is not
# in the allow list is encountered
unknown-git = "deny"
# List of URLs for allowed crate registries. Defaults to the crates.io index
# if not specified. If it is specified but empty, no registries are allowed.
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
# List of URLs for allowed Git repositories
allow-git = [
]
[sources.allow-org]
github = [
]