├── src ├── witness.tr ├── 1_mul.bytecode ├── lib.rs ├── bb │ ├── write_vk.rs │ ├── prove_and_verify.rs │ ├── gates.rs │ ├── prove.rs │ ├── contract.rs │ ├── verify.rs │ └── mod.rs ├── smart_contract.rs └── proof_system.rs ├── .gitignore ├── .github └── workflows │ ├── spellcheck.yml │ ├── pull-request.yml │ ├── publish.yml │ ├── test.yml │ └── release.yml ├── .vscode ├── settings.json └── extensions.json ├── default.nix ├── shell.nix ├── .envrc ├── Cargo.toml ├── LICENSE-MIT ├── cspell.json ├── README.md ├── flake.lock ├── flake.nix ├── LICENSE-APACHE ├── CHANGELOG.md └── Cargo.lock /src/witness.tr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/noir-lang/acvm-backend-barretenberg/HEAD/src/witness.tr -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | .DS_Store 3 | node_modules 4 | dest 5 | 6 | # Nix stuff 7 | result 8 | .envrc.local 9 | .direnv 10 | -------------------------------------------------------------------------------- /.github/workflows/spellcheck.yml: -------------------------------------------------------------------------------- 1 | name: Spellcheck 2 | 3 | on: [push] 4 | 5 | # This will cancel previous runs when a branch or PR is updated 6 | concurrency: 7 | group: ${{ github.workflow }}-${{ github.head_ref || github.ref || github.run_id }} 8 | cancel-in-progress: true 9 | 10 | jobs: 11 | spellcheck: 12 | name: Spellcheck 13 | uses: noir-lang/.github/.github/workflows/spellcheck.yml@main 14 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "direnv.restart.automatic": true, 3 | "redhat.telemetry.enabled": false, 4 | "yaml.recommendations.show": false, 5 | "nix.serverPath": "nil", 6 | "nix.enableLanguageServer": true, 7 | "nix.serverSettings": { 8 | "nil": { 9 | "formatting": { 10 | "command": [ 11 | "nixpkgs-fmt" 12 | ] 13 | } 14 | } 15 | }, 16 | } 17 | -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- 1 | let 2 | lock = builtins.fromJSON (builtins.readFile ./flake.lock); 3 | flakeCompatRev = lock.nodes.flake-compat.locked.rev; 4 | flakeCompatHash = lock.nodes.flake-compat.locked.narHash; 5 | flakeCompat = fetchTarball { 6 | url = "https://github.com/edolstra/flake-compat/archive/${flakeCompatRev}.tar.gz"; 7 | sha256 = flakeCompatHash; 8 | }; 9 | compat = import flakeCompat { 10 | src = ./.; 11 | }; 12 | in 13 | compat.defaultNix 14 | -------------------------------------------------------------------------------- /shell.nix: -------------------------------------------------------------------------------- 1 | let 2 | lock = builtins.fromJSON (builtins.readFile ./flake.lock); 3 | flakeCompatRev = lock.nodes.flake-compat.locked.rev; 4 | flakeCompatHash = lock.nodes.flake-compat.locked.narHash; 5 | flakeCompat = fetchTarball { 6 | url = "https://github.com/edolstra/flake-compat/archive/${flakeCompatRev}.tar.gz"; 7 | sha256 = flakeCompatHash; 8 | }; 9 | compat = import flakeCompat { 10 | src = ./.; 11 | }; 12 | in 13 | compat.shellNix 14 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. 3 | // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp 4 | // List of extensions which should be recommended for users of this workspace. 5 | "recommendations": [ 6 | "mkhl.direnv", 7 | "jnoortheen.nix-ide", 8 | "rust-lang.rust-analyzer", 9 | "redhat.vscode-yaml" 10 | ], 11 | // List of extensions recommended by VS Code that should not be recommended for users of this workspace. 12 | "unwantedRecommendations": [] 13 | } 14 | -------------------------------------------------------------------------------- /src/1_mul.bytecode: -------------------------------------------------------------------------------- 1 | H4sIAAAAAAAA/+2Z326CMBTGP2SIyCTLsmw3u+ARWv5ouZuPMjN8/0fYyFo5MHbFV6KJJyG1jf16/vT8NPoG4B2/Fvw8KzvmYr4azUM7D+0Dsb+zDzuqeabdeeDqKkzYTG3tUftyhszFgx0jsZbY0dWss7WoTSj2HsW+QIyB0DiKPVPvCf7RScSa258JX8DLiVqDfu9UJjTZDl8udVeEHH1TRXYO+GuksW6p9lXVHopWl/pTFc3J1KqqT3ujja5N/VWYsmxNZQ7NqTmoRldlq891U56t8BP8NGXI8bOwfuoHYswRsS7M/PmGcYQhbFh+Y8Jmai8OYwe2WKzdYczRXATGneM5ehjH8Adj10hsGD/jNmC8JsYcE+vCzJ9vGMcYwoblNyZspvbiMN7YUYLvDmOO5iIw7gqYo4dxAn8wdo3EhvELbgPGG2LMCbEuzPz5hnGCYWOz/MaEzdReHMZbO6Zi7Q5jjuYiMO4KmKOHcQp/MHaNxIbxK24DxltizCmxLleev0vMITHmlOjXI7gfZn+aHvxeZPos/d2J1+437NXEnfAATI3ROeM8egWqryLtPOhm4F1+X3Fn/BoN4HTNOZXfdtwfcmP7BvHx78jZGwAA -------------------------------------------------------------------------------- /.envrc: -------------------------------------------------------------------------------- 1 | # Based on https://github.com/direnv/direnv-vscode/blob/158e8302c2594cc0eaa5f8b4f0cafedd4e1c0315/.envrc 2 | 3 | # You can define your system-specific logic (like Git settings or GH tokens) in .envrc.local 4 | # If that logic is usable by other people and might improve development environment, consider 5 | # contributing it to this file! 6 | 7 | source_env_if_exists .envrc.local 8 | 9 | if [[ -z "${SKIP_NIX:-}" ]] && has nix; then 10 | 11 | if nix flake metadata &>/dev/null && has use_flake; then 12 | # use flakes if possible 13 | use flake 14 | 15 | else 16 | # Otherwise fall back to pure nix 17 | use nix 18 | fi 19 | 20 | fi 21 | -------------------------------------------------------------------------------- /.github/workflows/pull-request.yml: -------------------------------------------------------------------------------- 1 | name: Pull Request 2 | 3 | on: 4 | merge_group: 5 | pull_request_target: 6 | types: 7 | - opened 8 | - reopened 9 | - edited 10 | - synchronize 11 | 12 | permissions: 13 | pull-requests: read 14 | 15 | jobs: 16 | conventional-title: 17 | name: Validate PR title is Conventional Commit 18 | runs-on: ubuntu-latest 19 | steps: 20 | - name: Check title 21 | if: github.event_name == 'pull_request_target' 22 | uses: amannn/action-semantic-pull-request@v5 23 | env: 24 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 25 | with: 26 | types: | 27 | fix 28 | feat 29 | chore 30 | -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- 1 | name: Publish crate 2 | 3 | on: 4 | workflow_dispatch: 5 | inputs: 6 | ref: 7 | description: The reference to checkout 8 | required: true 9 | 10 | jobs: 11 | publish: 12 | name: Publish 13 | runs-on: ubuntu-latest 14 | steps: 15 | - name: Checkout sources 16 | uses: actions/checkout@v3 17 | with: 18 | ref: ${{ inputs.ref }} 19 | 20 | - name: Setup toolchain 21 | uses: dtolnay/rust-toolchain@master 22 | with: 23 | toolchain: 1.66.0 24 | 25 | - name: Publish acvm-backend-barretenberg 26 | run: | 27 | cargo publish --package acvm-backend-barretenberg --no-verify 28 | env: 29 | CARGO_REGISTRY_TOKEN: ${{ secrets.ACVM_BACKEND_BARRETENBERG_CRATES_IO_TOKEN }} 30 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "acvm-backend-barretenberg" 3 | description = "An ACVM backend which allows proving/verifying ACIR circuits against Aztec Lab's Barretenberg library." 4 | version = "0.12.0" 5 | authors = ["The Noir Team "] 6 | edition = "2021" 7 | rust-version = "1.66" 8 | license = "MIT OR Apache-2.0" 9 | 10 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 11 | 12 | [lib] 13 | crate-type = ["cdylib", "lib"] 14 | 15 | [dependencies] 16 | acvm = { version = "0.23.0", features = ["bn254"] } 17 | thiserror = "1.0.21" 18 | base64 = "0.21.2" 19 | 20 | dirs = "5.0.1" 21 | tempfile = "3.6.0" 22 | 23 | ## bb binary downloading 24 | const_format = "0.2.30" 25 | tar = "~0.4.15" 26 | flate2 = "~1.0.1" 27 | reqwest = { version = "0.11.16", default-features = false, features = [ 28 | "rustls-tls", 29 | "blocking", 30 | ] } 31 | 32 | [build-dependencies] 33 | build-target = "0.4.0" 34 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: Rust Test 2 | 3 | on: [push, pull_request] 4 | 5 | jobs: 6 | test_ubuntu: 7 | name: Test on Ubuntu 8 | runs-on: ubuntu-latest 9 | steps: 10 | - name: Checkout code 11 | uses: actions/checkout@v2 12 | 13 | - name: Set up Rust 14 | uses: dtolnay/rust-toolchain@1.66.0 15 | with: 16 | target: x86_64-unknown-linux-gnu 17 | 18 | - name: Run tests 19 | env: 20 | RUST_TEST_THREADS: 1 21 | run: | 22 | cargo test 23 | 24 | test_mac: 25 | name: Test on macOS 26 | runs-on: macos-latest 27 | strategy: 28 | matrix: 29 | target: [x86_64-apple-darwin, aarch64-apple-darwin] 30 | 31 | steps: 32 | - name: Checkout code 33 | uses: actions/checkout@v2 34 | 35 | - name: Set up Rust 36 | uses: dtolnay/rust-toolchain@1.66.0 37 | with: 38 | target: ${{ matrix.target }} 39 | 40 | - name: Run tests 41 | env: 42 | RUST_TEST_THREADS: 1 43 | run: | 44 | cargo test 45 | -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022-2023 noir-lang 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Release 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | 8 | jobs: 9 | release-please: 10 | name: Create Release 11 | outputs: 12 | tag-name: ${{ steps.release.outputs.tag_name }} 13 | runs-on: ubuntu-latest 14 | steps: 15 | - name: Run release-please 16 | id: release 17 | uses: google-github-actions/release-please-action@v3 18 | with: 19 | token: ${{ secrets.ACVM_BACKEND_BARRETENBERG_RELEASE_TOKEN }} 20 | release-type: rust 21 | bump-minor-pre-major: true 22 | bump-patch-for-minor-pre-major: true 23 | pull-request-title-pattern: "chore: Release ${version}" 24 | extra-files: | 25 | flake.nix 26 | 27 | publish: 28 | name: Publish crates 29 | needs: [release-please] 30 | if: ${{ needs.release-please.outputs.tag-name }} 31 | runs-on: ubuntu-latest 32 | steps: 33 | - name: Dispatch to publish workflow 34 | uses: benc-uk/workflow-dispatch@v1 35 | with: 36 | workflow: publish.yml 37 | ref: master 38 | inputs: '{ "ref": "${{ needs.release-please.outputs.tag-name }}" }' 39 | -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- 1 | #![warn(unused_crate_dependencies, unused_extern_crates)] 2 | #![warn(unreachable_pub)] 3 | 4 | // `acvm-backend-barretenberg` can either interact with the Barretenberg backend through a static library 5 | // or through an embedded wasm binary. It does not make sense to include both of these backends at the same time. 6 | // We then throw a compilation error if both flags are set. 7 | #[cfg(all(feature = "native", feature = "wasm"))] 8 | compile_error!("feature \"native\" and feature \"wasm\" cannot be enabled at the same time"); 9 | 10 | #[cfg(all(feature = "native", target_arch = "wasm32"))] 11 | compile_error!("feature \"native\" cannot be enabled for a \"wasm32\" target"); 12 | 13 | #[cfg(all(feature = "wasm", target_arch = "wasm32"))] 14 | compile_error!("feature \"wasm\" cannot be enabled for a \"wasm32\" target"); 15 | 16 | mod bb; 17 | mod proof_system; 18 | mod smart_contract; 19 | 20 | /// The number of bytes necessary to store a `FieldElement`. 21 | const FIELD_BYTES: usize = 32; 22 | 23 | #[derive(Debug, Default)] 24 | pub struct Barretenberg; 25 | 26 | impl Barretenberg { 27 | pub fn new() -> Barretenberg { 28 | Barretenberg 29 | } 30 | } 31 | 32 | impl acvm::Backend for Barretenberg {} 33 | 34 | #[derive(Debug, thiserror::Error)] 35 | #[error(transparent)] 36 | pub struct BackendError(#[from] Error); 37 | 38 | #[allow(clippy::upper_case_acronyms)] 39 | #[derive(Debug, thiserror::Error)] 40 | enum Error {} 41 | -------------------------------------------------------------------------------- /cspell.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2", 3 | "ignorePaths": [ 4 | "target" 5 | ], 6 | "words": [ 7 | // In code 8 | // 9 | "bbmalloc", 10 | "bbfree", 11 | "bindgen", 12 | "Brillig", 13 | "cout", 14 | "fdstat", 15 | "filestat", 16 | "hasher", 17 | "hashpath", 18 | "indexjs", 19 | "keccak", 20 | "linearization", 21 | "logstr", 22 | "nargo", 23 | "PAIRINGSBN", 24 | "pedersen", 25 | "peekable", 26 | "PLONKCSat", 27 | "pippenger", 28 | "polynomial", 29 | "POLYNOMIALEVAL", 30 | "prehashed", 31 | "preimage", 32 | "preimages", 33 | "preprocess", 34 | "pubkey", 35 | "reqwest", 36 | "schnorr", 37 | "secp", 38 | "subslice", 39 | "wasi", 40 | "subarray", 41 | "ESUCCESS", 42 | "clippy", 43 | "direnv", 44 | "nixpkgs", 45 | "envrc", 46 | "subshell", 47 | "thiserror", 48 | "bincode", 49 | // In Solidity 50 | // 51 | "addmod", 52 | "calldatacopy", 53 | "calldataload", 54 | "iszero", 55 | "lstart", 56 | "mload", 57 | "mptr", 58 | "mstore", 59 | "mulmod", 60 | "staticcall", 61 | // Dependencies 62 | // 63 | "acir", 64 | "acvm", 65 | "barretenberg", 66 | "bytesize", 67 | "wasmer", 68 | "getrandom" 69 | ] 70 | } -------------------------------------------------------------------------------- /src/bb/write_vk.rs: -------------------------------------------------------------------------------- 1 | use super::{assert_binary_exists, get_binary_path, CliShimError}; 2 | 3 | /// WriteCommand will call the barretenberg binary 4 | /// to write a verification key to a file 5 | pub(crate) struct WriteVkCommand { 6 | pub(crate) verbose: bool, 7 | pub(crate) path_to_crs: String, 8 | pub(crate) is_recursive: bool, 9 | pub(crate) path_to_bytecode: String, 10 | pub(crate) path_to_vk_output: String, 11 | } 12 | 13 | impl WriteVkCommand { 14 | pub(crate) fn run(self) -> Result<(), CliShimError> { 15 | assert_binary_exists(); 16 | let mut command = std::process::Command::new(get_binary_path()); 17 | 18 | command 19 | .arg("write_vk") 20 | .arg("-c") 21 | .arg(self.path_to_crs) 22 | .arg("-b") 23 | .arg(self.path_to_bytecode) 24 | .arg("-o") 25 | .arg(self.path_to_vk_output); 26 | 27 | if self.verbose { 28 | command.arg("-v"); 29 | } 30 | if self.is_recursive { 31 | command.arg("-r"); 32 | } 33 | 34 | let output = command.output().expect("Failed to execute command"); 35 | 36 | if output.status.success() { 37 | Ok(()) 38 | } else { 39 | Err(CliShimError(String::from_utf8(output.stderr).unwrap())) 40 | } 41 | } 42 | } 43 | 44 | #[test] 45 | fn write_vk_command() { 46 | use tempfile::tempdir; 47 | 48 | let path_to_1_mul = "./src/1_mul.bytecode"; 49 | 50 | let temp_directory = tempdir().expect("could not create a temporary directory"); 51 | let temp_directory_path = temp_directory.path(); 52 | let path_to_crs = temp_directory_path.join("crs"); 53 | let path_to_vk = temp_directory_path.join("vk"); 54 | 55 | let write_vk_command = WriteVkCommand { 56 | verbose: true, 57 | path_to_bytecode: path_to_1_mul.to_string(), 58 | path_to_crs: path_to_crs.to_str().unwrap().to_string(), 59 | is_recursive: false, 60 | path_to_vk_output: path_to_vk.to_str().unwrap().to_string(), 61 | }; 62 | 63 | let vk_written = write_vk_command.run(); 64 | assert!(vk_written.is_ok()); 65 | drop(temp_directory); 66 | } 67 | -------------------------------------------------------------------------------- /src/bb/prove_and_verify.rs: -------------------------------------------------------------------------------- 1 | use super::{assert_binary_exists, get_binary_path}; 2 | 3 | /// ProveAndVerifyCommand will call the barretenberg binary 4 | /// to create a proof and then verify the proof once created. 5 | /// 6 | /// Note: Functions like this are useful for testing. In a real workflow, 7 | /// ProveCommand and VerifyCommand will be used separately. 8 | #[allow(dead_code)] 9 | struct ProveAndVerifyCommand { 10 | verbose: bool, 11 | path_to_crs: String, 12 | is_recursive: bool, 13 | path_to_bytecode: String, 14 | path_to_witness: String, 15 | } 16 | 17 | #[allow(dead_code)] 18 | impl ProveAndVerifyCommand { 19 | fn run(self) -> bool { 20 | assert_binary_exists(); 21 | let mut command = std::process::Command::new(get_binary_path()); 22 | 23 | command 24 | .arg("prove_and_verify") 25 | .arg("-c") 26 | .arg(self.path_to_crs) 27 | .arg("-b") 28 | .arg(self.path_to_bytecode) 29 | .arg("-w") 30 | .arg(self.path_to_witness); 31 | if self.verbose { 32 | command.arg("-v"); 33 | } 34 | if self.is_recursive { 35 | command.arg("-r"); 36 | } 37 | 38 | command 39 | .output() 40 | .expect("Failed to execute command") 41 | .status 42 | .success() 43 | } 44 | } 45 | 46 | #[test] 47 | fn prove_and_verify_command() { 48 | use tempfile::tempdir; 49 | 50 | let path_to_1_mul = "./src/1_mul.bytecode"; 51 | let path_to_1_mul_witness = "./src/witness.tr"; 52 | 53 | let temp_directory = tempdir().expect("could not create a temporary directory"); 54 | let temp_directory_path = temp_directory.path(); 55 | let path_to_crs = temp_directory_path.join("crs"); 56 | 57 | let prove_and_verify_command = ProveAndVerifyCommand { 58 | verbose: true, 59 | path_to_crs: path_to_crs.to_str().unwrap().to_string(), 60 | is_recursive: false, 61 | path_to_bytecode: path_to_1_mul.to_string(), 62 | path_to_witness: path_to_1_mul_witness.to_string(), 63 | }; 64 | 65 | let output = prove_and_verify_command.run(); 66 | assert!(output); 67 | drop(temp_directory); 68 | } 69 | -------------------------------------------------------------------------------- /src/bb/gates.rs: -------------------------------------------------------------------------------- 1 | use super::{assert_binary_exists, get_binary_path}; 2 | 3 | /// GatesCommand will call the barretenberg binary 4 | /// to return the number of gates needed to create a proof 5 | /// for the given bytecode. 6 | pub(crate) struct GatesCommand { 7 | pub(crate) path_to_crs: String, 8 | pub(crate) path_to_bytecode: String, 9 | } 10 | 11 | impl GatesCommand { 12 | pub(crate) fn run(self) -> u32 { 13 | assert_binary_exists(); 14 | let output = std::process::Command::new(get_binary_path()) 15 | .arg("gates") 16 | .arg("-c") 17 | .arg(self.path_to_crs) 18 | .arg("-b") 19 | .arg(self.path_to_bytecode) 20 | .output() 21 | .expect("Failed to execute command"); 22 | 23 | if !output.status.success() { 24 | panic!( 25 | "gates command encountered an error: {}", 26 | String::from_utf8_lossy(&output.stderr) 27 | ); 28 | } 29 | // Note: barretenberg includes the newline, so that subsequent prints to stdout 30 | // are not on the same line as the gates output. 31 | 32 | // Ensure we got the expected number of bytes 33 | if output.stdout.len() != 8 { 34 | panic!("Unexpected 8 bytes, received {}", output.stdout.len()); 35 | } 36 | 37 | // Convert bytes to u64 in little-endian format 38 | let value = u64::from_le_bytes([ 39 | output.stdout[0], 40 | output.stdout[1], 41 | output.stdout[2], 42 | output.stdout[3], 43 | output.stdout[4], 44 | output.stdout[5], 45 | output.stdout[6], 46 | output.stdout[7], 47 | ]); 48 | 49 | value as u32 50 | } 51 | } 52 | 53 | #[test] 54 | fn gate_command() { 55 | use tempfile::tempdir; 56 | 57 | let path_to_1_mul = "./src/1_mul.bytecode"; 58 | 59 | let temp_directory = tempdir().expect("could not create a temporary directory"); 60 | let temp_directory_path = temp_directory.path(); 61 | let path_to_crs = temp_directory_path.join("crs"); 62 | 63 | let gate_command = GatesCommand { 64 | path_to_crs: path_to_crs.to_str().unwrap().to_string(), 65 | path_to_bytecode: path_to_1_mul.to_string(), 66 | }; 67 | 68 | let output = gate_command.run(); 69 | assert_eq!(output, 2775); 70 | drop(temp_directory); 71 | } 72 | -------------------------------------------------------------------------------- /src/bb/prove.rs: -------------------------------------------------------------------------------- 1 | use super::{assert_binary_exists, get_binary_path, CliShimError}; 2 | 3 | /// ProveCommand will call the barretenberg binary 4 | /// to create a proof, given the witness and the bytecode. 5 | /// 6 | /// Note:Internally barretenberg will create and discard the 7 | /// proving key, so this is not returned. 8 | /// 9 | /// The proof will be written to the specified output file. 10 | pub(crate) struct ProveCommand { 11 | pub(crate) verbose: bool, 12 | pub(crate) path_to_crs: String, 13 | pub(crate) is_recursive: bool, 14 | pub(crate) path_to_bytecode: String, 15 | pub(crate) path_to_witness: String, 16 | pub(crate) path_to_proof: String, 17 | } 18 | 19 | impl ProveCommand { 20 | pub(crate) fn run(self) -> Result<(), CliShimError> { 21 | assert_binary_exists(); 22 | let mut command = std::process::Command::new(get_binary_path()); 23 | 24 | command 25 | .arg("prove") 26 | .arg("-c") 27 | .arg(self.path_to_crs) 28 | .arg("-b") 29 | .arg(self.path_to_bytecode) 30 | .arg("-w") 31 | .arg(self.path_to_witness) 32 | .arg("-o") 33 | .arg(self.path_to_proof); 34 | 35 | if self.verbose { 36 | command.arg("-v"); 37 | } 38 | if self.is_recursive { 39 | command.arg("-r"); 40 | } 41 | 42 | let output = command.output().expect("Failed to execute command"); 43 | 44 | if output.status.success() { 45 | Ok(()) 46 | } else { 47 | Err(CliShimError(String::from_utf8(output.stderr).unwrap())) 48 | } 49 | } 50 | } 51 | 52 | #[test] 53 | fn prove_command() { 54 | use tempfile::tempdir; 55 | 56 | let path_to_1_mul = "./src/1_mul.bytecode"; 57 | let path_to_1_mul_witness = "./src/witness.tr"; 58 | 59 | let temp_directory = tempdir().expect("could not create a temporary directory"); 60 | let temp_directory_path = temp_directory.path(); 61 | 62 | let path_to_crs = temp_directory_path.join("crs"); 63 | let path_to_proof = temp_directory_path.join("1_mul").with_extension("proof"); 64 | 65 | let prove_command = ProveCommand { 66 | verbose: true, 67 | path_to_crs: path_to_crs.to_str().unwrap().to_string(), 68 | is_recursive: false, 69 | path_to_bytecode: path_to_1_mul.to_string(), 70 | path_to_witness: path_to_1_mul_witness.to_string(), 71 | path_to_proof: path_to_proof.to_str().unwrap().to_string(), 72 | }; 73 | 74 | let proof_created = prove_command.run(); 75 | assert!(proof_created.is_ok()); 76 | drop(temp_directory); 77 | } 78 | -------------------------------------------------------------------------------- /src/bb/contract.rs: -------------------------------------------------------------------------------- 1 | use super::{assert_binary_exists, get_binary_path, CliShimError}; 2 | 3 | /// VerifyCommand will call the barretenberg binary 4 | /// to return a solidity library with the verification key 5 | /// that can be used to verify proofs on-chain. 6 | /// 7 | /// This does not return a Solidity file that is able 8 | /// to verify a proof. See acvm_interop/contract.sol for the 9 | /// remaining logic that is missing. 10 | pub(crate) struct ContractCommand { 11 | pub(crate) verbose: bool, 12 | pub(crate) path_to_crs: String, 13 | pub(crate) path_to_vk: String, 14 | pub(crate) path_to_contract: String, 15 | } 16 | 17 | impl ContractCommand { 18 | pub(crate) fn run(self) -> Result<(), CliShimError> { 19 | assert_binary_exists(); 20 | let mut command = std::process::Command::new(get_binary_path()); 21 | 22 | command 23 | .arg("contract") 24 | .arg("-c") 25 | .arg(self.path_to_crs) 26 | .arg("-k") 27 | .arg(self.path_to_vk) 28 | .arg("-o") 29 | .arg(self.path_to_contract); 30 | 31 | if self.verbose { 32 | command.arg("-v"); 33 | } 34 | 35 | let output = command.output().expect("Failed to execute command"); 36 | if output.status.success() { 37 | Ok(()) 38 | } else { 39 | Err(CliShimError(String::from_utf8(output.stderr).unwrap())) 40 | } 41 | } 42 | } 43 | 44 | #[test] 45 | fn contract_command() { 46 | use tempfile::tempdir; 47 | 48 | let path_to_1_mul = "./src/1_mul.bytecode"; 49 | 50 | let temp_directory = tempdir().expect("could not create a temporary directory"); 51 | let temp_directory_path = temp_directory.path(); 52 | let path_to_crs = temp_directory_path.join("crs"); 53 | let path_to_vk = temp_directory_path.join("vk"); 54 | let path_to_contract = temp_directory_path.join("contract"); 55 | 56 | let write_vk_command = super::WriteVkCommand { 57 | verbose: true, 58 | path_to_bytecode: path_to_1_mul.to_string(), 59 | path_to_vk_output: path_to_vk.to_str().unwrap().to_string(), 60 | is_recursive: false, 61 | path_to_crs: path_to_crs.to_str().unwrap().to_string(), 62 | }; 63 | 64 | assert!(write_vk_command.run().is_ok()); 65 | 66 | let contract_command = ContractCommand { 67 | verbose: true, 68 | path_to_vk: path_to_vk.to_str().unwrap().to_string(), 69 | path_to_crs: path_to_crs.to_str().unwrap().to_string(), 70 | path_to_contract: path_to_contract.to_str().unwrap().to_string(), 71 | }; 72 | 73 | assert!(contract_command.run().is_ok()); 74 | drop(temp_directory); 75 | } 76 | -------------------------------------------------------------------------------- /src/bb/verify.rs: -------------------------------------------------------------------------------- 1 | use super::{assert_binary_exists, get_binary_path}; 2 | 3 | /// VerifyCommand will call the barretenberg binary 4 | /// to verify a proof 5 | pub(crate) struct VerifyCommand { 6 | pub(crate) verbose: bool, 7 | pub(crate) path_to_crs: String, 8 | pub(crate) is_recursive: bool, 9 | pub(crate) path_to_proof: String, 10 | pub(crate) path_to_vk: String, 11 | } 12 | 13 | impl VerifyCommand { 14 | pub(crate) fn run(self) -> bool { 15 | assert_binary_exists(); 16 | let mut command = std::process::Command::new(get_binary_path()); 17 | 18 | command 19 | .arg("verify") 20 | .arg("-c") 21 | .arg(self.path_to_crs) 22 | .arg("-p") 23 | .arg(self.path_to_proof) 24 | .arg("-k") 25 | .arg(self.path_to_vk); 26 | 27 | if self.verbose { 28 | command.arg("-v"); 29 | } 30 | if self.is_recursive { 31 | command.arg("-r"); 32 | } 33 | 34 | let output = command.output().expect("Failed to execute command"); 35 | output.status.success() 36 | } 37 | } 38 | 39 | #[test] 40 | fn verify_command() { 41 | use tempfile::tempdir; 42 | 43 | use crate::bb::{ProveCommand, WriteVkCommand}; 44 | 45 | let path_to_1_mul = "./src/1_mul.bytecode"; 46 | let path_to_1_mul_witness = "./src/witness.tr"; 47 | 48 | let temp_directory = tempdir().expect("could not create a temporary directory"); 49 | let temp_directory_path = temp_directory.path(); 50 | 51 | let path_to_crs = temp_directory_path.join("crs"); 52 | let path_to_proof = temp_directory_path.join("1_mul").with_extension("proof"); 53 | let path_to_vk = temp_directory_path.join("vk"); 54 | 55 | let write_vk_command = WriteVkCommand { 56 | verbose: true, 57 | path_to_bytecode: path_to_1_mul.to_string(), 58 | path_to_crs: path_to_crs.to_str().unwrap().to_string(), 59 | is_recursive: false, 60 | path_to_vk_output: path_to_vk.to_str().unwrap().to_string(), 61 | }; 62 | 63 | let vk_written = write_vk_command.run(); 64 | assert!(vk_written.is_ok()); 65 | 66 | let prove_command = ProveCommand { 67 | verbose: true, 68 | path_to_crs: path_to_crs.to_str().unwrap().to_string(), 69 | is_recursive: false, 70 | path_to_bytecode: path_to_1_mul.to_string(), 71 | path_to_witness: path_to_1_mul_witness.to_string(), 72 | path_to_proof: path_to_proof.to_str().unwrap().to_string(), 73 | }; 74 | prove_command.run().unwrap(); 75 | 76 | let verify_command = VerifyCommand { 77 | verbose: true, 78 | path_to_crs: path_to_crs.to_str().unwrap().to_string(), 79 | is_recursive: false, 80 | path_to_proof: path_to_proof.to_str().unwrap().to_string(), 81 | path_to_vk: path_to_vk.to_str().unwrap().to_string(), 82 | }; 83 | 84 | let verified = verify_command.run(); 85 | assert!(verified); 86 | drop(temp_directory); 87 | } 88 | -------------------------------------------------------------------------------- /src/smart_contract.rs: -------------------------------------------------------------------------------- 1 | use super::proof_system::{serialize_circuit, write_to_file}; 2 | use crate::{ 3 | bb::{ContractCommand, WriteVkCommand}, 4 | proof_system::read_bytes_from_file, 5 | BackendError, Barretenberg, 6 | }; 7 | use acvm::{acir::circuit::Circuit, SmartContract}; 8 | use tempfile::tempdir; 9 | 10 | /// Embed the Solidity verifier file 11 | const ULTRA_VERIFIER_CONTRACT: &str = include_str!("contract.sol"); 12 | 13 | impl SmartContract for Barretenberg { 14 | type Error = BackendError; 15 | 16 | fn eth_contract_from_vk( 17 | &self, 18 | _common_reference_string: &[u8], 19 | circuit: &Circuit, 20 | _verification_key: &[u8], 21 | ) -> Result { 22 | let temp_directory = tempdir().expect("could not create a temporary directory"); 23 | let temp_directory_path = temp_directory.path(); 24 | let temp_dir_path = temp_directory_path.to_str().unwrap(); 25 | 26 | // Create a temporary file for the circuit 27 | let circuit_path = temp_directory_path 28 | .join("circuit") 29 | .with_extension("bytecode"); 30 | let serialized_circuit = serialize_circuit(circuit); 31 | write_to_file(serialized_circuit.as_bytes(), &circuit_path); 32 | 33 | // Create the verification key and write it to the specified path 34 | let vk_path = temp_directory_path.join("vk").to_str().unwrap().to_string(); 35 | WriteVkCommand { 36 | verbose: false, 37 | path_to_crs: temp_dir_path.to_string(), 38 | is_recursive: false, 39 | path_to_bytecode: circuit_path.as_os_str().to_str().unwrap().to_string(), 40 | path_to_vk_output: vk_path.clone(), 41 | } 42 | .run() 43 | .expect("write vk command failed"); 44 | 45 | let path_to_contract = temp_directory_path 46 | .join("contract") 47 | .to_str() 48 | .unwrap() 49 | .to_string(); 50 | ContractCommand { 51 | verbose: false, 52 | path_to_crs: temp_dir_path.to_string(), 53 | path_to_vk: vk_path, 54 | path_to_contract: path_to_contract.clone(), 55 | } 56 | .run() 57 | .expect("contract command failed"); 58 | 59 | let verification_key_library_bytes = read_bytes_from_file(&path_to_contract).unwrap(); 60 | let verification_key_library = String::from_utf8(verification_key_library_bytes).unwrap(); 61 | 62 | drop(temp_directory); 63 | Ok(format!( 64 | "{verification_key_library}{ULTRA_VERIFIER_CONTRACT}" 65 | )) 66 | } 67 | } 68 | 69 | #[cfg(test)] 70 | mod tests { 71 | use std::collections::BTreeSet; 72 | 73 | use acvm::{ 74 | acir::{ 75 | circuit::{Circuit, Opcode, PublicInputs}, 76 | native_types::{Expression, Witness}, 77 | }, 78 | SmartContract, 79 | }; 80 | 81 | #[test] 82 | fn test_smart_contract() { 83 | use crate::Barretenberg; 84 | 85 | let expression = &(Witness(1) + Witness(2)) - &Expression::from(Witness(3)); 86 | let constraint = Opcode::Arithmetic(expression); 87 | 88 | let circuit = Circuit { 89 | current_witness_index: 4, 90 | opcodes: vec![constraint], 91 | private_parameters: BTreeSet::from([Witness(1), Witness(2)]), 92 | public_parameters: PublicInputs::default(), 93 | return_values: PublicInputs::default(), 94 | }; 95 | 96 | let bb = Barretenberg; 97 | 98 | let common_reference_string = Vec::new(); 99 | let verification_key = Vec::new(); 100 | let contract = bb 101 | .eth_contract_from_vk(&common_reference_string, &circuit, &verification_key) 102 | .unwrap(); 103 | 104 | assert!(contract.contains("contract BaseUltraVerifier")); 105 | assert!(contract.contains("contract UltraVerifier")); 106 | assert!(contract.contains("library UltraVerificationKey")); 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /src/bb/mod.rs: -------------------------------------------------------------------------------- 1 | // Reference: https://github.com/AztecProtocol/aztec-packages/blob/master/circuits/cpp/barretenberg/cpp/src/barretenberg/bb/main.cpp 2 | 3 | mod contract; 4 | mod gates; 5 | mod prove; 6 | mod prove_and_verify; 7 | mod verify; 8 | mod write_vk; 9 | 10 | use std::{io::Cursor, path::PathBuf}; 11 | 12 | use const_format::formatcp; 13 | pub(crate) use contract::ContractCommand; 14 | pub(crate) use gates::GatesCommand; 15 | pub(crate) use prove::ProveCommand; 16 | pub(crate) use verify::VerifyCommand; 17 | pub(crate) use write_vk::WriteVkCommand; 18 | 19 | #[derive(Debug, thiserror::Error)] 20 | #[error("Error communicating with barretenberg binary {0}")] 21 | pub(crate) struct CliShimError(String); 22 | 23 | const USERNAME: &str = "AztecProtocol"; 24 | const REPO: &str = "barretenberg"; 25 | const VERSION: &str = "0.4.6"; 26 | const TAG: &str = formatcp!("barretenberg-v{}", VERSION); 27 | const DEST_FOLDER: &str = ".nargo/backends/acvm-backend-barretenberg"; 28 | const BINARY_NAME: &str = "backend_binary"; 29 | 30 | const API_URL: &str = formatcp!( 31 | "https://github.com/{}/{}/releases/download/{}", 32 | USERNAME, 33 | REPO, 34 | TAG 35 | ); 36 | 37 | fn get_bb_download_url() -> String { 38 | if let Ok(path) = std::env::var("BB_BINARY_URL") { 39 | return path; 40 | } 41 | 42 | let target_os = env!("TARGET_OS"); 43 | let target_arch = env!("TARGET_ARCH"); 44 | 45 | let archive_name = match target_os { 46 | "linux" => "barretenberg-x86_64-linux-gnu.tar.gz", 47 | "macos" => match target_arch { 48 | "aarch64" => "barretenberg-aarch64-apple-darwin.tar.gz", 49 | "x86_64" => "barretenberg-x86_64-apple-darwin.tar.gz", 50 | arch => panic!("unsupported arch {arch}"), 51 | }, 52 | os => panic!("Unsupported OS {os}"), 53 | }; 54 | 55 | format!("{API_URL}/{archive_name}") 56 | } 57 | 58 | /// Returns the path to the binary that was set by the `NARGO_BINARIES_PATH` environment variable 59 | fn get_binary_path() -> PathBuf { 60 | match std::env::var("BB_BINARY_PATH") { 61 | Ok(path) => PathBuf::from(path), 62 | Err(_) => dirs::home_dir() 63 | .unwrap() 64 | .join(formatcp!("{}/{}", DEST_FOLDER, BINARY_NAME)), 65 | } 66 | } 67 | 68 | fn assert_binary_exists() { 69 | if !get_binary_path().exists() { 70 | download_bb_binary() 71 | } 72 | } 73 | 74 | fn download_bb_binary() { 75 | use flate2::read::GzDecoder; 76 | use tar::Archive; 77 | use tempfile::tempdir; 78 | 79 | // Create directory to place binary in. 80 | std::fs::create_dir_all(get_binary_path().parent().unwrap()).unwrap(); 81 | 82 | // Download sources 83 | let compressed_file: Cursor> = download_binary_from_url(&get_bb_download_url()) 84 | .unwrap_or_else(|error| panic!("\n\nDownload error: {error}\n\n")); 85 | 86 | // Unpack the tarball 87 | let gz_decoder = GzDecoder::new(compressed_file); 88 | let mut archive = Archive::new(gz_decoder); 89 | 90 | let temp_directory = tempdir().expect("could not create a temporary directory"); 91 | archive.unpack(&temp_directory).unwrap(); 92 | let binary_path = temp_directory.path().join("bb"); 93 | 94 | // Rename the binary to the desired name 95 | std::fs::copy(binary_path, get_binary_path()).unwrap(); 96 | 97 | drop(temp_directory); 98 | } 99 | 100 | /// Try to download the specified URL into a buffer which is returned. 101 | fn download_binary_from_url(url: &str) -> Result>, String> { 102 | let response = reqwest::blocking::get(url).map_err(|error| error.to_string())?; 103 | 104 | let bytes = response.bytes().unwrap(); 105 | 106 | // TODO: Check SHA of downloaded binary 107 | 108 | Ok(Cursor::new(bytes.to_vec())) 109 | } 110 | 111 | #[test] 112 | fn no_command_provided_works() { 113 | // This is a simple test to check that the binaries work 114 | 115 | assert_binary_exists(); 116 | 117 | let output = std::process::Command::new(get_binary_path()) 118 | .output() 119 | .expect("Failed to execute command"); 120 | 121 | let stderr = String::from_utf8_lossy(&output.stderr); 122 | assert_eq!(stderr, "No command provided.\n"); 123 | } 124 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # acvm-backend-barretenberg 2 | 3 | An [ACVM](https://github.com/noir-lang/acvm) backend which allows proving/verifying ACIR circuits against Aztec Lab's [Barretenberg](https://github.com/AztecProtocol/barretenberg) library. 4 | 5 | ## Verifier contract repository 6 | 7 | The [verifier contracts](./src/acvm_interop/contract.sol) generated by this library are developed in https://github.com/AztecProtocol/aztec-verifier-contracts. As such, we cannot accept any modifications to the contracts directly and any changes to the contracts must first be made and accepted in the upstream repository. 8 | 9 | ## Working on this project 10 | 11 | Due to the large number of native dependencies, this project uses [Nix](https://nixos.org/) and [direnv](https://direnv.net/) to streamline the development experience. 12 | 13 | ### Setting up your environment 14 | 15 | For the best experience, please follow these instructions to setup your environment: 16 | 1. Install Nix following [their guide](https://nixos.org/download.html) for your operating system 17 | 2. Create the file `~/.config/nix/nix.conf` with the contents: 18 | ```ini 19 | experimental-features = nix-command 20 | extra-experimental-features = flakes 21 | ``` 22 | 3. Install direnv into your Nix profile by running: 23 | ```sh 24 | nix profile install nixpkgs#direnv 25 | ``` 26 | 4. Add direnv to your shell following [their guide](https://direnv.net/docs/hook.html) 27 | 5. Restart your shell 28 | 29 | ### Shell & editor experience 30 | 31 | Now that your environment is set up, you can get to work on the project. 32 | 33 | 1. Clone the repository, such as: 34 | ```sh 35 | git clone git@github.com:noir-lang/aztec_backend 36 | ``` 37 | 2. Navigate to the directory: 38 | ```sh 39 | cd aztec_backend 40 | ``` 41 | 3. You should see a __direnv error__ because projects aren't allowed by default. Make sure you've reviewed and trust our `.envrc` file, then you need to run: 42 | ```sh 43 | direnv allow 44 | ``` 45 | 4. Now, wait awhile for all the native dependencies to be built. This will take some time and direnv will warn you that it is taking a long time, but we just need to let it run. 46 | 5. Once you are presented with your prompt again, you can start your editor within the project directory (we recommend [VSCode](https://code.visualstudio.com/)): 47 | ```sh 48 | code . 49 | ``` 50 | 6. (Recommended) When launching VSCode for the first time, you should be prompted to install our recommended plugins. We highly recommend installing these for the best development experience. 51 | 52 | ### Building and testing 53 | 54 | Assuming you are using `direnv` to populate your environment, building and testing the project can be done 55 | with the typical `cargo build`, `cargo test`, and `cargo clippy` commands. You'll notice that the `cargo` version matches the version we specify in [flake.nix](./flake.nix), which is 1.66.0 at the time of this writing. 56 | 57 | If you want to build the entire project in an isolated sandbox, you can use Nix commands: 58 | 1. `nix build .` (or `nix build . -L` for verbose output) to build the project in a Nix sandbox 59 | 2. `nix flake check` (or `nix flake check -L` for verbose output) to run clippy and tests in a Nix sandbox 60 | 61 | ### Building against a different local/remote version of Barretenberg 62 | 63 | If you are working on this project and want a different version of Barretenberg (instead of the version this project is pinned against), you'll want to replace the lockfile version with your version. This can be done by running: 64 | 65 | ```sh 66 | nix flake lock --override-input barretenberg /absolute/path/to/your/barretenberg 67 | ``` 68 | 69 | You can also point at a fork and/or branch on GitHub using: 70 | 71 | ```sh 72 | nix flake lock --override-input barretenberg github:username/barretenberg/branch_name 73 | ``` 74 | 75 | __Note:__ You don't want to commit the updated lockfile, as it will fail in CI! 76 | 77 | ### Without direnv 78 | 79 | If you have hesitations with using `direnv`, you can launch a subshell with `nix develop` and then launch your editor 80 | from within the subshell. However, if VSCode was already launched in the project directory, the environment won't be updated. 81 | 82 | __Advanced:__ If you aren't using `direnv` nor launching your editor within the subshell, you can try to install Barretenberg and other global dependencies the package needs. This is an advanced workflow and likely won't receive support! 83 | -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- 1 | { 2 | "nodes": { 3 | "barretenberg": { 4 | "inputs": { 5 | "flake-utils": [ 6 | "flake-utils" 7 | ], 8 | "nixpkgs": [ 9 | "nixpkgs" 10 | ] 11 | }, 12 | "locked": { 13 | "lastModified": 1693320399, 14 | "narHash": "sha256-P6xsi4OzfVBWQF/gHt4u2dMyKOPbCMoJ7n9URzMvkik=", 15 | "owner": "AztecProtocol", 16 | "repo": "barretenberg", 17 | "rev": "051449fe181bf53e2cfebc15c6b9bd01cc44fc50", 18 | "type": "github" 19 | }, 20 | "original": { 21 | "owner": "AztecProtocol", 22 | "ref": "barretenberg-v0.4.6", 23 | "repo": "barretenberg", 24 | "type": "github" 25 | } 26 | }, 27 | "crane": { 28 | "inputs": { 29 | "flake-compat": [ 30 | "flake-compat" 31 | ], 32 | "flake-utils": [ 33 | "flake-utils" 34 | ], 35 | "nixpkgs": [ 36 | "nixpkgs" 37 | ], 38 | "rust-overlay": [ 39 | "rust-overlay" 40 | ] 41 | }, 42 | "locked": { 43 | "lastModified": 1681177078, 44 | "narHash": "sha256-ZNIjBDou2GOabcpctiQykEQVkI8BDwk7TyvlWlI4myE=", 45 | "owner": "ipetkov", 46 | "repo": "crane", 47 | "rev": "0c9f468ff00576577d83f5019a66c557ede5acf6", 48 | "type": "github" 49 | }, 50 | "original": { 51 | "owner": "ipetkov", 52 | "repo": "crane", 53 | "type": "github" 54 | } 55 | }, 56 | "flake-compat": { 57 | "flake": false, 58 | "locked": { 59 | "lastModified": 1673956053, 60 | "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", 61 | "owner": "edolstra", 62 | "repo": "flake-compat", 63 | "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", 64 | "type": "github" 65 | }, 66 | "original": { 67 | "owner": "edolstra", 68 | "repo": "flake-compat", 69 | "type": "github" 70 | } 71 | }, 72 | "flake-utils": { 73 | "inputs": { 74 | "systems": "systems" 75 | }, 76 | "locked": { 77 | "lastModified": 1681202837, 78 | "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", 79 | "owner": "numtide", 80 | "repo": "flake-utils", 81 | "rev": "cfacdce06f30d2b68473a46042957675eebb3401", 82 | "type": "github" 83 | }, 84 | "original": { 85 | "owner": "numtide", 86 | "repo": "flake-utils", 87 | "type": "github" 88 | } 89 | }, 90 | "nixpkgs": { 91 | "locked": { 92 | "lastModified": 1681269223, 93 | "narHash": "sha256-i6OeI2f7qGvmLfD07l1Az5iBL+bFeP0RHixisWtpUGo=", 94 | "owner": "NixOS", 95 | "repo": "nixpkgs", 96 | "rev": "87edbd74246ccdfa64503f334ed86fa04010bab9", 97 | "type": "github" 98 | }, 99 | "original": { 100 | "owner": "NixOS", 101 | "ref": "nixos-22.11", 102 | "repo": "nixpkgs", 103 | "type": "github" 104 | } 105 | }, 106 | "root": { 107 | "inputs": { 108 | "barretenberg": "barretenberg", 109 | "crane": "crane", 110 | "flake-compat": "flake-compat", 111 | "flake-utils": "flake-utils", 112 | "nixpkgs": "nixpkgs", 113 | "rust-overlay": "rust-overlay" 114 | } 115 | }, 116 | "rust-overlay": { 117 | "inputs": { 118 | "flake-utils": [ 119 | "flake-utils" 120 | ], 121 | "nixpkgs": [ 122 | "nixpkgs" 123 | ] 124 | }, 125 | "locked": { 126 | "lastModified": 1681352318, 127 | "narHash": "sha256-+kwy7bTsuW8GYrRqWRQ8T5hg6duZb5IJiHlKo1J+v9g=", 128 | "owner": "oxalica", 129 | "repo": "rust-overlay", 130 | "rev": "aeaa11c65a5c5cebaa51652353ab3c497b9a7bbf", 131 | "type": "github" 132 | }, 133 | "original": { 134 | "owner": "oxalica", 135 | "repo": "rust-overlay", 136 | "type": "github" 137 | } 138 | }, 139 | "systems": { 140 | "locked": { 141 | "lastModified": 1681028828, 142 | "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 143 | "owner": "nix-systems", 144 | "repo": "default", 145 | "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 146 | "type": "github" 147 | }, 148 | "original": { 149 | "owner": "nix-systems", 150 | "repo": "default", 151 | "type": "github" 152 | } 153 | } 154 | }, 155 | "root": "root", 156 | "version": 7 157 | } 158 | -------------------------------------------------------------------------------- /src/proof_system.rs: -------------------------------------------------------------------------------- 1 | use std::fs::File; 2 | use std::io::{Read, Write}; 3 | use std::path::Path; 4 | 5 | use acvm::acir::circuit::Opcode; 6 | use acvm::acir::{circuit::Circuit, native_types::WitnessMap, BlackBoxFunc}; 7 | use acvm::FieldElement; 8 | use acvm::{Language, ProofSystemCompiler}; 9 | use tempfile::tempdir; 10 | 11 | use crate::bb::{GatesCommand, ProveCommand, VerifyCommand, WriteVkCommand}; 12 | use crate::{BackendError, Barretenberg, FIELD_BYTES}; 13 | 14 | impl ProofSystemCompiler for Barretenberg { 15 | type Error = BackendError; 16 | 17 | fn np_language(&self) -> Language { 18 | Language::PLONKCSat { width: 3 } 19 | } 20 | 21 | fn get_exact_circuit_size(&self, circuit: &Circuit) -> Result { 22 | let temp_directory = tempdir().expect("could not create a temporary directory"); 23 | let temp_directory = temp_directory.path(); 24 | let temp_dir_path_str = temp_directory.to_str().unwrap(); 25 | 26 | // Create a temporary file for the circuit 27 | // 28 | let circuit_path = temp_directory.join("circuit").with_extension("bytecode"); 29 | let serialized_circuit = serialize_circuit(circuit); 30 | write_to_file(serialized_circuit.as_bytes(), &circuit_path); 31 | 32 | let number_of_gates_needed = GatesCommand { 33 | path_to_crs: temp_dir_path_str.to_string(), 34 | path_to_bytecode: circuit_path.as_os_str().to_str().unwrap().to_string(), 35 | } 36 | .run(); 37 | 38 | Ok(number_of_gates_needed) 39 | } 40 | 41 | fn supports_opcode(&self, opcode: &Opcode) -> bool { 42 | match opcode { 43 | Opcode::Arithmetic(_) => true, 44 | Opcode::Directive(_) => true, 45 | Opcode::Brillig(_) => true, 46 | Opcode::MemoryInit { .. } => true, 47 | Opcode::MemoryOp { .. } => true, 48 | Opcode::BlackBoxFuncCall(func) => match func.get_black_box_func() { 49 | BlackBoxFunc::AND 50 | | BlackBoxFunc::XOR 51 | | BlackBoxFunc::RANGE 52 | | BlackBoxFunc::SHA256 53 | | BlackBoxFunc::Blake2s 54 | | BlackBoxFunc::Keccak256 55 | | BlackBoxFunc::SchnorrVerify 56 | | BlackBoxFunc::Pedersen 57 | | BlackBoxFunc::HashToField128Security 58 | | BlackBoxFunc::EcdsaSecp256k1 59 | | BlackBoxFunc::EcdsaSecp256r1 60 | | BlackBoxFunc::FixedBaseScalarMul 61 | | BlackBoxFunc::RecursiveAggregation => true, 62 | }, 63 | } 64 | } 65 | 66 | fn prove_with_pk( 67 | &self, 68 | _common_reference_string: &[u8], 69 | circuit: &Circuit, 70 | witness_values: WitnessMap, 71 | _proving_key: &[u8], 72 | is_recursive: bool, 73 | ) -> Result, Self::Error> { 74 | let temp_directory = tempdir().expect("could not create a temporary directory"); 75 | let temp_directory = temp_directory.path(); 76 | let temp_dir_path_str = temp_directory.to_str().unwrap(); 77 | 78 | // Create a temporary file for the witness 79 | let serialized_witnesses: Vec = witness_values 80 | .try_into() 81 | .expect("could not serialize witness map"); 82 | let witness_path = temp_directory.join("witness").with_extension("tr"); 83 | write_to_file(&serialized_witnesses, &witness_path); 84 | 85 | // Create a temporary file for the circuit 86 | // 87 | let circuit_path = temp_directory.join("circuit").with_extension("bytecode"); 88 | let serialized_circuit = serialize_circuit(circuit); 89 | write_to_file(serialized_circuit.as_bytes(), &circuit_path); 90 | 91 | let proof_path = temp_directory.join("proof").with_extension("proof"); 92 | 93 | // Create proof and store it in the specified path 94 | ProveCommand { 95 | verbose: true, 96 | path_to_crs: temp_dir_path_str.to_string(), 97 | is_recursive, 98 | path_to_bytecode: circuit_path.as_os_str().to_str().unwrap().to_string(), 99 | path_to_witness: witness_path.as_os_str().to_str().unwrap().to_string(), 100 | path_to_proof: proof_path.as_os_str().to_str().unwrap().to_string(), 101 | } 102 | .run() 103 | .expect("prove command failed"); 104 | 105 | let proof_with_public_inputs = 106 | read_bytes_from_file(proof_path.as_os_str().to_str().unwrap()).unwrap(); 107 | 108 | // Barretenberg return the proof prepended with the public inputs. 109 | // 110 | // This is not how the API expects the proof to be formatted, 111 | // so we remove the public inputs from the proof. 112 | // 113 | // TODO: As noted in the verification procedure, this is an abstraction leak 114 | // TODO: and will need modifications to barretenberg 115 | let proof = 116 | remove_public_inputs(circuit.public_inputs().0.len(), &proof_with_public_inputs); 117 | Ok(proof) 118 | } 119 | 120 | fn verify_with_vk( 121 | &self, 122 | _common_reference_string: &[u8], 123 | proof: &[u8], 124 | public_inputs: WitnessMap, 125 | circuit: &Circuit, 126 | _verification_key: &[u8], 127 | is_recursive: bool, 128 | ) -> Result { 129 | let temp_directory = tempdir().expect("could not create a temporary directory"); 130 | let temp_directory = temp_directory.path(); 131 | let temp_dir_path = temp_directory.to_str().unwrap(); 132 | 133 | // Unlike when proving, we omit any unassigned witnesses. 134 | // Witness values should be ordered by their index but we skip over any indices without an assignment. 135 | let flattened_public_inputs: Vec = 136 | public_inputs.into_iter().map(|(_, el)| el).collect(); 137 | 138 | // Barretenberg expects the proof to be prepended with the public inputs. 139 | // 140 | // TODO: This is an abstraction leak and barretenberg's API should accept the public inputs 141 | // TODO: separately and then prepend them internally 142 | let proof_with_public_inputs = 143 | prepend_public_inputs(proof.to_vec(), flattened_public_inputs.to_vec()); 144 | 145 | // Create a temporary file for the proof 146 | let proof_path = temp_directory.join("proof").with_extension("proof"); 147 | write_to_file(&proof_with_public_inputs, &proof_path); 148 | 149 | // Create a temporary file for the circuit 150 | let circuit_path = temp_directory.join("circuit").with_extension("bytecode"); 151 | let serialized_circuit = serialize_circuit(circuit); 152 | write_to_file(serialized_circuit.as_bytes(), &circuit_path); 153 | 154 | // Create the verification key and write it to the specified path 155 | let vk_path = temp_directory.join("vk"); 156 | WriteVkCommand { 157 | verbose: false, 158 | path_to_crs: temp_dir_path.to_string(), 159 | is_recursive, 160 | path_to_bytecode: circuit_path.as_os_str().to_str().unwrap().to_string(), 161 | path_to_vk_output: vk_path.as_os_str().to_str().unwrap().to_string(), 162 | } 163 | .run() 164 | .expect("write vk command failed"); 165 | 166 | // Verify the proof 167 | Ok(VerifyCommand { 168 | verbose: false, 169 | path_to_crs: temp_dir_path.to_string(), 170 | is_recursive, 171 | path_to_proof: proof_path.as_os_str().to_str().unwrap().to_string(), 172 | path_to_vk: vk_path.as_os_str().to_str().unwrap().to_string(), 173 | } 174 | .run()) 175 | } 176 | 177 | fn proof_as_fields( 178 | &self, 179 | _proof: &[u8], 180 | _public_inputs: WitnessMap, 181 | ) -> Result, Self::Error> { 182 | panic!("vk_as_fields not supported in this backend"); 183 | } 184 | 185 | fn vk_as_fields( 186 | &self, 187 | _common_reference_string: &[u8], 188 | _verification_key: &[u8], 189 | ) -> Result<(Vec, FieldElement), Self::Error> { 190 | panic!("vk_as_fields not supported in this backend"); 191 | } 192 | } 193 | 194 | pub(super) fn write_to_file(bytes: &[u8], path: &Path) -> String { 195 | let display = path.display(); 196 | 197 | let mut file = match File::create(path) { 198 | Err(why) => panic!("couldn't create {display}: {why}"), 199 | Ok(file) => file, 200 | }; 201 | 202 | match file.write_all(bytes) { 203 | Err(why) => panic!("couldn't write to {display}: {why}"), 204 | Ok(_) => display.to_string(), 205 | } 206 | } 207 | 208 | pub(super) fn read_bytes_from_file(path: &str) -> std::io::Result> { 209 | // Open the file for reading. 210 | let mut file = File::open(path)?; 211 | 212 | // Create a buffer to store the bytes. 213 | let mut buffer = Vec::new(); 214 | 215 | // Read bytes from the file. 216 | file.read_to_end(&mut buffer)?; 217 | 218 | Ok(buffer) 219 | } 220 | 221 | /// Removes the public inputs which are prepended to a proof by Barretenberg. 222 | fn remove_public_inputs(num_pub_inputs: usize, proof: &[u8]) -> Vec { 223 | // Barretenberg prepends the public inputs onto the proof so we need to remove 224 | // the first `num_pub_inputs` field elements. 225 | let num_bytes_to_remove = num_pub_inputs * FIELD_BYTES; 226 | proof[num_bytes_to_remove..].to_vec() 227 | } 228 | 229 | /// Prepends a set of public inputs to a proof. 230 | fn prepend_public_inputs(proof: Vec, public_inputs: Vec) -> Vec { 231 | if public_inputs.is_empty() { 232 | return proof; 233 | } 234 | 235 | let public_inputs_bytes = public_inputs 236 | .into_iter() 237 | .flat_map(|assignment| assignment.to_be_bytes()); 238 | 239 | public_inputs_bytes.chain(proof.into_iter()).collect() 240 | } 241 | 242 | // TODO: See nargo/src/artifacts/mod.rs 243 | // TODO: This method should live in ACVM and be the default method for serializing/deserializing circuits 244 | pub(super) fn serialize_circuit(circuit: &Circuit) -> String { 245 | use base64::Engine; 246 | let mut circuit_bytes: Vec = Vec::new(); 247 | circuit.write(&mut circuit_bytes).unwrap(); 248 | base64::engine::general_purpose::STANDARD.encode(circuit_bytes) 249 | } 250 | -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- 1 | { 2 | description = "An ACVM backend which allows proving/verifying ACIR circuits against Aztec Lab's Barretenberg library."; 3 | 4 | inputs = { 5 | nixpkgs = { 6 | url = "github:NixOS/nixpkgs/nixos-22.11"; 7 | }; 8 | 9 | flake-utils = { 10 | url = "github:numtide/flake-utils"; 11 | }; 12 | 13 | flake-compat = { 14 | url = "github:edolstra/flake-compat"; 15 | flake = false; 16 | }; 17 | 18 | rust-overlay = { 19 | url = "github:oxalica/rust-overlay"; 20 | # All of these inputs (a.k.a. dependencies) need to align with inputs we 21 | # use so they use the `inputs.*.follows` syntax to reference our inputs 22 | inputs = { 23 | nixpkgs.follows = "nixpkgs"; 24 | flake-utils.follows = "flake-utils"; 25 | }; 26 | }; 27 | 28 | crane = { 29 | url = "github:ipetkov/crane"; 30 | # All of these inputs (a.k.a. dependencies) need to align with inputs we 31 | # use so they use the `inputs.*.follows` syntax to reference our inputs 32 | inputs = { 33 | nixpkgs.follows = "nixpkgs"; 34 | flake-utils.follows = "flake-utils"; 35 | flake-compat.follows = "flake-compat"; 36 | rust-overlay.follows = "rust-overlay"; 37 | }; 38 | }; 39 | 40 | barretenberg = { 41 | url = "github:AztecProtocol/barretenberg?ref=barretenberg-v0.4.6"; 42 | # All of these inputs (a.k.a. dependencies) need to align with inputs we 43 | # use so they use the `inputs.*.follows` syntax to reference our inputs 44 | inputs = { 45 | nixpkgs.follows = "nixpkgs"; 46 | flake-utils.follows = "flake-utils"; 47 | }; 48 | }; 49 | }; 50 | 51 | outputs = 52 | { self, nixpkgs, crane, flake-utils, rust-overlay, barretenberg, ... }: 53 | flake-utils.lib.eachDefaultSystem (system: 54 | let 55 | pkgs = import nixpkgs { 56 | inherit system; 57 | overlays = [ 58 | rust-overlay.overlays.default 59 | barretenberg.overlays.default 60 | ]; 61 | }; 62 | 63 | rustToolchain = pkgs.rust-bin.stable."1.66.0".default.override { 64 | # We include rust-src to ensure rust-analyzer works. 65 | # See https://discourse.nixos.org/t/rust-src-not-found-and-other-misadventures-of-developing-rust-on-nixos/11570/4 66 | extensions = [ "rust-src" ]; 67 | }; 68 | 69 | craneLib = (crane.mkLib pkgs).overrideToolchain rustToolchain; 70 | 71 | sharedEnvironment = { 72 | # Barretenberg fails if tests are run on multiple threads, so we set the test thread 73 | # count to 1 throughout the entire project 74 | # 75 | # Note: Setting this allows for consistent behavior across build and shells, but is mostly 76 | # hidden from the developer - i.e. when they see the command being run via `nix flake check` 77 | RUST_TEST_THREADS = "1"; 78 | }; 79 | 80 | # We use `include_str!` macro to embed the solidity verifier template so we need to create a special 81 | # source filter to include .sol files in addition to usual rust/cargo source files. 82 | solidityFilter = path: _type: builtins.match ".*sol$" path != null; 83 | # We use `.bytecode` and `.tr` files to test interactions with `bb` so we add a source filter to include these. 84 | bytecodeFilter = path: _type: builtins.match ".*bytecode$" path != null; 85 | witnessFilter = path: _type: builtins.match ".*tr$" path != null; 86 | sourceFilter = path: type: 87 | (solidityFilter path type) || (bytecodeFilter path type)|| (witnessFilter path type) || (craneLib.filterCargoSources path type); 88 | 89 | # As per https://discourse.nixos.org/t/gcc11stdenv-and-clang/17734/7 since it seems that aarch64-linux uses 90 | # gcc9 instead of gcc11 for the C++ stdlib, while all other targets we support provide the correct libstdc++ 91 | stdenv = 92 | if (pkgs.stdenv.targetPlatform.isGnu && pkgs.stdenv.targetPlatform.isAarch64) then 93 | pkgs.overrideCC pkgs.llvmPackages.stdenv (pkgs.llvmPackages.clang.override { gccForLibs = pkgs.gcc11.cc; }) 94 | else 95 | pkgs.llvmPackages.stdenv; 96 | 97 | extraBuildInputs = pkgs.lib.optionals pkgs.stdenv.isDarwin [ 98 | # Need libiconv and apple Security on Darwin. See https://github.com/ipetkov/crane/issues/156 99 | pkgs.libiconv 100 | pkgs.darwin.apple_sdk.frameworks.Security 101 | ] ++ [ 102 | # Need to install various packages used by the `bb` binary. 103 | pkgs.curl 104 | stdenv.cc.cc.lib 105 | pkgs.gcc.cc.lib 106 | pkgs.gzip 107 | ]; 108 | 109 | commonArgs = { 110 | pname = "acvm-backend-barretenberg"; 111 | # x-release-please-start-version 112 | version = "0.12.0"; 113 | # x-release-please-end 114 | 115 | src = pkgs.lib.cleanSourceWith { 116 | src = craneLib.path ./.; 117 | filter = sourceFilter; 118 | }; 119 | 120 | # Running checks don't do much more than compiling itself and increase 121 | # the build time by a lot, so we disable them throughout all our flakes 122 | doCheck = false; 123 | }; 124 | 125 | # Combine the environment and other configuration needed for crane to build with the native feature 126 | nativeArgs = sharedEnvironment // commonArgs // { 127 | # Use our custom stdenv to build and test our Rust project 128 | inherit stdenv; 129 | 130 | nativeBuildInputs = pkgs.lib.optionals stdenv.isLinux [ 131 | # This is linux specific and used to patch the rpath and interpreter of the bb binary 132 | pkgs.patchelf 133 | ]; 134 | 135 | buildInputs = [ 136 | pkgs.llvmPackages.openmp 137 | ] ++ extraBuildInputs; 138 | }; 139 | 140 | # Conditionally download the binary based on whether it is linux or mac 141 | bb_binary = let 142 | platformSpecificUrl = if stdenv.hostPlatform.isLinux then 143 | "https://github.com/AztecProtocol/barretenberg/releases/download/barretenberg-v0.4.6/barretenberg-x86_64-linux-gnu.tar.gz" 144 | else if stdenv.hostPlatform.isDarwin then 145 | "https://github.com/AztecProtocol/barretenberg/releases/download/barretenberg-v0.4.6/barretenberg-x86_64-apple-darwin.tar.gz" 146 | else 147 | throw "Unsupported platform"; 148 | 149 | platformSpecificHash = if stdenv.hostPlatform.isLinux then 150 | "sha256:1p15v6rvf9195047pfbw8dns3z6s54q4c9hgbxan72lhjjgjz800" 151 | else if stdenv.hostPlatform.isDarwin then 152 | "sha256:03d9rsmhvzaz7ni8ac9hf3adc2dw57nv6q406v4l49g1rd354dm0" 153 | else 154 | throw "Unsupported platform"; 155 | in builtins.fetchurl { 156 | url = platformSpecificUrl; 157 | sha256 = platformSpecificHash; 158 | }; 159 | 160 | 161 | # The `port` is parameterized to support parallel test runs without colliding static servers 162 | networkTestArgs = port: { 163 | BB_BINARY_PATH = "./backend_binary"; 164 | 165 | BB_BINARY_URL = "http://0.0.0.0:${toString port}/${builtins.baseNameOf bb_binary}"; 166 | 167 | BARRETENBERG_TRANSCRIPT_URL = "http://0.0.0.0:${toString port}/${builtins.baseNameOf pkgs.barretenberg-transcript00}"; 168 | 169 | preCheck = '' 170 | echo "Extracting bb binary" 171 | mkdir extracted 172 | tar -xf ${bb_binary} -C extracted 173 | cp extracted/bb ./backend_binary 174 | 175 | # Conditionally patch the binary for Linux 176 | ${if stdenv.hostPlatform.isLinux then '' 177 | echo "Patching bb binary for Linux" 178 | patchelf --set-rpath "${stdenv.cc.cc.lib}/lib:${pkgs.gcc.cc.lib}/lib" ./backend_binary 179 | patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux-x86-64.so.2 ./backend_binary 180 | '' else if stdenv.hostPlatform.isDarwin then '' 181 | '' else 182 | throw "Unsupported platform" 183 | } 184 | 185 | cp ${pkgs.barretenberg-transcript00} . 186 | echo "Starting simple static server" 187 | ${pkgs.simple-http-server}/bin/simple-http-server --port ${toString port} --silent & 188 | HTTP_SERVER_PID=$! 189 | ''; 190 | 191 | postCheck = '' 192 | kill $HTTP_SERVER_PID 193 | ''; 194 | }; 195 | 196 | # Build *just* the cargo dependencies, so we can reuse all of that work between runs 197 | native-cargo-artifacts = craneLib.buildDepsOnly nativeArgs; 198 | 199 | acvm-backend-barretenberg-native = craneLib.buildPackage (nativeArgs // { 200 | cargoArtifacts = native-cargo-artifacts; 201 | }); 202 | in 203 | rec { 204 | checks = { 205 | cargo-clippy-native = craneLib.cargoClippy (nativeArgs // { 206 | # Crane appends "clippy" 207 | pname = "native"; 208 | 209 | cargoArtifacts = native-cargo-artifacts; 210 | 211 | cargoClippyExtraArgs = "--all-targets -- -D warnings"; 212 | }); 213 | 214 | cargo-test-native = craneLib.cargoTest (nativeArgs // (networkTestArgs 8000) // { 215 | # Crane appends "test" 216 | pname = "native"; 217 | 218 | cargoArtifacts = native-cargo-artifacts; 219 | 220 | # It's unclear why doCheck needs to be enabled for tests to run but not clippy 221 | doCheck = true; 222 | }); 223 | }; 224 | 225 | packages = { 226 | inherit acvm-backend-barretenberg-native; 227 | 228 | default = acvm-backend-barretenberg-native; 229 | 230 | # We expose the `*-cargo-artifacts` derivations so we can cache our cargo dependencies in CI 231 | inherit native-cargo-artifacts; 232 | }; 233 | 234 | # Setup the environment to match the stdenv from `nix build` & `nix flake check`, and 235 | # combine it with the environment settings, the inputs from our checks derivations, 236 | # and extra tooling via `nativeBuildInputs` 237 | devShells.default = pkgs.mkShell.override { inherit stdenv; } (sharedEnvironment // { 238 | inputsFrom = builtins.attrValues checks; 239 | 240 | nativeBuildInputs = with pkgs; [ 241 | curl 242 | gzip 243 | which 244 | starship 245 | git 246 | nil 247 | nixpkgs-fmt 248 | llvmPackages.lldb # This ensures the right lldb is in the environment for running rust-lldb 249 | ]; 250 | 251 | shellHook = '' 252 | eval "$(starship init bash)" 253 | ''; 254 | }); 255 | }); 256 | } 257 | -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## [0.12.0](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.11.0...v0.12.0) (2023-08-30) 4 | 5 | 6 | ### ⚠ BREAKING CHANGES 7 | 8 | * Call backend via precompiled binaries ([#239](https://github.com/noir-lang/acvm-backend-barretenberg/issues/239)) 9 | 10 | ### Features 11 | 12 | * Call backend via precompiled binaries ([#239](https://github.com/noir-lang/acvm-backend-barretenberg/issues/239)) ([f42b5ee](https://github.com/noir-lang/acvm-backend-barretenberg/commit/f42b5ee9a57ccf0b81b90485d2aca1316ad970ce)) 13 | 14 | ## [0.11.0](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.10.1...v0.11.0) (2023-08-18) 15 | 16 | 17 | ### ⚠ BREAKING CHANGES 18 | 19 | * Update `acvm` to 0.22.0 ([#240](https://github.com/noir-lang/acvm-backend-barretenberg/issues/240)) 20 | 21 | ### Features 22 | 23 | * Update `acvm` to 0.22.0 ([#240](https://github.com/noir-lang/acvm-backend-barretenberg/issues/240)) ([d8342fd](https://github.com/noir-lang/acvm-backend-barretenberg/commit/d8342fd6da605ac3bbd889edf89cd122bc4689ce)) 24 | 25 | ## [0.10.1](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.10.0...v0.10.1) (2023-08-18) 26 | 27 | 28 | ### Features 29 | 30 | * Migrate to `wasmer` 3.3.0 ([#236](https://github.com/noir-lang/acvm-backend-barretenberg/issues/236)) ([e115e38](https://github.com/noir-lang/acvm-backend-barretenberg/commit/e115e38856887c6b1eeead3534534ac7e6327ea9)) 31 | 32 | ## [0.10.0](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.9.1...v0.10.0) (2023-07-26) 33 | 34 | 35 | ### ⚠ BREAKING CHANGES 36 | 37 | * Migrate to ACVM 0.21.0 ([#234](https://github.com/noir-lang/acvm-backend-barretenberg/issues/234)) 38 | 39 | ### Features 40 | 41 | * Migrate to ACVM 0.21.0 ([#234](https://github.com/noir-lang/acvm-backend-barretenberg/issues/234)) ([15c8676](https://github.com/noir-lang/acvm-backend-barretenberg/commit/15c86768685d2946a767c350f6ef5972c86677eb)) 42 | 43 | ## [0.9.1](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.9.0...v0.9.1) (2023-07-21) 44 | 45 | 46 | ### Features 47 | 48 | * add support for atomic memory opcodes ([#232](https://github.com/noir-lang/acvm-backend-barretenberg/issues/232)) ([a7aa6e9](https://github.com/noir-lang/acvm-backend-barretenberg/commit/a7aa6e9505bb402c1b3db0a990845ed26928e7aa)) 49 | 50 | ## [0.9.0](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.8.0...v0.9.0) (2023-07-17) 51 | 52 | 53 | ### ⚠ BREAKING CHANGES 54 | 55 | * update to ACVM 0.19.0 ([#230](https://github.com/noir-lang/acvm-backend-barretenberg/issues/230)) 56 | 57 | ### Miscellaneous Chores 58 | 59 | * update to ACVM 0.19.0 ([#230](https://github.com/noir-lang/acvm-backend-barretenberg/issues/230)) ([3f1d967](https://github.com/noir-lang/acvm-backend-barretenberg/commit/3f1d9674b904acb02c2a3e52481be8a6104c3a9d)) 60 | 61 | ## [0.8.0](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.7.0...v0.8.0) (2023-07-12) 62 | 63 | 64 | ### ⚠ BREAKING CHANGES 65 | 66 | * Update to acvm 0.18.1 ([#228](https://github.com/noir-lang/acvm-backend-barretenberg/issues/228)) 67 | 68 | ### Features 69 | 70 | * Update to acvm 0.18.1 ([#228](https://github.com/noir-lang/acvm-backend-barretenberg/issues/228)) ([397098b](https://github.com/noir-lang/acvm-backend-barretenberg/commit/397098b239efbe16785b1c9af108ca9fc4e24497)) 71 | 72 | ## [0.7.0](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.6.1...v0.7.0) (2023-07-08) 73 | 74 | 75 | ### ⚠ BREAKING CHANGES 76 | 77 | * **bberg:** add secp256r1 builtin to barretenberg ([#223](https://github.com/noir-lang/acvm-backend-barretenberg/issues/223)) 78 | 79 | ### Features 80 | 81 | * **bberg:** add secp256r1 builtin to barretenberg ([#223](https://github.com/noir-lang/acvm-backend-barretenberg/issues/223)) ([ceb4770](https://github.com/noir-lang/acvm-backend-barretenberg/commit/ceb47705a492fcdcea1f3c098aaab42ea8edbf2e)) 82 | 83 | ## [0.6.1](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.6.0...v0.6.1) (2023-07-06) 84 | 85 | 86 | ### Features 87 | 88 | * switch RecursiveAggregation support to true ([#225](https://github.com/noir-lang/acvm-backend-barretenberg/issues/225)) ([e9462ae](https://github.com/noir-lang/acvm-backend-barretenberg/commit/e9462ae015ec0dfb0a23ccbb89562071f87940f5)) 89 | 90 | ## [0.6.0](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.5.1...v0.6.0) (2023-07-06) 91 | 92 | 93 | ### ⚠ BREAKING CHANGES 94 | 95 | * Update to ACVM 0.16.0 ([#221](https://github.com/noir-lang/acvm-backend-barretenberg/issues/221)) 96 | 97 | ### Features 98 | 99 | * Update to ACVM 0.16.0 ([#221](https://github.com/noir-lang/acvm-backend-barretenberg/issues/221)) ([062d5ed](https://github.com/noir-lang/acvm-backend-barretenberg/commit/062d5ed9b476fab8ac8d3ca13371699fb2aac332)) 100 | 101 | ## [0.5.1](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.5.0...v0.5.1) (2023-06-20) 102 | 103 | 104 | ### Bug Fixes 105 | 106 | * Remove wasm32 target ([#219](https://github.com/noir-lang/acvm-backend-barretenberg/issues/219)) ([e4cbb6d](https://github.com/noir-lang/acvm-backend-barretenberg/commit/e4cbb6d476e8746de33c38506e2fcb970f1c866a)) 107 | 108 | ## [0.5.0](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.4.0...v0.5.0) (2023-06-15) 109 | 110 | 111 | ### ⚠ BREAKING CHANGES 112 | 113 | * Update to target ACVM 0.15.0 ([#217](https://github.com/noir-lang/acvm-backend-barretenberg/issues/217)) 114 | 115 | ### Features 116 | 117 | * Update to target ACVM 0.15.0 ([#217](https://github.com/noir-lang/acvm-backend-barretenberg/issues/217)) ([9331898](https://github.com/noir-lang/acvm-backend-barretenberg/commit/9331898f161321c8b6a82d5ea850f197952b2ed2)) 118 | 119 | ## [0.4.0](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.3.0...v0.4.0) (2023-06-07) 120 | 121 | 122 | ### ⚠ BREAKING CHANGES 123 | 124 | * Recursion ([#207](https://github.com/noir-lang/acvm-backend-barretenberg/issues/207)) 125 | 126 | ### Features 127 | 128 | * Recursion ([#207](https://github.com/noir-lang/acvm-backend-barretenberg/issues/207)) ([6fc479b](https://github.com/noir-lang/acvm-backend-barretenberg/commit/6fc479b9ae99d59bbfeb1b895d63cdbea469dcaa)) 129 | 130 | ## [0.3.0](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.2.0...v0.3.0) (2023-06-01) 131 | 132 | 133 | ### ⚠ BREAKING CHANGES 134 | 135 | * Update to ACVM 0.13.0 ([#205](https://github.com/noir-lang/acvm-backend-barretenberg/issues/205)) 136 | * added keccakvar constraints ([#213](https://github.com/noir-lang/acvm-backend-barretenberg/issues/213)) 137 | * update pedersen hashes for new implementation ([#212](https://github.com/noir-lang/acvm-backend-barretenberg/issues/212)) 138 | 139 | ### Features 140 | 141 | * added keccakvar constraints ([91ea65f](https://github.com/noir-lang/acvm-backend-barretenberg/commit/91ea65f6af7039095c7a3af7bc1e4ce302a68a8d)) 142 | * added keccakvar constraints ([#213](https://github.com/noir-lang/acvm-backend-barretenberg/issues/213)) ([91ea65f](https://github.com/noir-lang/acvm-backend-barretenberg/commit/91ea65f6af7039095c7a3af7bc1e4ce302a68a8d)) 143 | * Update to ACVM 0.13.0 ([#205](https://github.com/noir-lang/acvm-backend-barretenberg/issues/205)) ([298446e](https://github.com/noir-lang/acvm-backend-barretenberg/commit/298446ef8b69f528b6e2fd2abb2298d7b0a8118e)) 144 | 145 | 146 | ### Bug Fixes 147 | 148 | * Add or cleanup implementations for JS target ([#199](https://github.com/noir-lang/acvm-backend-barretenberg/issues/199)) ([f6134b7](https://github.com/noir-lang/acvm-backend-barretenberg/commit/f6134b7b502cb74882300b0046ab91ab000daf3c)) 149 | * update pedersen hashes for new impl ([9a233ce](https://github.com/noir-lang/acvm-backend-barretenberg/commit/9a233ce8db9984b29b9cce0603f758d5281c89c9)) 150 | * update pedersen hashes for new implementation ([#212](https://github.com/noir-lang/acvm-backend-barretenberg/issues/212)) ([9a233ce](https://github.com/noir-lang/acvm-backend-barretenberg/commit/9a233ce8db9984b29b9cce0603f758d5281c89c9)) 151 | 152 | ## [0.2.0](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.1.2...v0.2.0) (2023-05-22) 153 | 154 | 155 | ### ⚠ BREAKING CHANGES 156 | 157 | * Update to acvm 0.12.0 ([#165](https://github.com/noir-lang/acvm-backend-barretenberg/issues/165)) 158 | * Add serialization logic for RAM and ROM opcodes ([#153](https://github.com/noir-lang/acvm-backend-barretenberg/issues/153)) 159 | 160 | ### Features 161 | 162 | * Add serde to `ConstraintSystem` types ([#196](https://github.com/noir-lang/acvm-backend-barretenberg/issues/196)) ([4c04a79](https://github.com/noir-lang/acvm-backend-barretenberg/commit/4c04a79e6d2b0115f3b4526c60f9f7dae8b464ae)) 163 | * Add serialization logic for RAM and ROM opcodes ([#153](https://github.com/noir-lang/acvm-backend-barretenberg/issues/153)) ([3d3847d](https://github.com/noir-lang/acvm-backend-barretenberg/commit/3d3847de70e74a8f65c64e165ad15ae3d31f5350)) 164 | * Update to acvm 0.12.0 ([#165](https://github.com/noir-lang/acvm-backend-barretenberg/issues/165)) ([d613c79](https://github.com/noir-lang/acvm-backend-barretenberg/commit/d613c79584a599f4adbd11d2ce3b61403c185b73)) 165 | 166 | ## [0.1.2](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.1.1...v0.1.2) (2023-05-11) 167 | 168 | 169 | ### Bug Fixes 170 | 171 | * Remove star dependencies to allow publishing ([#182](https://github.com/noir-lang/acvm-backend-barretenberg/issues/182)) ([1727a79](https://github.com/noir-lang/acvm-backend-barretenberg/commit/1727a79ce7e66d95528f70c445cb4ec1b1ece636)) 172 | 173 | ## [0.1.1](https://github.com/noir-lang/acvm-backend-barretenberg/compare/v0.1.0...v0.1.1) (2023-05-11) 174 | 175 | 176 | ### Bug Fixes 177 | 178 | * Add description so crate can be published ([#180](https://github.com/noir-lang/acvm-backend-barretenberg/issues/180)) ([caabf94](https://github.com/noir-lang/acvm-backend-barretenberg/commit/caabf9434031c6023a5e3a436c87fba0a1072539)) 179 | 180 | ## 0.1.0 (2023-05-10) 181 | 182 | 183 | ### ⚠ BREAKING CHANGES 184 | 185 | * Update to ACVM v0.11.0 ([#151](https://github.com/noir-lang/acvm-backend-barretenberg/issues/151)) 186 | * Add Keccak constraints ([#150](https://github.com/noir-lang/acvm-backend-barretenberg/issues/150)) 187 | * migrate to ACVM 0.10.3 ([#148](https://github.com/noir-lang/acvm-backend-barretenberg/issues/148)) 188 | * remove all crates other than `acvm-backend-barretenberg` and remove workspace ([#147](https://github.com/noir-lang/acvm-backend-barretenberg/issues/147)) 189 | * merge `barretenberg_static_lib` and `barretenberg_wasm` ([#117](https://github.com/noir-lang/acvm-backend-barretenberg/issues/117)) 190 | * remove dead blake2 code ([#137](https://github.com/noir-lang/acvm-backend-barretenberg/issues/137)) 191 | * Implement pseudo-builder pattern for ConstraintSystem & hide struct fields ([#120](https://github.com/noir-lang/acvm-backend-barretenberg/issues/120)) 192 | * return boolean rather than `FieldElement` from `verify_signature` ([#123](https://github.com/noir-lang/acvm-backend-barretenberg/issues/123)) 193 | * avoid exposing internals of Assignments type ([#119](https://github.com/noir-lang/acvm-backend-barretenberg/issues/119)) 194 | * update to acvm 0.9.0 ([#106](https://github.com/noir-lang/acvm-backend-barretenberg/issues/106)) 195 | * Depend upon upstream barretenberg & switch to UltraPlonk ([#84](https://github.com/noir-lang/acvm-backend-barretenberg/issues/84)) 196 | * update to ACVM 0.7.0 ([#90](https://github.com/noir-lang/acvm-backend-barretenberg/issues/90)) 197 | * Remove create_proof and verify functions ([#82](https://github.com/noir-lang/acvm-backend-barretenberg/issues/82)) 198 | * update to acvm v0.5.0 ([#60](https://github.com/noir-lang/acvm-backend-barretenberg/issues/60)) 199 | 200 | ### Features 201 | 202 | * **acvm_interop:** Updates to reflect new acvm methods using pk/vk ([#50](https://github.com/noir-lang/acvm-backend-barretenberg/issues/50)) ([cff757d](https://github.com/noir-lang/acvm-backend-barretenberg/commit/cff757dca7971161e4bd25e7a744d910c37c22be)) 203 | * Add Keccak constraints ([#150](https://github.com/noir-lang/acvm-backend-barretenberg/issues/150)) ([ce2b9ed](https://github.com/noir-lang/acvm-backend-barretenberg/commit/ce2b9ed456bd8d2ad8357c15736d62c2a5812add)) 204 | * allow overriding transcript location with BARRETENBERG_TRANSCRIPT env var ([#86](https://github.com/noir-lang/acvm-backend-barretenberg/issues/86)) ([af92b99](https://github.com/noir-lang/acvm-backend-barretenberg/commit/af92b99c7b5f37e9659931af378a851b3658a80b)) 205 | * **ci:** add concurrency group for rust workflow ([#63](https://github.com/noir-lang/acvm-backend-barretenberg/issues/63)) ([5c936bc](https://github.com/noir-lang/acvm-backend-barretenberg/commit/5c936bc63cc3adcf9d43c9c4ce69053566089ad9)) 206 | * Depend upon upstream barretenberg & switch to UltraPlonk ([#84](https://github.com/noir-lang/acvm-backend-barretenberg/issues/84)) ([8437bf7](https://github.com/noir-lang/acvm-backend-barretenberg/commit/8437bf7e08acadf43b55b307545336596a9fe766)) 207 | * Implement pseudo-builder pattern for ConstraintSystem & hide struct fields ([#120](https://github.com/noir-lang/acvm-backend-barretenberg/issues/120)) ([8ed67d6](https://github.com/noir-lang/acvm-backend-barretenberg/commit/8ed67d68c71d655e1a6a5c38fa9ea1c3566f771d)) 208 | * Leverage rustls when using downloader crate ([#46](https://github.com/noir-lang/acvm-backend-barretenberg/issues/46)) ([9de36b6](https://github.com/noir-lang/acvm-backend-barretenberg/commit/9de36b642d125d1fb4facd1bf60db67946be70ae)) 209 | * merge `barretenberg_static_lib` and `barretenberg_wasm` ([#117](https://github.com/noir-lang/acvm-backend-barretenberg/issues/117)) ([ba1d0d6](https://github.com/noir-lang/acvm-backend-barretenberg/commit/ba1d0d61b94de91b15044d97608907c21bfb5299)) 210 | * migrate to ACVM 0.10.3 ([#148](https://github.com/noir-lang/acvm-backend-barretenberg/issues/148)) ([c9fb9e8](https://github.com/noir-lang/acvm-backend-barretenberg/commit/c9fb9e806f1400a2ff7594a0669bec56025220bb)) 211 | * remove all crates other than `acvm-backend-barretenberg` and remove workspace ([#147](https://github.com/noir-lang/acvm-backend-barretenberg/issues/147)) ([8fe7111](https://github.com/noir-lang/acvm-backend-barretenberg/commit/8fe7111ebdcb043764a83436744662e8c3ca5abc)) 212 | * remove dead blake2 code ([#137](https://github.com/noir-lang/acvm-backend-barretenberg/issues/137)) ([14d8a5b](https://github.com/noir-lang/acvm-backend-barretenberg/commit/14d8a5b893eb1cb91d5bde908643b487b41809d6)) 213 | * replace `downloader` dependency with `reqwest` ([#114](https://github.com/noir-lang/acvm-backend-barretenberg/issues/114)) ([dd62231](https://github.com/noir-lang/acvm-backend-barretenberg/commit/dd62231b8bfcee32e1029d31a07895b16159339c)) 214 | * return boolean from `verify_signature` ([e560602](https://github.com/noir-lang/acvm-backend-barretenberg/commit/e560602ebbd547386ca4cab35735ffa92e98ac4b)) 215 | * return boolean rather than `FieldElement` from `check_membership` ([#124](https://github.com/noir-lang/acvm-backend-barretenberg/issues/124)) ([a0a338e](https://github.com/noir-lang/acvm-backend-barretenberg/commit/a0a338e2295635a07f6b9e497c029160a5f323bc)) 216 | * return boolean rather than `FieldElement` from `verify_signature` ([#123](https://github.com/noir-lang/acvm-backend-barretenberg/issues/123)) ([e560602](https://github.com/noir-lang/acvm-backend-barretenberg/commit/e560602ebbd547386ca4cab35735ffa92e98ac4b)) 217 | * store transcript in `.nargo/backends` directory ([#91](https://github.com/noir-lang/acvm-backend-barretenberg/issues/91)) ([c6b5023](https://github.com/noir-lang/acvm-backend-barretenberg/commit/c6b50231da065e7550bfe8bddf8e46f4cd8002d7)) 218 | * update `aztec_backend_wasm` to use new serialization ([#94](https://github.com/noir-lang/acvm-backend-barretenberg/issues/94)) ([28014d8](https://github.com/noir-lang/acvm-backend-barretenberg/commit/28014d803d052a7f459e03dbd7b5b9210449b1d0)) 219 | * update to acvm 0.9.0 ([#106](https://github.com/noir-lang/acvm-backend-barretenberg/issues/106)) ([ff350fb](https://github.com/noir-lang/acvm-backend-barretenberg/commit/ff350fb111043964b8a14fc0df62508c87506423)) 220 | * Update to ACVM v0.11.0 ([#151](https://github.com/noir-lang/acvm-backend-barretenberg/issues/151)) ([9202415](https://github.com/noir-lang/acvm-backend-barretenberg/commit/92024155532e15f25acb2f3ed8d5ca78da0fddd9)) 221 | * update to acvm v0.5.0 ([#60](https://github.com/noir-lang/acvm-backend-barretenberg/issues/60)) ([74b4d8d](https://github.com/noir-lang/acvm-backend-barretenberg/commit/74b4d8d8b118e4477880c04149e5e9d93d388384)) 222 | 223 | 224 | ### Bug Fixes 225 | 226 | * Avoid exposing internals of Assignments type ([614c81b](https://github.com/noir-lang/acvm-backend-barretenberg/commit/614c81b0ea5e110bbf5a61a526bb0173f4fe377a)) 227 | * avoid exposing internals of Assignments type ([#119](https://github.com/noir-lang/acvm-backend-barretenberg/issues/119)) ([614c81b](https://github.com/noir-lang/acvm-backend-barretenberg/commit/614c81b0ea5e110bbf5a61a526bb0173f4fe377a)) 228 | * fix serialisation of arithmetic expressions ([#145](https://github.com/noir-lang/acvm-backend-barretenberg/issues/145)) ([7f42535](https://github.com/noir-lang/acvm-backend-barretenberg/commit/7f4253570257d9dedcfa8c8fb96b9d097ef06419)) 229 | * Implement random_get for wasm backend ([#102](https://github.com/noir-lang/acvm-backend-barretenberg/issues/102)) ([9c0f06e](https://github.com/noir-lang/acvm-backend-barretenberg/commit/9c0f06ef56f23e2b5794e810f433e36ff2c5d6b5)) 230 | * rename gates to opcodes ([#59](https://github.com/noir-lang/acvm-backend-barretenberg/issues/59)) ([6e05307](https://github.com/noir-lang/acvm-backend-barretenberg/commit/6e053072d8b9c5d93c296f10782251ccb597f902)) 231 | * reorganize and ensure contracts can be compiled in Remix ([#112](https://github.com/noir-lang/acvm-backend-barretenberg/issues/112)) ([7ec5693](https://github.com/noir-lang/acvm-backend-barretenberg/commit/7ec5693f194a79c379ae2952bc17a31ee63a42b9)) 232 | * replace `serialize_circuit` function with `from<&Circuit>` ([#118](https://github.com/noir-lang/acvm-backend-barretenberg/issues/118)) ([94f83a7](https://github.com/noir-lang/acvm-backend-barretenberg/commit/94f83a78e32d91dfb7ae9824923695d9b4c425b0)) 233 | * Replace serialize_circuit function with `from<&Circuit>` ([94f83a7](https://github.com/noir-lang/acvm-backend-barretenberg/commit/94f83a78e32d91dfb7ae9824923695d9b4c425b0)) 234 | * Update bb-sys to resolve bugs in some environments ([#129](https://github.com/noir-lang/acvm-backend-barretenberg/issues/129)) ([e3d4504](https://github.com/noir-lang/acvm-backend-barretenberg/commit/e3d4504f15e1295e637c4da80b1d08c87c267c45)) 235 | * Update dependency containing pk write fix for large general circuits ([#78](https://github.com/noir-lang/acvm-backend-barretenberg/issues/78)) ([2cb523d](https://github.com/noir-lang/acvm-backend-barretenberg/commit/2cb523d2ab95249157b22e198d9dcd6841c3eed8)) 236 | * Update to bb-sys 0.1.1 and update bb in lockfile ([00bb157](https://github.com/noir-lang/acvm-backend-barretenberg/commit/00bb15779dfb64539eeb3f3bb4c4deeba106f2fe)) 237 | * update to bb-sys 0.1.1 and update bb in lockfile ([#111](https://github.com/noir-lang/acvm-backend-barretenberg/issues/111)) ([00bb157](https://github.com/noir-lang/acvm-backend-barretenberg/commit/00bb15779dfb64539eeb3f3bb4c4deeba106f2fe)) 238 | * use `Barretenberg.call` to query circuit size from wasm ([#121](https://github.com/noir-lang/acvm-backend-barretenberg/issues/121)) ([a775af1](https://github.com/noir-lang/acvm-backend-barretenberg/commit/a775af14137cc7bc2e9d8a063fa718a5a9abe6cb)) 239 | 240 | 241 | ### Miscellaneous Chores 242 | 243 | * Remove create_proof and verify functions ([#82](https://github.com/noir-lang/acvm-backend-barretenberg/issues/82)) ([ad0c422](https://github.com/noir-lang/acvm-backend-barretenberg/commit/ad0c4228488457bd155ff381186ecf583f18bfac)) 244 | * update to ACVM 0.7.0 ([#90](https://github.com/noir-lang/acvm-backend-barretenberg/issues/90)) ([6c03687](https://github.com/noir-lang/acvm-backend-barretenberg/commit/6c036870a6a8e26612ab8b4f90a162f7540b42e2)) 245 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Cargo. 2 | # It is not intended for manual editing. 3 | version = 3 4 | 5 | [[package]] 6 | name = "acir" 7 | version = "0.23.0" 8 | source = "registry+https://github.com/rust-lang/crates.io-index" 9 | checksum = "2dab15381940b2eb3ecca70e78adcfb547df5b49123b2872c2333b0ee965beae" 10 | dependencies = [ 11 | "acir_field", 12 | "bincode", 13 | "brillig", 14 | "flate2", 15 | "serde", 16 | "thiserror", 17 | ] 18 | 19 | [[package]] 20 | name = "acir_field" 21 | version = "0.23.0" 22 | source = "registry+https://github.com/rust-lang/crates.io-index" 23 | checksum = "16ae84a2d0f6e5087a499c56d41ca8227fd26abea01b527694c601b230b27111" 24 | dependencies = [ 25 | "ark-bn254", 26 | "ark-ff", 27 | "cfg-if", 28 | "hex", 29 | "num-bigint", 30 | "serde", 31 | ] 32 | 33 | [[package]] 34 | name = "acvm" 35 | version = "0.23.0" 36 | source = "registry+https://github.com/rust-lang/crates.io-index" 37 | checksum = "1cc5bd62182c728ec5d3a080319765b0c86f294fc74f90fd6657008ae789d797" 38 | dependencies = [ 39 | "acir", 40 | "acvm_blackbox_solver", 41 | "acvm_stdlib", 42 | "brillig_vm", 43 | "indexmap", 44 | "num-bigint", 45 | "num-traits", 46 | "thiserror", 47 | ] 48 | 49 | [[package]] 50 | name = "acvm-backend-barretenberg" 51 | version = "0.12.0" 52 | dependencies = [ 53 | "acvm", 54 | "base64", 55 | "build-target", 56 | "const_format", 57 | "dirs 5.0.1", 58 | "flate2", 59 | "reqwest", 60 | "tar", 61 | "tempfile", 62 | "thiserror", 63 | ] 64 | 65 | [[package]] 66 | name = "acvm_blackbox_solver" 67 | version = "0.23.0" 68 | source = "registry+https://github.com/rust-lang/crates.io-index" 69 | checksum = "b79e031466b5075260257a61359eb9775c5ef92dce27621af1c36bfd0a6eb511" 70 | dependencies = [ 71 | "acir", 72 | "blake2", 73 | "flate2", 74 | "getrandom", 75 | "js-sys", 76 | "k256", 77 | "p256", 78 | "pkg-config", 79 | "reqwest", 80 | "rust-embed", 81 | "sha2", 82 | "sha3", 83 | "tar", 84 | "thiserror", 85 | "wasm-bindgen-futures", 86 | "wasmer", 87 | ] 88 | 89 | [[package]] 90 | name = "acvm_stdlib" 91 | version = "0.23.0" 92 | source = "registry+https://github.com/rust-lang/crates.io-index" 93 | checksum = "1389b884c07b5eb0c15e5f5395317de060bcf1a6a5f476893c4d65f50de5de1f" 94 | dependencies = [ 95 | "acir", 96 | ] 97 | 98 | [[package]] 99 | name = "addr2line" 100 | version = "0.20.0" 101 | source = "registry+https://github.com/rust-lang/crates.io-index" 102 | checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3" 103 | dependencies = [ 104 | "gimli 0.27.3", 105 | ] 106 | 107 | [[package]] 108 | name = "adler" 109 | version = "1.0.2" 110 | source = "registry+https://github.com/rust-lang/crates.io-index" 111 | checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 112 | 113 | [[package]] 114 | name = "ahash" 115 | version = "0.7.6" 116 | source = "registry+https://github.com/rust-lang/crates.io-index" 117 | checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" 118 | dependencies = [ 119 | "getrandom", 120 | "once_cell", 121 | "version_check", 122 | ] 123 | 124 | [[package]] 125 | name = "ahash" 126 | version = "0.8.3" 127 | source = "registry+https://github.com/rust-lang/crates.io-index" 128 | checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" 129 | dependencies = [ 130 | "cfg-if", 131 | "once_cell", 132 | "version_check", 133 | ] 134 | 135 | [[package]] 136 | name = "aho-corasick" 137 | version = "1.0.4" 138 | source = "registry+https://github.com/rust-lang/crates.io-index" 139 | checksum = "6748e8def348ed4d14996fa801f4122cd763fff530258cdc03f64b25f89d3a5a" 140 | dependencies = [ 141 | "memchr", 142 | ] 143 | 144 | [[package]] 145 | name = "ark-bn254" 146 | version = "0.4.0" 147 | source = "registry+https://github.com/rust-lang/crates.io-index" 148 | checksum = "a22f4561524cd949590d78d7d4c5df8f592430d221f7f3c9497bbafd8972120f" 149 | dependencies = [ 150 | "ark-ec", 151 | "ark-ff", 152 | "ark-std", 153 | ] 154 | 155 | [[package]] 156 | name = "ark-ec" 157 | version = "0.4.2" 158 | source = "registry+https://github.com/rust-lang/crates.io-index" 159 | checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" 160 | dependencies = [ 161 | "ark-ff", 162 | "ark-poly", 163 | "ark-serialize", 164 | "ark-std", 165 | "derivative", 166 | "hashbrown 0.13.2", 167 | "itertools", 168 | "num-traits", 169 | "zeroize", 170 | ] 171 | 172 | [[package]] 173 | name = "ark-ff" 174 | version = "0.4.2" 175 | source = "registry+https://github.com/rust-lang/crates.io-index" 176 | checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" 177 | dependencies = [ 178 | "ark-ff-asm", 179 | "ark-ff-macros", 180 | "ark-serialize", 181 | "ark-std", 182 | "derivative", 183 | "digest", 184 | "itertools", 185 | "num-bigint", 186 | "num-traits", 187 | "paste", 188 | "rustc_version", 189 | "zeroize", 190 | ] 191 | 192 | [[package]] 193 | name = "ark-ff-asm" 194 | version = "0.4.2" 195 | source = "registry+https://github.com/rust-lang/crates.io-index" 196 | checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" 197 | dependencies = [ 198 | "quote", 199 | "syn 1.0.109", 200 | ] 201 | 202 | [[package]] 203 | name = "ark-ff-macros" 204 | version = "0.4.2" 205 | source = "registry+https://github.com/rust-lang/crates.io-index" 206 | checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" 207 | dependencies = [ 208 | "num-bigint", 209 | "num-traits", 210 | "proc-macro2", 211 | "quote", 212 | "syn 1.0.109", 213 | ] 214 | 215 | [[package]] 216 | name = "ark-poly" 217 | version = "0.4.2" 218 | source = "registry+https://github.com/rust-lang/crates.io-index" 219 | checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" 220 | dependencies = [ 221 | "ark-ff", 222 | "ark-serialize", 223 | "ark-std", 224 | "derivative", 225 | "hashbrown 0.13.2", 226 | ] 227 | 228 | [[package]] 229 | name = "ark-serialize" 230 | version = "0.4.2" 231 | source = "registry+https://github.com/rust-lang/crates.io-index" 232 | checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" 233 | dependencies = [ 234 | "ark-serialize-derive", 235 | "ark-std", 236 | "digest", 237 | "num-bigint", 238 | ] 239 | 240 | [[package]] 241 | name = "ark-serialize-derive" 242 | version = "0.4.2" 243 | source = "registry+https://github.com/rust-lang/crates.io-index" 244 | checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" 245 | dependencies = [ 246 | "proc-macro2", 247 | "quote", 248 | "syn 1.0.109", 249 | ] 250 | 251 | [[package]] 252 | name = "ark-std" 253 | version = "0.4.0" 254 | source = "registry+https://github.com/rust-lang/crates.io-index" 255 | checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" 256 | dependencies = [ 257 | "num-traits", 258 | "rand", 259 | ] 260 | 261 | [[package]] 262 | name = "arrayvec" 263 | version = "0.7.4" 264 | source = "registry+https://github.com/rust-lang/crates.io-index" 265 | checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" 266 | 267 | [[package]] 268 | name = "autocfg" 269 | version = "1.1.0" 270 | source = "registry+https://github.com/rust-lang/crates.io-index" 271 | checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 272 | 273 | [[package]] 274 | name = "backtrace" 275 | version = "0.3.68" 276 | source = "registry+https://github.com/rust-lang/crates.io-index" 277 | checksum = "4319208da049c43661739c5fade2ba182f09d1dc2299b32298d3a31692b17e12" 278 | dependencies = [ 279 | "addr2line", 280 | "cc", 281 | "cfg-if", 282 | "libc", 283 | "miniz_oxide", 284 | "object", 285 | "rustc-demangle", 286 | ] 287 | 288 | [[package]] 289 | name = "base16ct" 290 | version = "0.1.1" 291 | source = "registry+https://github.com/rust-lang/crates.io-index" 292 | checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" 293 | 294 | [[package]] 295 | name = "base64" 296 | version = "0.21.2" 297 | source = "registry+https://github.com/rust-lang/crates.io-index" 298 | checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" 299 | 300 | [[package]] 301 | name = "base64ct" 302 | version = "1.6.0" 303 | source = "registry+https://github.com/rust-lang/crates.io-index" 304 | checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" 305 | 306 | [[package]] 307 | name = "bincode" 308 | version = "1.3.3" 309 | source = "registry+https://github.com/rust-lang/crates.io-index" 310 | checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" 311 | dependencies = [ 312 | "serde", 313 | ] 314 | 315 | [[package]] 316 | name = "bitflags" 317 | version = "1.3.2" 318 | source = "registry+https://github.com/rust-lang/crates.io-index" 319 | checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 320 | 321 | [[package]] 322 | name = "bitflags" 323 | version = "2.4.0" 324 | source = "registry+https://github.com/rust-lang/crates.io-index" 325 | checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" 326 | 327 | [[package]] 328 | name = "bitvec" 329 | version = "1.0.1" 330 | source = "registry+https://github.com/rust-lang/crates.io-index" 331 | checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" 332 | dependencies = [ 333 | "funty", 334 | "radium", 335 | "tap", 336 | "wyz", 337 | ] 338 | 339 | [[package]] 340 | name = "blake2" 341 | version = "0.10.6" 342 | source = "registry+https://github.com/rust-lang/crates.io-index" 343 | checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe" 344 | dependencies = [ 345 | "digest", 346 | ] 347 | 348 | [[package]] 349 | name = "block-buffer" 350 | version = "0.10.4" 351 | source = "registry+https://github.com/rust-lang/crates.io-index" 352 | checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 353 | dependencies = [ 354 | "generic-array", 355 | ] 356 | 357 | [[package]] 358 | name = "brillig" 359 | version = "0.23.0" 360 | source = "registry+https://github.com/rust-lang/crates.io-index" 361 | checksum = "dd5fe44d05264a0d9a6d5c5dca8a6c976f3fcdfdfb0244d75e458bf13fcb8f21" 362 | dependencies = [ 363 | "acir_field", 364 | "serde", 365 | ] 366 | 367 | [[package]] 368 | name = "brillig_vm" 369 | version = "0.23.0" 370 | source = "registry+https://github.com/rust-lang/crates.io-index" 371 | checksum = "733be2c7fea117e0b0be985b9b99c15aeca01fb342528fac9c3f70a7f844ec50" 372 | dependencies = [ 373 | "acir", 374 | "acvm_blackbox_solver", 375 | "num-bigint", 376 | "num-traits", 377 | ] 378 | 379 | [[package]] 380 | name = "bstr" 381 | version = "1.6.0" 382 | source = "registry+https://github.com/rust-lang/crates.io-index" 383 | checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05" 384 | dependencies = [ 385 | "memchr", 386 | "serde", 387 | ] 388 | 389 | [[package]] 390 | name = "build-target" 391 | version = "0.4.0" 392 | source = "registry+https://github.com/rust-lang/crates.io-index" 393 | checksum = "832133bbabbbaa9fbdba793456a2827627a7d2b8fb96032fa1e7666d7895832b" 394 | 395 | [[package]] 396 | name = "bumpalo" 397 | version = "3.13.0" 398 | source = "registry+https://github.com/rust-lang/crates.io-index" 399 | checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" 400 | 401 | [[package]] 402 | name = "bytecheck" 403 | version = "0.6.11" 404 | source = "registry+https://github.com/rust-lang/crates.io-index" 405 | checksum = "8b6372023ac861f6e6dc89c8344a8f398fb42aaba2b5dbc649ca0c0e9dbcb627" 406 | dependencies = [ 407 | "bytecheck_derive", 408 | "ptr_meta", 409 | "simdutf8", 410 | ] 411 | 412 | [[package]] 413 | name = "bytecheck_derive" 414 | version = "0.6.11" 415 | source = "registry+https://github.com/rust-lang/crates.io-index" 416 | checksum = "a7ec4c6f261935ad534c0c22dbef2201b45918860eb1c574b972bd213a76af61" 417 | dependencies = [ 418 | "proc-macro2", 419 | "quote", 420 | "syn 1.0.109", 421 | ] 422 | 423 | [[package]] 424 | name = "byteorder" 425 | version = "1.4.3" 426 | source = "registry+https://github.com/rust-lang/crates.io-index" 427 | checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" 428 | 429 | [[package]] 430 | name = "bytes" 431 | version = "1.4.0" 432 | source = "registry+https://github.com/rust-lang/crates.io-index" 433 | checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" 434 | 435 | [[package]] 436 | name = "cc" 437 | version = "1.0.79" 438 | source = "registry+https://github.com/rust-lang/crates.io-index" 439 | checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" 440 | 441 | [[package]] 442 | name = "cfg-if" 443 | version = "1.0.0" 444 | source = "registry+https://github.com/rust-lang/crates.io-index" 445 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 446 | 447 | [[package]] 448 | name = "const-oid" 449 | version = "0.9.3" 450 | source = "registry+https://github.com/rust-lang/crates.io-index" 451 | checksum = "6340df57935414636969091153f35f68d9f00bbc8fb4a9c6054706c213e6c6bc" 452 | 453 | [[package]] 454 | name = "const_format" 455 | version = "0.2.31" 456 | source = "registry+https://github.com/rust-lang/crates.io-index" 457 | checksum = "c990efc7a285731f9a4378d81aff2f0e85a2c8781a05ef0f8baa8dac54d0ff48" 458 | dependencies = [ 459 | "const_format_proc_macros", 460 | ] 461 | 462 | [[package]] 463 | name = "const_format_proc_macros" 464 | version = "0.2.31" 465 | source = "registry+https://github.com/rust-lang/crates.io-index" 466 | checksum = "e026b6ce194a874cb9cf32cd5772d1ef9767cc8fcb5765948d74f37a9d8b2bf6" 467 | dependencies = [ 468 | "proc-macro2", 469 | "quote", 470 | "unicode-xid", 471 | ] 472 | 473 | [[package]] 474 | name = "corosensei" 475 | version = "0.1.4" 476 | source = "registry+https://github.com/rust-lang/crates.io-index" 477 | checksum = "80128832c58ea9cbd041d2a759ec449224487b2c1e400453d99d244eead87a8e" 478 | dependencies = [ 479 | "autocfg", 480 | "cfg-if", 481 | "libc", 482 | "scopeguard", 483 | "windows-sys 0.33.0", 484 | ] 485 | 486 | [[package]] 487 | name = "cpufeatures" 488 | version = "0.2.9" 489 | source = "registry+https://github.com/rust-lang/crates.io-index" 490 | checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" 491 | dependencies = [ 492 | "libc", 493 | ] 494 | 495 | [[package]] 496 | name = "cranelift-bforest" 497 | version = "0.91.1" 498 | source = "registry+https://github.com/rust-lang/crates.io-index" 499 | checksum = "2a2ab4512dfd3a6f4be184403a195f76e81a8a9f9e6c898e19d2dc3ce20e0115" 500 | dependencies = [ 501 | "cranelift-entity", 502 | ] 503 | 504 | [[package]] 505 | name = "cranelift-codegen" 506 | version = "0.91.1" 507 | source = "registry+https://github.com/rust-lang/crates.io-index" 508 | checksum = "98b022ed2a5913a38839dfbafe6cf135342661293b08049843362df4301261dc" 509 | dependencies = [ 510 | "arrayvec", 511 | "bumpalo", 512 | "cranelift-bforest", 513 | "cranelift-codegen-meta", 514 | "cranelift-codegen-shared", 515 | "cranelift-egraph", 516 | "cranelift-entity", 517 | "cranelift-isle", 518 | "gimli 0.26.2", 519 | "log", 520 | "regalloc2", 521 | "smallvec", 522 | "target-lexicon", 523 | ] 524 | 525 | [[package]] 526 | name = "cranelift-codegen-meta" 527 | version = "0.91.1" 528 | source = "registry+https://github.com/rust-lang/crates.io-index" 529 | checksum = "639307b45434ad112a98f8300c0f0ab085cbefcd767efcdef9ef19d4c0756e74" 530 | dependencies = [ 531 | "cranelift-codegen-shared", 532 | ] 533 | 534 | [[package]] 535 | name = "cranelift-codegen-shared" 536 | version = "0.91.1" 537 | source = "registry+https://github.com/rust-lang/crates.io-index" 538 | checksum = "278e52e29c53fcf32431ef08406c295699a70306d05a0715c5b1bf50e33a9ab7" 539 | 540 | [[package]] 541 | name = "cranelift-egraph" 542 | version = "0.91.1" 543 | source = "registry+https://github.com/rust-lang/crates.io-index" 544 | checksum = "624b54323b06e675293939311943ba82d323bb340468ce1889be5da7932c8d73" 545 | dependencies = [ 546 | "cranelift-entity", 547 | "fxhash", 548 | "hashbrown 0.12.3", 549 | "indexmap", 550 | "log", 551 | "smallvec", 552 | ] 553 | 554 | [[package]] 555 | name = "cranelift-entity" 556 | version = "0.91.1" 557 | source = "registry+https://github.com/rust-lang/crates.io-index" 558 | checksum = "9a59bcbca89c3f1b70b93ab3cbba5e5e0cbf3e63dadb23c7525cb142e21a9d4c" 559 | 560 | [[package]] 561 | name = "cranelift-frontend" 562 | version = "0.91.1" 563 | source = "registry+https://github.com/rust-lang/crates.io-index" 564 | checksum = "0d70abacb8cfef3dc8ff7e8836e9c1d70f7967dfdac824a4cd5e30223415aca6" 565 | dependencies = [ 566 | "cranelift-codegen", 567 | "log", 568 | "smallvec", 569 | "target-lexicon", 570 | ] 571 | 572 | [[package]] 573 | name = "cranelift-isle" 574 | version = "0.91.1" 575 | source = "registry+https://github.com/rust-lang/crates.io-index" 576 | checksum = "393bc73c451830ff8dbb3a07f61843d6cb41a084f9996319917c0b291ed785bb" 577 | 578 | [[package]] 579 | name = "crc32fast" 580 | version = "1.3.2" 581 | source = "registry+https://github.com/rust-lang/crates.io-index" 582 | checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" 583 | dependencies = [ 584 | "cfg-if", 585 | ] 586 | 587 | [[package]] 588 | name = "crossbeam-channel" 589 | version = "0.5.8" 590 | source = "registry+https://github.com/rust-lang/crates.io-index" 591 | checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" 592 | dependencies = [ 593 | "cfg-if", 594 | "crossbeam-utils", 595 | ] 596 | 597 | [[package]] 598 | name = "crossbeam-deque" 599 | version = "0.8.3" 600 | source = "registry+https://github.com/rust-lang/crates.io-index" 601 | checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" 602 | dependencies = [ 603 | "cfg-if", 604 | "crossbeam-epoch", 605 | "crossbeam-utils", 606 | ] 607 | 608 | [[package]] 609 | name = "crossbeam-epoch" 610 | version = "0.9.15" 611 | source = "registry+https://github.com/rust-lang/crates.io-index" 612 | checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" 613 | dependencies = [ 614 | "autocfg", 615 | "cfg-if", 616 | "crossbeam-utils", 617 | "memoffset 0.9.0", 618 | "scopeguard", 619 | ] 620 | 621 | [[package]] 622 | name = "crossbeam-utils" 623 | version = "0.8.16" 624 | source = "registry+https://github.com/rust-lang/crates.io-index" 625 | checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" 626 | dependencies = [ 627 | "cfg-if", 628 | ] 629 | 630 | [[package]] 631 | name = "crypto-bigint" 632 | version = "0.4.9" 633 | source = "registry+https://github.com/rust-lang/crates.io-index" 634 | checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef" 635 | dependencies = [ 636 | "generic-array", 637 | "rand_core", 638 | "subtle", 639 | "zeroize", 640 | ] 641 | 642 | [[package]] 643 | name = "crypto-common" 644 | version = "0.1.6" 645 | source = "registry+https://github.com/rust-lang/crates.io-index" 646 | checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 647 | dependencies = [ 648 | "generic-array", 649 | "typenum", 650 | ] 651 | 652 | [[package]] 653 | name = "darling" 654 | version = "0.20.3" 655 | source = "registry+https://github.com/rust-lang/crates.io-index" 656 | checksum = "0209d94da627ab5605dcccf08bb18afa5009cfbef48d8a8b7d7bdbc79be25c5e" 657 | dependencies = [ 658 | "darling_core", 659 | "darling_macro", 660 | ] 661 | 662 | [[package]] 663 | name = "darling_core" 664 | version = "0.20.3" 665 | source = "registry+https://github.com/rust-lang/crates.io-index" 666 | checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621" 667 | dependencies = [ 668 | "fnv", 669 | "ident_case", 670 | "proc-macro2", 671 | "quote", 672 | "syn 2.0.23", 673 | ] 674 | 675 | [[package]] 676 | name = "darling_macro" 677 | version = "0.20.3" 678 | source = "registry+https://github.com/rust-lang/crates.io-index" 679 | checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" 680 | dependencies = [ 681 | "darling_core", 682 | "quote", 683 | "syn 2.0.23", 684 | ] 685 | 686 | [[package]] 687 | name = "dashmap" 688 | version = "5.5.2" 689 | source = "registry+https://github.com/rust-lang/crates.io-index" 690 | checksum = "9b101bb8960ab42ada6ae98eb82afcea4452294294c45b681295af26610d6d28" 691 | dependencies = [ 692 | "cfg-if", 693 | "hashbrown 0.14.0", 694 | "lock_api", 695 | "once_cell", 696 | "parking_lot_core", 697 | ] 698 | 699 | [[package]] 700 | name = "der" 701 | version = "0.6.1" 702 | source = "registry+https://github.com/rust-lang/crates.io-index" 703 | checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" 704 | dependencies = [ 705 | "const-oid", 706 | "zeroize", 707 | ] 708 | 709 | [[package]] 710 | name = "derivative" 711 | version = "2.2.0" 712 | source = "registry+https://github.com/rust-lang/crates.io-index" 713 | checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" 714 | dependencies = [ 715 | "proc-macro2", 716 | "quote", 717 | "syn 1.0.109", 718 | ] 719 | 720 | [[package]] 721 | name = "digest" 722 | version = "0.10.7" 723 | source = "registry+https://github.com/rust-lang/crates.io-index" 724 | checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 725 | dependencies = [ 726 | "block-buffer", 727 | "crypto-common", 728 | "subtle", 729 | ] 730 | 731 | [[package]] 732 | name = "dirs" 733 | version = "4.0.0" 734 | source = "registry+https://github.com/rust-lang/crates.io-index" 735 | checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059" 736 | dependencies = [ 737 | "dirs-sys 0.3.7", 738 | ] 739 | 740 | [[package]] 741 | name = "dirs" 742 | version = "5.0.1" 743 | source = "registry+https://github.com/rust-lang/crates.io-index" 744 | checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" 745 | dependencies = [ 746 | "dirs-sys 0.4.1", 747 | ] 748 | 749 | [[package]] 750 | name = "dirs-sys" 751 | version = "0.3.7" 752 | source = "registry+https://github.com/rust-lang/crates.io-index" 753 | checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" 754 | dependencies = [ 755 | "libc", 756 | "redox_users", 757 | "winapi", 758 | ] 759 | 760 | [[package]] 761 | name = "dirs-sys" 762 | version = "0.4.1" 763 | source = "registry+https://github.com/rust-lang/crates.io-index" 764 | checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" 765 | dependencies = [ 766 | "libc", 767 | "option-ext", 768 | "redox_users", 769 | "windows-sys 0.48.0", 770 | ] 771 | 772 | [[package]] 773 | name = "ecdsa" 774 | version = "0.14.8" 775 | source = "registry+https://github.com/rust-lang/crates.io-index" 776 | checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" 777 | dependencies = [ 778 | "der", 779 | "elliptic-curve", 780 | "rfc6979", 781 | "signature", 782 | ] 783 | 784 | [[package]] 785 | name = "either" 786 | version = "1.8.1" 787 | source = "registry+https://github.com/rust-lang/crates.io-index" 788 | checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" 789 | 790 | [[package]] 791 | name = "elliptic-curve" 792 | version = "0.12.3" 793 | source = "registry+https://github.com/rust-lang/crates.io-index" 794 | checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" 795 | dependencies = [ 796 | "base16ct", 797 | "crypto-bigint", 798 | "der", 799 | "digest", 800 | "ff", 801 | "generic-array", 802 | "group", 803 | "pkcs8", 804 | "rand_core", 805 | "sec1", 806 | "subtle", 807 | "zeroize", 808 | ] 809 | 810 | [[package]] 811 | name = "encoding_rs" 812 | version = "0.8.32" 813 | source = "registry+https://github.com/rust-lang/crates.io-index" 814 | checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" 815 | dependencies = [ 816 | "cfg-if", 817 | ] 818 | 819 | [[package]] 820 | name = "enum-iterator" 821 | version = "0.7.0" 822 | source = "registry+https://github.com/rust-lang/crates.io-index" 823 | checksum = "4eeac5c5edb79e4e39fe8439ef35207780a11f69c52cbe424ce3dfad4cb78de6" 824 | dependencies = [ 825 | "enum-iterator-derive", 826 | ] 827 | 828 | [[package]] 829 | name = "enum-iterator-derive" 830 | version = "0.7.0" 831 | source = "registry+https://github.com/rust-lang/crates.io-index" 832 | checksum = "c134c37760b27a871ba422106eedbb8247da973a09e82558bf26d619c882b159" 833 | dependencies = [ 834 | "proc-macro2", 835 | "quote", 836 | "syn 1.0.109", 837 | ] 838 | 839 | [[package]] 840 | name = "enumset" 841 | version = "1.1.2" 842 | source = "registry+https://github.com/rust-lang/crates.io-index" 843 | checksum = "e875f1719c16de097dee81ed675e2d9bb63096823ed3f0ca827b7dea3028bbbb" 844 | dependencies = [ 845 | "enumset_derive", 846 | ] 847 | 848 | [[package]] 849 | name = "enumset_derive" 850 | version = "0.8.1" 851 | source = "registry+https://github.com/rust-lang/crates.io-index" 852 | checksum = "e08b6c6ab82d70f08844964ba10c7babb716de2ecaeab9be5717918a5177d3af" 853 | dependencies = [ 854 | "darling", 855 | "proc-macro2", 856 | "quote", 857 | "syn 2.0.23", 858 | ] 859 | 860 | [[package]] 861 | name = "errno" 862 | version = "0.3.2" 863 | source = "registry+https://github.com/rust-lang/crates.io-index" 864 | checksum = "6b30f669a7961ef1631673d2766cc92f52d64f7ef354d4fe0ddfd30ed52f0f4f" 865 | dependencies = [ 866 | "errno-dragonfly", 867 | "libc", 868 | "windows-sys 0.48.0", 869 | ] 870 | 871 | [[package]] 872 | name = "errno-dragonfly" 873 | version = "0.1.2" 874 | source = "registry+https://github.com/rust-lang/crates.io-index" 875 | checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" 876 | dependencies = [ 877 | "cc", 878 | "libc", 879 | ] 880 | 881 | [[package]] 882 | name = "fallible-iterator" 883 | version = "0.2.0" 884 | source = "registry+https://github.com/rust-lang/crates.io-index" 885 | checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" 886 | 887 | [[package]] 888 | name = "fastrand" 889 | version = "2.0.0" 890 | source = "registry+https://github.com/rust-lang/crates.io-index" 891 | checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" 892 | 893 | [[package]] 894 | name = "ff" 895 | version = "0.12.1" 896 | source = "registry+https://github.com/rust-lang/crates.io-index" 897 | checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160" 898 | dependencies = [ 899 | "rand_core", 900 | "subtle", 901 | ] 902 | 903 | [[package]] 904 | name = "filetime" 905 | version = "0.2.22" 906 | source = "registry+https://github.com/rust-lang/crates.io-index" 907 | checksum = "d4029edd3e734da6fe05b6cd7bd2960760a616bd2ddd0d59a0124746d6272af0" 908 | dependencies = [ 909 | "cfg-if", 910 | "libc", 911 | "redox_syscall 0.3.5", 912 | "windows-sys 0.48.0", 913 | ] 914 | 915 | [[package]] 916 | name = "flate2" 917 | version = "1.0.26" 918 | source = "registry+https://github.com/rust-lang/crates.io-index" 919 | checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" 920 | dependencies = [ 921 | "crc32fast", 922 | "miniz_oxide", 923 | ] 924 | 925 | [[package]] 926 | name = "fnv" 927 | version = "1.0.7" 928 | source = "registry+https://github.com/rust-lang/crates.io-index" 929 | checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 930 | 931 | [[package]] 932 | name = "form_urlencoded" 933 | version = "1.2.0" 934 | source = "registry+https://github.com/rust-lang/crates.io-index" 935 | checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" 936 | dependencies = [ 937 | "percent-encoding", 938 | ] 939 | 940 | [[package]] 941 | name = "funty" 942 | version = "2.0.0" 943 | source = "registry+https://github.com/rust-lang/crates.io-index" 944 | checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" 945 | 946 | [[package]] 947 | name = "futures-channel" 948 | version = "0.3.28" 949 | source = "registry+https://github.com/rust-lang/crates.io-index" 950 | checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" 951 | dependencies = [ 952 | "futures-core", 953 | ] 954 | 955 | [[package]] 956 | name = "futures-core" 957 | version = "0.3.28" 958 | source = "registry+https://github.com/rust-lang/crates.io-index" 959 | checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" 960 | 961 | [[package]] 962 | name = "futures-io" 963 | version = "0.3.28" 964 | source = "registry+https://github.com/rust-lang/crates.io-index" 965 | checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" 966 | 967 | [[package]] 968 | name = "futures-macro" 969 | version = "0.3.28" 970 | source = "registry+https://github.com/rust-lang/crates.io-index" 971 | checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" 972 | dependencies = [ 973 | "proc-macro2", 974 | "quote", 975 | "syn 2.0.23", 976 | ] 977 | 978 | [[package]] 979 | name = "futures-sink" 980 | version = "0.3.28" 981 | source = "registry+https://github.com/rust-lang/crates.io-index" 982 | checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" 983 | 984 | [[package]] 985 | name = "futures-task" 986 | version = "0.3.28" 987 | source = "registry+https://github.com/rust-lang/crates.io-index" 988 | checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" 989 | 990 | [[package]] 991 | name = "futures-util" 992 | version = "0.3.28" 993 | source = "registry+https://github.com/rust-lang/crates.io-index" 994 | checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" 995 | dependencies = [ 996 | "futures-core", 997 | "futures-io", 998 | "futures-macro", 999 | "futures-task", 1000 | "memchr", 1001 | "pin-project-lite", 1002 | "pin-utils", 1003 | "slab", 1004 | ] 1005 | 1006 | [[package]] 1007 | name = "fxhash" 1008 | version = "0.2.1" 1009 | source = "registry+https://github.com/rust-lang/crates.io-index" 1010 | checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" 1011 | dependencies = [ 1012 | "byteorder", 1013 | ] 1014 | 1015 | [[package]] 1016 | name = "generic-array" 1017 | version = "0.14.7" 1018 | source = "registry+https://github.com/rust-lang/crates.io-index" 1019 | checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 1020 | dependencies = [ 1021 | "typenum", 1022 | "version_check", 1023 | ] 1024 | 1025 | [[package]] 1026 | name = "getrandom" 1027 | version = "0.2.10" 1028 | source = "registry+https://github.com/rust-lang/crates.io-index" 1029 | checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" 1030 | dependencies = [ 1031 | "cfg-if", 1032 | "js-sys", 1033 | "libc", 1034 | "wasi", 1035 | "wasm-bindgen", 1036 | ] 1037 | 1038 | [[package]] 1039 | name = "gimli" 1040 | version = "0.26.2" 1041 | source = "registry+https://github.com/rust-lang/crates.io-index" 1042 | checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" 1043 | dependencies = [ 1044 | "fallible-iterator", 1045 | "indexmap", 1046 | "stable_deref_trait", 1047 | ] 1048 | 1049 | [[package]] 1050 | name = "gimli" 1051 | version = "0.27.3" 1052 | source = "registry+https://github.com/rust-lang/crates.io-index" 1053 | checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" 1054 | 1055 | [[package]] 1056 | name = "globset" 1057 | version = "0.4.13" 1058 | source = "registry+https://github.com/rust-lang/crates.io-index" 1059 | checksum = "759c97c1e17c55525b57192c06a267cda0ac5210b222d6b82189a2338fa1c13d" 1060 | dependencies = [ 1061 | "aho-corasick", 1062 | "bstr", 1063 | "fnv", 1064 | "log", 1065 | "regex", 1066 | ] 1067 | 1068 | [[package]] 1069 | name = "group" 1070 | version = "0.12.1" 1071 | source = "registry+https://github.com/rust-lang/crates.io-index" 1072 | checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" 1073 | dependencies = [ 1074 | "ff", 1075 | "rand_core", 1076 | "subtle", 1077 | ] 1078 | 1079 | [[package]] 1080 | name = "h2" 1081 | version = "0.3.20" 1082 | source = "registry+https://github.com/rust-lang/crates.io-index" 1083 | checksum = "97ec8491ebaf99c8eaa73058b045fe58073cd6be7f596ac993ced0b0a0c01049" 1084 | dependencies = [ 1085 | "bytes", 1086 | "fnv", 1087 | "futures-core", 1088 | "futures-sink", 1089 | "futures-util", 1090 | "http", 1091 | "indexmap", 1092 | "slab", 1093 | "tokio", 1094 | "tokio-util", 1095 | "tracing", 1096 | ] 1097 | 1098 | [[package]] 1099 | name = "hashbrown" 1100 | version = "0.12.3" 1101 | source = "registry+https://github.com/rust-lang/crates.io-index" 1102 | checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 1103 | dependencies = [ 1104 | "ahash 0.7.6", 1105 | ] 1106 | 1107 | [[package]] 1108 | name = "hashbrown" 1109 | version = "0.13.2" 1110 | source = "registry+https://github.com/rust-lang/crates.io-index" 1111 | checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" 1112 | dependencies = [ 1113 | "ahash 0.8.3", 1114 | ] 1115 | 1116 | [[package]] 1117 | name = "hashbrown" 1118 | version = "0.14.0" 1119 | source = "registry+https://github.com/rust-lang/crates.io-index" 1120 | checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" 1121 | 1122 | [[package]] 1123 | name = "hermit-abi" 1124 | version = "0.3.2" 1125 | source = "registry+https://github.com/rust-lang/crates.io-index" 1126 | checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" 1127 | 1128 | [[package]] 1129 | name = "hex" 1130 | version = "0.4.3" 1131 | source = "registry+https://github.com/rust-lang/crates.io-index" 1132 | checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 1133 | 1134 | [[package]] 1135 | name = "hmac" 1136 | version = "0.12.1" 1137 | source = "registry+https://github.com/rust-lang/crates.io-index" 1138 | checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" 1139 | dependencies = [ 1140 | "digest", 1141 | ] 1142 | 1143 | [[package]] 1144 | name = "http" 1145 | version = "0.2.9" 1146 | source = "registry+https://github.com/rust-lang/crates.io-index" 1147 | checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" 1148 | dependencies = [ 1149 | "bytes", 1150 | "fnv", 1151 | "itoa", 1152 | ] 1153 | 1154 | [[package]] 1155 | name = "http-body" 1156 | version = "0.4.5" 1157 | source = "registry+https://github.com/rust-lang/crates.io-index" 1158 | checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" 1159 | dependencies = [ 1160 | "bytes", 1161 | "http", 1162 | "pin-project-lite", 1163 | ] 1164 | 1165 | [[package]] 1166 | name = "httparse" 1167 | version = "1.8.0" 1168 | source = "registry+https://github.com/rust-lang/crates.io-index" 1169 | checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" 1170 | 1171 | [[package]] 1172 | name = "httpdate" 1173 | version = "1.0.2" 1174 | source = "registry+https://github.com/rust-lang/crates.io-index" 1175 | checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" 1176 | 1177 | [[package]] 1178 | name = "hyper" 1179 | version = "0.14.27" 1180 | source = "registry+https://github.com/rust-lang/crates.io-index" 1181 | checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" 1182 | dependencies = [ 1183 | "bytes", 1184 | "futures-channel", 1185 | "futures-core", 1186 | "futures-util", 1187 | "h2", 1188 | "http", 1189 | "http-body", 1190 | "httparse", 1191 | "httpdate", 1192 | "itoa", 1193 | "pin-project-lite", 1194 | "socket2 0.4.9", 1195 | "tokio", 1196 | "tower-service", 1197 | "tracing", 1198 | "want", 1199 | ] 1200 | 1201 | [[package]] 1202 | name = "hyper-rustls" 1203 | version = "0.24.1" 1204 | source = "registry+https://github.com/rust-lang/crates.io-index" 1205 | checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97" 1206 | dependencies = [ 1207 | "futures-util", 1208 | "http", 1209 | "hyper", 1210 | "rustls", 1211 | "tokio", 1212 | "tokio-rustls", 1213 | ] 1214 | 1215 | [[package]] 1216 | name = "ident_case" 1217 | version = "1.0.1" 1218 | source = "registry+https://github.com/rust-lang/crates.io-index" 1219 | checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" 1220 | 1221 | [[package]] 1222 | name = "idna" 1223 | version = "0.4.0" 1224 | source = "registry+https://github.com/rust-lang/crates.io-index" 1225 | checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" 1226 | dependencies = [ 1227 | "unicode-bidi", 1228 | "unicode-normalization", 1229 | ] 1230 | 1231 | [[package]] 1232 | name = "indexmap" 1233 | version = "1.9.3" 1234 | source = "registry+https://github.com/rust-lang/crates.io-index" 1235 | checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" 1236 | dependencies = [ 1237 | "autocfg", 1238 | "hashbrown 0.12.3", 1239 | ] 1240 | 1241 | [[package]] 1242 | name = "ipnet" 1243 | version = "2.8.0" 1244 | source = "registry+https://github.com/rust-lang/crates.io-index" 1245 | checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" 1246 | 1247 | [[package]] 1248 | name = "itertools" 1249 | version = "0.10.5" 1250 | source = "registry+https://github.com/rust-lang/crates.io-index" 1251 | checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" 1252 | dependencies = [ 1253 | "either", 1254 | ] 1255 | 1256 | [[package]] 1257 | name = "itoa" 1258 | version = "1.0.8" 1259 | source = "registry+https://github.com/rust-lang/crates.io-index" 1260 | checksum = "62b02a5381cc465bd3041d84623d0fa3b66738b52b8e2fc3bab8ad63ab032f4a" 1261 | 1262 | [[package]] 1263 | name = "js-sys" 1264 | version = "0.3.64" 1265 | source = "registry+https://github.com/rust-lang/crates.io-index" 1266 | checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" 1267 | dependencies = [ 1268 | "wasm-bindgen", 1269 | ] 1270 | 1271 | [[package]] 1272 | name = "k256" 1273 | version = "0.11.6" 1274 | source = "registry+https://github.com/rust-lang/crates.io-index" 1275 | checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" 1276 | dependencies = [ 1277 | "cfg-if", 1278 | "ecdsa", 1279 | "elliptic-curve", 1280 | "sha2", 1281 | ] 1282 | 1283 | [[package]] 1284 | name = "keccak" 1285 | version = "0.1.4" 1286 | source = "registry+https://github.com/rust-lang/crates.io-index" 1287 | checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" 1288 | dependencies = [ 1289 | "cpufeatures", 1290 | ] 1291 | 1292 | [[package]] 1293 | name = "lazy_static" 1294 | version = "1.4.0" 1295 | source = "registry+https://github.com/rust-lang/crates.io-index" 1296 | checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 1297 | 1298 | [[package]] 1299 | name = "leb128" 1300 | version = "0.2.5" 1301 | source = "registry+https://github.com/rust-lang/crates.io-index" 1302 | checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" 1303 | 1304 | [[package]] 1305 | name = "libc" 1306 | version = "0.2.147" 1307 | source = "registry+https://github.com/rust-lang/crates.io-index" 1308 | checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" 1309 | 1310 | [[package]] 1311 | name = "linux-raw-sys" 1312 | version = "0.4.5" 1313 | source = "registry+https://github.com/rust-lang/crates.io-index" 1314 | checksum = "57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503" 1315 | 1316 | [[package]] 1317 | name = "lock_api" 1318 | version = "0.4.10" 1319 | source = "registry+https://github.com/rust-lang/crates.io-index" 1320 | checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" 1321 | dependencies = [ 1322 | "autocfg", 1323 | "scopeguard", 1324 | ] 1325 | 1326 | [[package]] 1327 | name = "log" 1328 | version = "0.4.19" 1329 | source = "registry+https://github.com/rust-lang/crates.io-index" 1330 | checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" 1331 | 1332 | [[package]] 1333 | name = "mach" 1334 | version = "0.3.2" 1335 | source = "registry+https://github.com/rust-lang/crates.io-index" 1336 | checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" 1337 | dependencies = [ 1338 | "libc", 1339 | ] 1340 | 1341 | [[package]] 1342 | name = "memchr" 1343 | version = "2.5.0" 1344 | source = "registry+https://github.com/rust-lang/crates.io-index" 1345 | checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" 1346 | 1347 | [[package]] 1348 | name = "memmap2" 1349 | version = "0.5.10" 1350 | source = "registry+https://github.com/rust-lang/crates.io-index" 1351 | checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" 1352 | dependencies = [ 1353 | "libc", 1354 | ] 1355 | 1356 | [[package]] 1357 | name = "memoffset" 1358 | version = "0.8.0" 1359 | source = "registry+https://github.com/rust-lang/crates.io-index" 1360 | checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" 1361 | dependencies = [ 1362 | "autocfg", 1363 | ] 1364 | 1365 | [[package]] 1366 | name = "memoffset" 1367 | version = "0.9.0" 1368 | source = "registry+https://github.com/rust-lang/crates.io-index" 1369 | checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" 1370 | dependencies = [ 1371 | "autocfg", 1372 | ] 1373 | 1374 | [[package]] 1375 | name = "mime" 1376 | version = "0.3.17" 1377 | source = "registry+https://github.com/rust-lang/crates.io-index" 1378 | checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 1379 | 1380 | [[package]] 1381 | name = "miniz_oxide" 1382 | version = "0.7.1" 1383 | source = "registry+https://github.com/rust-lang/crates.io-index" 1384 | checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" 1385 | dependencies = [ 1386 | "adler", 1387 | ] 1388 | 1389 | [[package]] 1390 | name = "mio" 1391 | version = "0.8.8" 1392 | source = "registry+https://github.com/rust-lang/crates.io-index" 1393 | checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" 1394 | dependencies = [ 1395 | "libc", 1396 | "wasi", 1397 | "windows-sys 0.48.0", 1398 | ] 1399 | 1400 | [[package]] 1401 | name = "more-asserts" 1402 | version = "0.2.2" 1403 | source = "registry+https://github.com/rust-lang/crates.io-index" 1404 | checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" 1405 | 1406 | [[package]] 1407 | name = "num-bigint" 1408 | version = "0.4.3" 1409 | source = "registry+https://github.com/rust-lang/crates.io-index" 1410 | checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" 1411 | dependencies = [ 1412 | "autocfg", 1413 | "num-integer", 1414 | "num-traits", 1415 | ] 1416 | 1417 | [[package]] 1418 | name = "num-integer" 1419 | version = "0.1.45" 1420 | source = "registry+https://github.com/rust-lang/crates.io-index" 1421 | checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" 1422 | dependencies = [ 1423 | "autocfg", 1424 | "num-traits", 1425 | ] 1426 | 1427 | [[package]] 1428 | name = "num-traits" 1429 | version = "0.2.15" 1430 | source = "registry+https://github.com/rust-lang/crates.io-index" 1431 | checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" 1432 | dependencies = [ 1433 | "autocfg", 1434 | ] 1435 | 1436 | [[package]] 1437 | name = "num_cpus" 1438 | version = "1.16.0" 1439 | source = "registry+https://github.com/rust-lang/crates.io-index" 1440 | checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" 1441 | dependencies = [ 1442 | "hermit-abi", 1443 | "libc", 1444 | ] 1445 | 1446 | [[package]] 1447 | name = "object" 1448 | version = "0.31.1" 1449 | source = "registry+https://github.com/rust-lang/crates.io-index" 1450 | checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1" 1451 | dependencies = [ 1452 | "memchr", 1453 | ] 1454 | 1455 | [[package]] 1456 | name = "once_cell" 1457 | version = "1.18.0" 1458 | source = "registry+https://github.com/rust-lang/crates.io-index" 1459 | checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" 1460 | 1461 | [[package]] 1462 | name = "option-ext" 1463 | version = "0.2.0" 1464 | source = "registry+https://github.com/rust-lang/crates.io-index" 1465 | checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" 1466 | 1467 | [[package]] 1468 | name = "p256" 1469 | version = "0.11.1" 1470 | source = "registry+https://github.com/rust-lang/crates.io-index" 1471 | checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" 1472 | dependencies = [ 1473 | "ecdsa", 1474 | "elliptic-curve", 1475 | "sha2", 1476 | ] 1477 | 1478 | [[package]] 1479 | name = "parking_lot_core" 1480 | version = "0.9.8" 1481 | source = "registry+https://github.com/rust-lang/crates.io-index" 1482 | checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" 1483 | dependencies = [ 1484 | "cfg-if", 1485 | "libc", 1486 | "redox_syscall 0.3.5", 1487 | "smallvec", 1488 | "windows-targets", 1489 | ] 1490 | 1491 | [[package]] 1492 | name = "paste" 1493 | version = "1.0.13" 1494 | source = "registry+https://github.com/rust-lang/crates.io-index" 1495 | checksum = "b4b27ab7be369122c218afc2079489cdcb4b517c0a3fc386ff11e1fedfcc2b35" 1496 | 1497 | [[package]] 1498 | name = "percent-encoding" 1499 | version = "2.3.0" 1500 | source = "registry+https://github.com/rust-lang/crates.io-index" 1501 | checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" 1502 | 1503 | [[package]] 1504 | name = "pin-project-lite" 1505 | version = "0.2.13" 1506 | source = "registry+https://github.com/rust-lang/crates.io-index" 1507 | checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" 1508 | 1509 | [[package]] 1510 | name = "pin-utils" 1511 | version = "0.1.0" 1512 | source = "registry+https://github.com/rust-lang/crates.io-index" 1513 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 1514 | 1515 | [[package]] 1516 | name = "pkcs8" 1517 | version = "0.9.0" 1518 | source = "registry+https://github.com/rust-lang/crates.io-index" 1519 | checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" 1520 | dependencies = [ 1521 | "der", 1522 | "spki", 1523 | ] 1524 | 1525 | [[package]] 1526 | name = "pkg-config" 1527 | version = "0.3.27" 1528 | source = "registry+https://github.com/rust-lang/crates.io-index" 1529 | checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" 1530 | 1531 | [[package]] 1532 | name = "ppv-lite86" 1533 | version = "0.2.17" 1534 | source = "registry+https://github.com/rust-lang/crates.io-index" 1535 | checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" 1536 | 1537 | [[package]] 1538 | name = "proc-macro-error" 1539 | version = "1.0.4" 1540 | source = "registry+https://github.com/rust-lang/crates.io-index" 1541 | checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" 1542 | dependencies = [ 1543 | "proc-macro-error-attr", 1544 | "proc-macro2", 1545 | "quote", 1546 | "syn 1.0.109", 1547 | "version_check", 1548 | ] 1549 | 1550 | [[package]] 1551 | name = "proc-macro-error-attr" 1552 | version = "1.0.4" 1553 | source = "registry+https://github.com/rust-lang/crates.io-index" 1554 | checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" 1555 | dependencies = [ 1556 | "proc-macro2", 1557 | "quote", 1558 | "version_check", 1559 | ] 1560 | 1561 | [[package]] 1562 | name = "proc-macro2" 1563 | version = "1.0.63" 1564 | source = "registry+https://github.com/rust-lang/crates.io-index" 1565 | checksum = "7b368fba921b0dce7e60f5e04ec15e565b3303972b42bcfde1d0713b881959eb" 1566 | dependencies = [ 1567 | "unicode-ident", 1568 | ] 1569 | 1570 | [[package]] 1571 | name = "ptr_meta" 1572 | version = "0.1.4" 1573 | source = "registry+https://github.com/rust-lang/crates.io-index" 1574 | checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1" 1575 | dependencies = [ 1576 | "ptr_meta_derive", 1577 | ] 1578 | 1579 | [[package]] 1580 | name = "ptr_meta_derive" 1581 | version = "0.1.4" 1582 | source = "registry+https://github.com/rust-lang/crates.io-index" 1583 | checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" 1584 | dependencies = [ 1585 | "proc-macro2", 1586 | "quote", 1587 | "syn 1.0.109", 1588 | ] 1589 | 1590 | [[package]] 1591 | name = "quote" 1592 | version = "1.0.29" 1593 | source = "registry+https://github.com/rust-lang/crates.io-index" 1594 | checksum = "573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105" 1595 | dependencies = [ 1596 | "proc-macro2", 1597 | ] 1598 | 1599 | [[package]] 1600 | name = "radium" 1601 | version = "0.7.0" 1602 | source = "registry+https://github.com/rust-lang/crates.io-index" 1603 | checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" 1604 | 1605 | [[package]] 1606 | name = "rand" 1607 | version = "0.8.5" 1608 | source = "registry+https://github.com/rust-lang/crates.io-index" 1609 | checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 1610 | dependencies = [ 1611 | "rand_chacha", 1612 | "rand_core", 1613 | ] 1614 | 1615 | [[package]] 1616 | name = "rand_chacha" 1617 | version = "0.3.1" 1618 | source = "registry+https://github.com/rust-lang/crates.io-index" 1619 | checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 1620 | dependencies = [ 1621 | "ppv-lite86", 1622 | "rand_core", 1623 | ] 1624 | 1625 | [[package]] 1626 | name = "rand_core" 1627 | version = "0.6.4" 1628 | source = "registry+https://github.com/rust-lang/crates.io-index" 1629 | checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 1630 | dependencies = [ 1631 | "getrandom", 1632 | ] 1633 | 1634 | [[package]] 1635 | name = "rayon" 1636 | version = "1.7.0" 1637 | source = "registry+https://github.com/rust-lang/crates.io-index" 1638 | checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" 1639 | dependencies = [ 1640 | "either", 1641 | "rayon-core", 1642 | ] 1643 | 1644 | [[package]] 1645 | name = "rayon-core" 1646 | version = "1.11.0" 1647 | source = "registry+https://github.com/rust-lang/crates.io-index" 1648 | checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" 1649 | dependencies = [ 1650 | "crossbeam-channel", 1651 | "crossbeam-deque", 1652 | "crossbeam-utils", 1653 | "num_cpus", 1654 | ] 1655 | 1656 | [[package]] 1657 | name = "redox_syscall" 1658 | version = "0.2.16" 1659 | source = "registry+https://github.com/rust-lang/crates.io-index" 1660 | checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" 1661 | dependencies = [ 1662 | "bitflags 1.3.2", 1663 | ] 1664 | 1665 | [[package]] 1666 | name = "redox_syscall" 1667 | version = "0.3.5" 1668 | source = "registry+https://github.com/rust-lang/crates.io-index" 1669 | checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" 1670 | dependencies = [ 1671 | "bitflags 1.3.2", 1672 | ] 1673 | 1674 | [[package]] 1675 | name = "redox_users" 1676 | version = "0.4.3" 1677 | source = "registry+https://github.com/rust-lang/crates.io-index" 1678 | checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" 1679 | dependencies = [ 1680 | "getrandom", 1681 | "redox_syscall 0.2.16", 1682 | "thiserror", 1683 | ] 1684 | 1685 | [[package]] 1686 | name = "regalloc2" 1687 | version = "0.5.1" 1688 | source = "registry+https://github.com/rust-lang/crates.io-index" 1689 | checksum = "300d4fbfb40c1c66a78ba3ddd41c1110247cf52f97b87d0f2fc9209bd49b030c" 1690 | dependencies = [ 1691 | "fxhash", 1692 | "log", 1693 | "slice-group-by", 1694 | "smallvec", 1695 | ] 1696 | 1697 | [[package]] 1698 | name = "regex" 1699 | version = "1.9.4" 1700 | source = "registry+https://github.com/rust-lang/crates.io-index" 1701 | checksum = "12de2eff854e5fa4b1295edd650e227e9d8fb0c9e90b12e7f36d6a6811791a29" 1702 | dependencies = [ 1703 | "aho-corasick", 1704 | "memchr", 1705 | "regex-automata", 1706 | "regex-syntax", 1707 | ] 1708 | 1709 | [[package]] 1710 | name = "regex-automata" 1711 | version = "0.3.7" 1712 | source = "registry+https://github.com/rust-lang/crates.io-index" 1713 | checksum = "49530408a136e16e5b486e883fbb6ba058e8e4e8ae6621a77b048b314336e629" 1714 | dependencies = [ 1715 | "aho-corasick", 1716 | "memchr", 1717 | "regex-syntax", 1718 | ] 1719 | 1720 | [[package]] 1721 | name = "regex-syntax" 1722 | version = "0.7.5" 1723 | source = "registry+https://github.com/rust-lang/crates.io-index" 1724 | checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" 1725 | 1726 | [[package]] 1727 | name = "region" 1728 | version = "3.0.0" 1729 | source = "registry+https://github.com/rust-lang/crates.io-index" 1730 | checksum = "76e189c2369884dce920945e2ddf79b3dff49e071a167dd1817fa9c4c00d512e" 1731 | dependencies = [ 1732 | "bitflags 1.3.2", 1733 | "libc", 1734 | "mach", 1735 | "winapi", 1736 | ] 1737 | 1738 | [[package]] 1739 | name = "rend" 1740 | version = "0.4.0" 1741 | source = "registry+https://github.com/rust-lang/crates.io-index" 1742 | checksum = "581008d2099240d37fb08d77ad713bcaec2c4d89d50b5b21a8bb1996bbab68ab" 1743 | dependencies = [ 1744 | "bytecheck", 1745 | ] 1746 | 1747 | [[package]] 1748 | name = "reqwest" 1749 | version = "0.11.18" 1750 | source = "registry+https://github.com/rust-lang/crates.io-index" 1751 | checksum = "cde824a14b7c14f85caff81225f411faacc04a2013f41670f41443742b1c1c55" 1752 | dependencies = [ 1753 | "base64", 1754 | "bytes", 1755 | "encoding_rs", 1756 | "futures-core", 1757 | "futures-util", 1758 | "h2", 1759 | "http", 1760 | "http-body", 1761 | "hyper", 1762 | "hyper-rustls", 1763 | "ipnet", 1764 | "js-sys", 1765 | "log", 1766 | "mime", 1767 | "once_cell", 1768 | "percent-encoding", 1769 | "pin-project-lite", 1770 | "rustls", 1771 | "rustls-pemfile", 1772 | "serde", 1773 | "serde_json", 1774 | "serde_urlencoded", 1775 | "tokio", 1776 | "tokio-rustls", 1777 | "tower-service", 1778 | "url", 1779 | "wasm-bindgen", 1780 | "wasm-bindgen-futures", 1781 | "web-sys", 1782 | "webpki-roots", 1783 | "winreg", 1784 | ] 1785 | 1786 | [[package]] 1787 | name = "rfc6979" 1788 | version = "0.3.1" 1789 | source = "registry+https://github.com/rust-lang/crates.io-index" 1790 | checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" 1791 | dependencies = [ 1792 | "crypto-bigint", 1793 | "hmac", 1794 | "zeroize", 1795 | ] 1796 | 1797 | [[package]] 1798 | name = "ring" 1799 | version = "0.16.20" 1800 | source = "registry+https://github.com/rust-lang/crates.io-index" 1801 | checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" 1802 | dependencies = [ 1803 | "cc", 1804 | "libc", 1805 | "once_cell", 1806 | "spin", 1807 | "untrusted", 1808 | "web-sys", 1809 | "winapi", 1810 | ] 1811 | 1812 | [[package]] 1813 | name = "rkyv" 1814 | version = "0.7.42" 1815 | source = "registry+https://github.com/rust-lang/crates.io-index" 1816 | checksum = "0200c8230b013893c0b2d6213d6ec64ed2b9be2e0e016682b7224ff82cff5c58" 1817 | dependencies = [ 1818 | "bitvec", 1819 | "bytecheck", 1820 | "hashbrown 0.12.3", 1821 | "indexmap", 1822 | "ptr_meta", 1823 | "rend", 1824 | "rkyv_derive", 1825 | "seahash", 1826 | "tinyvec", 1827 | "uuid", 1828 | ] 1829 | 1830 | [[package]] 1831 | name = "rkyv_derive" 1832 | version = "0.7.42" 1833 | source = "registry+https://github.com/rust-lang/crates.io-index" 1834 | checksum = "b2e06b915b5c230a17d7a736d1e2e63ee753c256a8614ef3f5147b13a4f5541d" 1835 | dependencies = [ 1836 | "proc-macro2", 1837 | "quote", 1838 | "syn 1.0.109", 1839 | ] 1840 | 1841 | [[package]] 1842 | name = "rust-embed" 1843 | version = "6.8.1" 1844 | source = "registry+https://github.com/rust-lang/crates.io-index" 1845 | checksum = "a36224c3276f8c4ebc8c20f158eca7ca4359c8db89991c4925132aaaf6702661" 1846 | dependencies = [ 1847 | "rust-embed-impl", 1848 | "rust-embed-utils", 1849 | "walkdir", 1850 | ] 1851 | 1852 | [[package]] 1853 | name = "rust-embed-impl" 1854 | version = "6.8.1" 1855 | source = "registry+https://github.com/rust-lang/crates.io-index" 1856 | checksum = "49b94b81e5b2c284684141a2fb9e2a31be90638caf040bf9afbc5a0416afe1ac" 1857 | dependencies = [ 1858 | "proc-macro2", 1859 | "quote", 1860 | "rust-embed-utils", 1861 | "shellexpand", 1862 | "syn 2.0.23", 1863 | "walkdir", 1864 | ] 1865 | 1866 | [[package]] 1867 | name = "rust-embed-utils" 1868 | version = "7.8.1" 1869 | source = "registry+https://github.com/rust-lang/crates.io-index" 1870 | checksum = "9d38ff6bf570dc3bb7100fce9f7b60c33fa71d80e88da3f2580df4ff2bdded74" 1871 | dependencies = [ 1872 | "globset", 1873 | "sha2", 1874 | "walkdir", 1875 | ] 1876 | 1877 | [[package]] 1878 | name = "rustc-demangle" 1879 | version = "0.1.23" 1880 | source = "registry+https://github.com/rust-lang/crates.io-index" 1881 | checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" 1882 | 1883 | [[package]] 1884 | name = "rustc_version" 1885 | version = "0.4.0" 1886 | source = "registry+https://github.com/rust-lang/crates.io-index" 1887 | checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" 1888 | dependencies = [ 1889 | "semver", 1890 | ] 1891 | 1892 | [[package]] 1893 | name = "rustix" 1894 | version = "0.38.8" 1895 | source = "registry+https://github.com/rust-lang/crates.io-index" 1896 | checksum = "19ed4fa021d81c8392ce04db050a3da9a60299050b7ae1cf482d862b54a7218f" 1897 | dependencies = [ 1898 | "bitflags 2.4.0", 1899 | "errno", 1900 | "libc", 1901 | "linux-raw-sys", 1902 | "windows-sys 0.48.0", 1903 | ] 1904 | 1905 | [[package]] 1906 | name = "rustls" 1907 | version = "0.21.3" 1908 | source = "registry+https://github.com/rust-lang/crates.io-index" 1909 | checksum = "b19faa85ecb5197342b54f987b142fb3e30d0c90da40f80ef4fa9a726e6676ed" 1910 | dependencies = [ 1911 | "log", 1912 | "ring", 1913 | "rustls-webpki", 1914 | "sct", 1915 | ] 1916 | 1917 | [[package]] 1918 | name = "rustls-pemfile" 1919 | version = "1.0.3" 1920 | source = "registry+https://github.com/rust-lang/crates.io-index" 1921 | checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" 1922 | dependencies = [ 1923 | "base64", 1924 | ] 1925 | 1926 | [[package]] 1927 | name = "rustls-webpki" 1928 | version = "0.101.1" 1929 | source = "registry+https://github.com/rust-lang/crates.io-index" 1930 | checksum = "15f36a6828982f422756984e47912a7a51dcbc2a197aa791158f8ca61cd8204e" 1931 | dependencies = [ 1932 | "ring", 1933 | "untrusted", 1934 | ] 1935 | 1936 | [[package]] 1937 | name = "ryu" 1938 | version = "1.0.14" 1939 | source = "registry+https://github.com/rust-lang/crates.io-index" 1940 | checksum = "fe232bdf6be8c8de797b22184ee71118d63780ea42ac85b61d1baa6d3b782ae9" 1941 | 1942 | [[package]] 1943 | name = "same-file" 1944 | version = "1.0.6" 1945 | source = "registry+https://github.com/rust-lang/crates.io-index" 1946 | checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 1947 | dependencies = [ 1948 | "winapi-util", 1949 | ] 1950 | 1951 | [[package]] 1952 | name = "scopeguard" 1953 | version = "1.2.0" 1954 | source = "registry+https://github.com/rust-lang/crates.io-index" 1955 | checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 1956 | 1957 | [[package]] 1958 | name = "sct" 1959 | version = "0.7.0" 1960 | source = "registry+https://github.com/rust-lang/crates.io-index" 1961 | checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" 1962 | dependencies = [ 1963 | "ring", 1964 | "untrusted", 1965 | ] 1966 | 1967 | [[package]] 1968 | name = "seahash" 1969 | version = "4.1.0" 1970 | source = "registry+https://github.com/rust-lang/crates.io-index" 1971 | checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" 1972 | 1973 | [[package]] 1974 | name = "sec1" 1975 | version = "0.3.0" 1976 | source = "registry+https://github.com/rust-lang/crates.io-index" 1977 | checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" 1978 | dependencies = [ 1979 | "base16ct", 1980 | "der", 1981 | "generic-array", 1982 | "pkcs8", 1983 | "subtle", 1984 | "zeroize", 1985 | ] 1986 | 1987 | [[package]] 1988 | name = "semver" 1989 | version = "1.0.18" 1990 | source = "registry+https://github.com/rust-lang/crates.io-index" 1991 | checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" 1992 | 1993 | [[package]] 1994 | name = "serde" 1995 | version = "1.0.166" 1996 | source = "registry+https://github.com/rust-lang/crates.io-index" 1997 | checksum = "d01b7404f9d441d3ad40e6a636a7782c377d2abdbe4fa2440e2edcc2f4f10db8" 1998 | dependencies = [ 1999 | "serde_derive", 2000 | ] 2001 | 2002 | [[package]] 2003 | name = "serde-wasm-bindgen" 2004 | version = "0.4.5" 2005 | source = "registry+https://github.com/rust-lang/crates.io-index" 2006 | checksum = "e3b4c031cd0d9014307d82b8abf653c0290fbdaeb4c02d00c63cf52f728628bf" 2007 | dependencies = [ 2008 | "js-sys", 2009 | "serde", 2010 | "wasm-bindgen", 2011 | ] 2012 | 2013 | [[package]] 2014 | name = "serde_derive" 2015 | version = "1.0.166" 2016 | source = "registry+https://github.com/rust-lang/crates.io-index" 2017 | checksum = "5dd83d6dde2b6b2d466e14d9d1acce8816dedee94f735eac6395808b3483c6d6" 2018 | dependencies = [ 2019 | "proc-macro2", 2020 | "quote", 2021 | "syn 2.0.23", 2022 | ] 2023 | 2024 | [[package]] 2025 | name = "serde_json" 2026 | version = "1.0.100" 2027 | source = "registry+https://github.com/rust-lang/crates.io-index" 2028 | checksum = "0f1e14e89be7aa4c4b78bdbdc9eb5bf8517829a600ae8eaa39a6e1d960b5185c" 2029 | dependencies = [ 2030 | "itoa", 2031 | "ryu", 2032 | "serde", 2033 | ] 2034 | 2035 | [[package]] 2036 | name = "serde_urlencoded" 2037 | version = "0.7.1" 2038 | source = "registry+https://github.com/rust-lang/crates.io-index" 2039 | checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" 2040 | dependencies = [ 2041 | "form_urlencoded", 2042 | "itoa", 2043 | "ryu", 2044 | "serde", 2045 | ] 2046 | 2047 | [[package]] 2048 | name = "sha2" 2049 | version = "0.10.7" 2050 | source = "registry+https://github.com/rust-lang/crates.io-index" 2051 | checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" 2052 | dependencies = [ 2053 | "cfg-if", 2054 | "cpufeatures", 2055 | "digest", 2056 | ] 2057 | 2058 | [[package]] 2059 | name = "sha3" 2060 | version = "0.10.8" 2061 | source = "registry+https://github.com/rust-lang/crates.io-index" 2062 | checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" 2063 | dependencies = [ 2064 | "digest", 2065 | "keccak", 2066 | ] 2067 | 2068 | [[package]] 2069 | name = "shellexpand" 2070 | version = "2.1.2" 2071 | source = "registry+https://github.com/rust-lang/crates.io-index" 2072 | checksum = "7ccc8076840c4da029af4f87e4e8daeb0fca6b87bbb02e10cb60b791450e11e4" 2073 | dependencies = [ 2074 | "dirs 4.0.0", 2075 | ] 2076 | 2077 | [[package]] 2078 | name = "signature" 2079 | version = "1.6.4" 2080 | source = "registry+https://github.com/rust-lang/crates.io-index" 2081 | checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" 2082 | dependencies = [ 2083 | "digest", 2084 | "rand_core", 2085 | ] 2086 | 2087 | [[package]] 2088 | name = "simdutf8" 2089 | version = "0.1.4" 2090 | source = "registry+https://github.com/rust-lang/crates.io-index" 2091 | checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" 2092 | 2093 | [[package]] 2094 | name = "slab" 2095 | version = "0.4.8" 2096 | source = "registry+https://github.com/rust-lang/crates.io-index" 2097 | checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" 2098 | dependencies = [ 2099 | "autocfg", 2100 | ] 2101 | 2102 | [[package]] 2103 | name = "slice-group-by" 2104 | version = "0.3.1" 2105 | source = "registry+https://github.com/rust-lang/crates.io-index" 2106 | checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" 2107 | 2108 | [[package]] 2109 | name = "smallvec" 2110 | version = "1.11.0" 2111 | source = "registry+https://github.com/rust-lang/crates.io-index" 2112 | checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" 2113 | 2114 | [[package]] 2115 | name = "socket2" 2116 | version = "0.4.9" 2117 | source = "registry+https://github.com/rust-lang/crates.io-index" 2118 | checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" 2119 | dependencies = [ 2120 | "libc", 2121 | "winapi", 2122 | ] 2123 | 2124 | [[package]] 2125 | name = "socket2" 2126 | version = "0.5.3" 2127 | source = "registry+https://github.com/rust-lang/crates.io-index" 2128 | checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" 2129 | dependencies = [ 2130 | "libc", 2131 | "windows-sys 0.48.0", 2132 | ] 2133 | 2134 | [[package]] 2135 | name = "spin" 2136 | version = "0.5.2" 2137 | source = "registry+https://github.com/rust-lang/crates.io-index" 2138 | checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" 2139 | 2140 | [[package]] 2141 | name = "spki" 2142 | version = "0.6.0" 2143 | source = "registry+https://github.com/rust-lang/crates.io-index" 2144 | checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" 2145 | dependencies = [ 2146 | "base64ct", 2147 | "der", 2148 | ] 2149 | 2150 | [[package]] 2151 | name = "stable_deref_trait" 2152 | version = "1.2.0" 2153 | source = "registry+https://github.com/rust-lang/crates.io-index" 2154 | checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" 2155 | 2156 | [[package]] 2157 | name = "subtle" 2158 | version = "2.5.0" 2159 | source = "registry+https://github.com/rust-lang/crates.io-index" 2160 | checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" 2161 | 2162 | [[package]] 2163 | name = "syn" 2164 | version = "1.0.109" 2165 | source = "registry+https://github.com/rust-lang/crates.io-index" 2166 | checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 2167 | dependencies = [ 2168 | "proc-macro2", 2169 | "quote", 2170 | "unicode-ident", 2171 | ] 2172 | 2173 | [[package]] 2174 | name = "syn" 2175 | version = "2.0.23" 2176 | source = "registry+https://github.com/rust-lang/crates.io-index" 2177 | checksum = "59fb7d6d8281a51045d62b8eb3a7d1ce347b76f312af50cd3dc0af39c87c1737" 2178 | dependencies = [ 2179 | "proc-macro2", 2180 | "quote", 2181 | "unicode-ident", 2182 | ] 2183 | 2184 | [[package]] 2185 | name = "tap" 2186 | version = "1.0.1" 2187 | source = "registry+https://github.com/rust-lang/crates.io-index" 2188 | checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" 2189 | 2190 | [[package]] 2191 | name = "tar" 2192 | version = "0.4.40" 2193 | source = "registry+https://github.com/rust-lang/crates.io-index" 2194 | checksum = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb" 2195 | dependencies = [ 2196 | "filetime", 2197 | "libc", 2198 | "xattr", 2199 | ] 2200 | 2201 | [[package]] 2202 | name = "target-lexicon" 2203 | version = "0.12.11" 2204 | source = "registry+https://github.com/rust-lang/crates.io-index" 2205 | checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" 2206 | 2207 | [[package]] 2208 | name = "tempfile" 2209 | version = "3.7.1" 2210 | source = "registry+https://github.com/rust-lang/crates.io-index" 2211 | checksum = "dc02fddf48964c42031a0b3fe0428320ecf3a73c401040fc0096f97794310651" 2212 | dependencies = [ 2213 | "cfg-if", 2214 | "fastrand", 2215 | "redox_syscall 0.3.5", 2216 | "rustix", 2217 | "windows-sys 0.48.0", 2218 | ] 2219 | 2220 | [[package]] 2221 | name = "thiserror" 2222 | version = "1.0.41" 2223 | source = "registry+https://github.com/rust-lang/crates.io-index" 2224 | checksum = "c16a64ba9387ef3fdae4f9c1a7f07a0997fce91985c0336f1ddc1822b3b37802" 2225 | dependencies = [ 2226 | "thiserror-impl", 2227 | ] 2228 | 2229 | [[package]] 2230 | name = "thiserror-impl" 2231 | version = "1.0.41" 2232 | source = "registry+https://github.com/rust-lang/crates.io-index" 2233 | checksum = "d14928354b01c4d6a4f0e549069adef399a284e7995c7ccca94e8a07a5346c59" 2234 | dependencies = [ 2235 | "proc-macro2", 2236 | "quote", 2237 | "syn 2.0.23", 2238 | ] 2239 | 2240 | [[package]] 2241 | name = "tinyvec" 2242 | version = "1.6.0" 2243 | source = "registry+https://github.com/rust-lang/crates.io-index" 2244 | checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" 2245 | dependencies = [ 2246 | "tinyvec_macros", 2247 | ] 2248 | 2249 | [[package]] 2250 | name = "tinyvec_macros" 2251 | version = "0.1.1" 2252 | source = "registry+https://github.com/rust-lang/crates.io-index" 2253 | checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 2254 | 2255 | [[package]] 2256 | name = "tokio" 2257 | version = "1.32.0" 2258 | source = "registry+https://github.com/rust-lang/crates.io-index" 2259 | checksum = "17ed6077ed6cd6c74735e21f37eb16dc3935f96878b1fe961074089cc80893f9" 2260 | dependencies = [ 2261 | "backtrace", 2262 | "bytes", 2263 | "libc", 2264 | "mio", 2265 | "num_cpus", 2266 | "pin-project-lite", 2267 | "socket2 0.5.3", 2268 | "windows-sys 0.48.0", 2269 | ] 2270 | 2271 | [[package]] 2272 | name = "tokio-rustls" 2273 | version = "0.24.1" 2274 | source = "registry+https://github.com/rust-lang/crates.io-index" 2275 | checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" 2276 | dependencies = [ 2277 | "rustls", 2278 | "tokio", 2279 | ] 2280 | 2281 | [[package]] 2282 | name = "tokio-util" 2283 | version = "0.7.8" 2284 | source = "registry+https://github.com/rust-lang/crates.io-index" 2285 | checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" 2286 | dependencies = [ 2287 | "bytes", 2288 | "futures-core", 2289 | "futures-sink", 2290 | "pin-project-lite", 2291 | "tokio", 2292 | "tracing", 2293 | ] 2294 | 2295 | [[package]] 2296 | name = "tower-service" 2297 | version = "0.3.2" 2298 | source = "registry+https://github.com/rust-lang/crates.io-index" 2299 | checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" 2300 | 2301 | [[package]] 2302 | name = "tracing" 2303 | version = "0.1.37" 2304 | source = "registry+https://github.com/rust-lang/crates.io-index" 2305 | checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" 2306 | dependencies = [ 2307 | "cfg-if", 2308 | "pin-project-lite", 2309 | "tracing-attributes", 2310 | "tracing-core", 2311 | ] 2312 | 2313 | [[package]] 2314 | name = "tracing-attributes" 2315 | version = "0.1.26" 2316 | source = "registry+https://github.com/rust-lang/crates.io-index" 2317 | checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" 2318 | dependencies = [ 2319 | "proc-macro2", 2320 | "quote", 2321 | "syn 2.0.23", 2322 | ] 2323 | 2324 | [[package]] 2325 | name = "tracing-core" 2326 | version = "0.1.31" 2327 | source = "registry+https://github.com/rust-lang/crates.io-index" 2328 | checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" 2329 | dependencies = [ 2330 | "once_cell", 2331 | ] 2332 | 2333 | [[package]] 2334 | name = "try-lock" 2335 | version = "0.2.4" 2336 | source = "registry+https://github.com/rust-lang/crates.io-index" 2337 | checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" 2338 | 2339 | [[package]] 2340 | name = "typenum" 2341 | version = "1.16.0" 2342 | source = "registry+https://github.com/rust-lang/crates.io-index" 2343 | checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" 2344 | 2345 | [[package]] 2346 | name = "unicode-bidi" 2347 | version = "0.3.13" 2348 | source = "registry+https://github.com/rust-lang/crates.io-index" 2349 | checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" 2350 | 2351 | [[package]] 2352 | name = "unicode-ident" 2353 | version = "1.0.10" 2354 | source = "registry+https://github.com/rust-lang/crates.io-index" 2355 | checksum = "22049a19f4a68748a168c0fc439f9516686aa045927ff767eca0a85101fb6e73" 2356 | 2357 | [[package]] 2358 | name = "unicode-normalization" 2359 | version = "0.1.22" 2360 | source = "registry+https://github.com/rust-lang/crates.io-index" 2361 | checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" 2362 | dependencies = [ 2363 | "tinyvec", 2364 | ] 2365 | 2366 | [[package]] 2367 | name = "unicode-width" 2368 | version = "0.1.10" 2369 | source = "registry+https://github.com/rust-lang/crates.io-index" 2370 | checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" 2371 | 2372 | [[package]] 2373 | name = "unicode-xid" 2374 | version = "0.2.4" 2375 | source = "registry+https://github.com/rust-lang/crates.io-index" 2376 | checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" 2377 | 2378 | [[package]] 2379 | name = "untrusted" 2380 | version = "0.7.1" 2381 | source = "registry+https://github.com/rust-lang/crates.io-index" 2382 | checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" 2383 | 2384 | [[package]] 2385 | name = "url" 2386 | version = "2.4.0" 2387 | source = "registry+https://github.com/rust-lang/crates.io-index" 2388 | checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" 2389 | dependencies = [ 2390 | "form_urlencoded", 2391 | "idna", 2392 | "percent-encoding", 2393 | ] 2394 | 2395 | [[package]] 2396 | name = "uuid" 2397 | version = "1.4.1" 2398 | source = "registry+https://github.com/rust-lang/crates.io-index" 2399 | checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" 2400 | 2401 | [[package]] 2402 | name = "version_check" 2403 | version = "0.9.4" 2404 | source = "registry+https://github.com/rust-lang/crates.io-index" 2405 | checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 2406 | 2407 | [[package]] 2408 | name = "walkdir" 2409 | version = "2.3.3" 2410 | source = "registry+https://github.com/rust-lang/crates.io-index" 2411 | checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" 2412 | dependencies = [ 2413 | "same-file", 2414 | "winapi-util", 2415 | ] 2416 | 2417 | [[package]] 2418 | name = "want" 2419 | version = "0.3.1" 2420 | source = "registry+https://github.com/rust-lang/crates.io-index" 2421 | checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" 2422 | dependencies = [ 2423 | "try-lock", 2424 | ] 2425 | 2426 | [[package]] 2427 | name = "wasi" 2428 | version = "0.11.0+wasi-snapshot-preview1" 2429 | source = "registry+https://github.com/rust-lang/crates.io-index" 2430 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 2431 | 2432 | [[package]] 2433 | name = "wasm-bindgen" 2434 | version = "0.2.87" 2435 | source = "registry+https://github.com/rust-lang/crates.io-index" 2436 | checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" 2437 | dependencies = [ 2438 | "cfg-if", 2439 | "wasm-bindgen-macro", 2440 | ] 2441 | 2442 | [[package]] 2443 | name = "wasm-bindgen-backend" 2444 | version = "0.2.87" 2445 | source = "registry+https://github.com/rust-lang/crates.io-index" 2446 | checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" 2447 | dependencies = [ 2448 | "bumpalo", 2449 | "log", 2450 | "once_cell", 2451 | "proc-macro2", 2452 | "quote", 2453 | "syn 2.0.23", 2454 | "wasm-bindgen-shared", 2455 | ] 2456 | 2457 | [[package]] 2458 | name = "wasm-bindgen-downcast" 2459 | version = "0.1.1" 2460 | source = "registry+https://github.com/rust-lang/crates.io-index" 2461 | checksum = "5dac026d43bcca6e7ce1c0956ba68f59edf6403e8e930a5d891be72c31a44340" 2462 | dependencies = [ 2463 | "js-sys", 2464 | "once_cell", 2465 | "wasm-bindgen", 2466 | "wasm-bindgen-downcast-macros", 2467 | ] 2468 | 2469 | [[package]] 2470 | name = "wasm-bindgen-downcast-macros" 2471 | version = "0.1.1" 2472 | source = "registry+https://github.com/rust-lang/crates.io-index" 2473 | checksum = "c5020cfa87c7cecefef118055d44e3c1fc122c7ec25701d528ee458a0b45f38f" 2474 | dependencies = [ 2475 | "proc-macro2", 2476 | "quote", 2477 | "syn 1.0.109", 2478 | ] 2479 | 2480 | [[package]] 2481 | name = "wasm-bindgen-futures" 2482 | version = "0.4.37" 2483 | source = "registry+https://github.com/rust-lang/crates.io-index" 2484 | checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03" 2485 | dependencies = [ 2486 | "cfg-if", 2487 | "js-sys", 2488 | "wasm-bindgen", 2489 | "web-sys", 2490 | ] 2491 | 2492 | [[package]] 2493 | name = "wasm-bindgen-macro" 2494 | version = "0.2.87" 2495 | source = "registry+https://github.com/rust-lang/crates.io-index" 2496 | checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" 2497 | dependencies = [ 2498 | "quote", 2499 | "wasm-bindgen-macro-support", 2500 | ] 2501 | 2502 | [[package]] 2503 | name = "wasm-bindgen-macro-support" 2504 | version = "0.2.87" 2505 | source = "registry+https://github.com/rust-lang/crates.io-index" 2506 | checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" 2507 | dependencies = [ 2508 | "proc-macro2", 2509 | "quote", 2510 | "syn 2.0.23", 2511 | "wasm-bindgen-backend", 2512 | "wasm-bindgen-shared", 2513 | ] 2514 | 2515 | [[package]] 2516 | name = "wasm-bindgen-shared" 2517 | version = "0.2.87" 2518 | source = "registry+https://github.com/rust-lang/crates.io-index" 2519 | checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" 2520 | 2521 | [[package]] 2522 | name = "wasm-encoder" 2523 | version = "0.32.0" 2524 | source = "registry+https://github.com/rust-lang/crates.io-index" 2525 | checksum = "1ba64e81215916eaeb48fee292f29401d69235d62d8b8fd92a7b2844ec5ae5f7" 2526 | dependencies = [ 2527 | "leb128", 2528 | ] 2529 | 2530 | [[package]] 2531 | name = "wasmer" 2532 | version = "3.3.0" 2533 | source = "registry+https://github.com/rust-lang/crates.io-index" 2534 | checksum = "78caedecd8cb71ed47ccca03b68d69414a3d278bb031e6f93f15759344efdd52" 2535 | dependencies = [ 2536 | "bytes", 2537 | "cfg-if", 2538 | "derivative", 2539 | "indexmap", 2540 | "js-sys", 2541 | "more-asserts", 2542 | "rustc-demangle", 2543 | "serde", 2544 | "serde-wasm-bindgen", 2545 | "target-lexicon", 2546 | "thiserror", 2547 | "wasm-bindgen", 2548 | "wasm-bindgen-downcast", 2549 | "wasmer-compiler", 2550 | "wasmer-compiler-cranelift", 2551 | "wasmer-derive", 2552 | "wasmer-types", 2553 | "wasmer-vm", 2554 | "wasmparser 0.83.0", 2555 | "wasmparser 0.95.0", 2556 | "wat", 2557 | "winapi", 2558 | ] 2559 | 2560 | [[package]] 2561 | name = "wasmer-compiler" 2562 | version = "3.3.0" 2563 | source = "registry+https://github.com/rust-lang/crates.io-index" 2564 | checksum = "726a8450541af4a57c34af7b6973fdbfc79f896cc7e733429577dfd1d1687180" 2565 | dependencies = [ 2566 | "backtrace", 2567 | "cfg-if", 2568 | "enum-iterator", 2569 | "enumset", 2570 | "lazy_static", 2571 | "leb128", 2572 | "memmap2", 2573 | "more-asserts", 2574 | "region", 2575 | "smallvec", 2576 | "thiserror", 2577 | "wasmer-types", 2578 | "wasmer-vm", 2579 | "wasmparser 0.95.0", 2580 | "winapi", 2581 | ] 2582 | 2583 | [[package]] 2584 | name = "wasmer-compiler-cranelift" 2585 | version = "3.3.0" 2586 | source = "registry+https://github.com/rust-lang/crates.io-index" 2587 | checksum = "a1e5633f90f372563ebbdf3f9799c7b29ba11c90e56cf9b54017112d2e656c95" 2588 | dependencies = [ 2589 | "cranelift-codegen", 2590 | "cranelift-entity", 2591 | "cranelift-frontend", 2592 | "gimli 0.26.2", 2593 | "more-asserts", 2594 | "rayon", 2595 | "smallvec", 2596 | "target-lexicon", 2597 | "tracing", 2598 | "wasmer-compiler", 2599 | "wasmer-types", 2600 | ] 2601 | 2602 | [[package]] 2603 | name = "wasmer-derive" 2604 | version = "3.3.0" 2605 | source = "registry+https://github.com/rust-lang/crates.io-index" 2606 | checksum = "97901fdbaae383dbb90ea162cc3a76a9fa58ac39aec7948b4c0b9bbef9307738" 2607 | dependencies = [ 2608 | "proc-macro-error", 2609 | "proc-macro2", 2610 | "quote", 2611 | "syn 1.0.109", 2612 | ] 2613 | 2614 | [[package]] 2615 | name = "wasmer-types" 2616 | version = "3.3.0" 2617 | source = "registry+https://github.com/rust-lang/crates.io-index" 2618 | checksum = "67f1f2839f4f61509550e4ddcd0e658e19f3af862b51c79fda15549d735d659b" 2619 | dependencies = [ 2620 | "bytecheck", 2621 | "enum-iterator", 2622 | "enumset", 2623 | "indexmap", 2624 | "more-asserts", 2625 | "rkyv", 2626 | "target-lexicon", 2627 | "thiserror", 2628 | ] 2629 | 2630 | [[package]] 2631 | name = "wasmer-vm" 2632 | version = "3.3.0" 2633 | source = "registry+https://github.com/rust-lang/crates.io-index" 2634 | checksum = "043118ec4f16d1714fed3aab758b502b864bd865e1d5188626c9ad290100563f" 2635 | dependencies = [ 2636 | "backtrace", 2637 | "cc", 2638 | "cfg-if", 2639 | "corosensei", 2640 | "dashmap", 2641 | "derivative", 2642 | "enum-iterator", 2643 | "fnv", 2644 | "indexmap", 2645 | "lazy_static", 2646 | "libc", 2647 | "mach", 2648 | "memoffset 0.8.0", 2649 | "more-asserts", 2650 | "region", 2651 | "scopeguard", 2652 | "thiserror", 2653 | "wasmer-types", 2654 | "winapi", 2655 | ] 2656 | 2657 | [[package]] 2658 | name = "wasmparser" 2659 | version = "0.83.0" 2660 | source = "registry+https://github.com/rust-lang/crates.io-index" 2661 | checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a" 2662 | 2663 | [[package]] 2664 | name = "wasmparser" 2665 | version = "0.95.0" 2666 | source = "registry+https://github.com/rust-lang/crates.io-index" 2667 | checksum = "f2ea896273ea99b15132414be1da01ab0d8836415083298ecaffbe308eaac87a" 2668 | dependencies = [ 2669 | "indexmap", 2670 | "url", 2671 | ] 2672 | 2673 | [[package]] 2674 | name = "wast" 2675 | version = "64.0.0" 2676 | source = "registry+https://github.com/rust-lang/crates.io-index" 2677 | checksum = "a259b226fd6910225aa7baeba82f9d9933b6d00f2ce1b49b80fa4214328237cc" 2678 | dependencies = [ 2679 | "leb128", 2680 | "memchr", 2681 | "unicode-width", 2682 | "wasm-encoder", 2683 | ] 2684 | 2685 | [[package]] 2686 | name = "wat" 2687 | version = "1.0.71" 2688 | source = "registry+https://github.com/rust-lang/crates.io-index" 2689 | checksum = "53253d920ab413fca1c7dc2161d601c79b4fdf631d0ba51dd4343bf9b556c3f6" 2690 | dependencies = [ 2691 | "wast", 2692 | ] 2693 | 2694 | [[package]] 2695 | name = "web-sys" 2696 | version = "0.3.64" 2697 | source = "registry+https://github.com/rust-lang/crates.io-index" 2698 | checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" 2699 | dependencies = [ 2700 | "js-sys", 2701 | "wasm-bindgen", 2702 | ] 2703 | 2704 | [[package]] 2705 | name = "webpki" 2706 | version = "0.22.0" 2707 | source = "registry+https://github.com/rust-lang/crates.io-index" 2708 | checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" 2709 | dependencies = [ 2710 | "ring", 2711 | "untrusted", 2712 | ] 2713 | 2714 | [[package]] 2715 | name = "webpki-roots" 2716 | version = "0.22.6" 2717 | source = "registry+https://github.com/rust-lang/crates.io-index" 2718 | checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" 2719 | dependencies = [ 2720 | "webpki", 2721 | ] 2722 | 2723 | [[package]] 2724 | name = "winapi" 2725 | version = "0.3.9" 2726 | source = "registry+https://github.com/rust-lang/crates.io-index" 2727 | checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 2728 | dependencies = [ 2729 | "winapi-i686-pc-windows-gnu", 2730 | "winapi-x86_64-pc-windows-gnu", 2731 | ] 2732 | 2733 | [[package]] 2734 | name = "winapi-i686-pc-windows-gnu" 2735 | version = "0.4.0" 2736 | source = "registry+https://github.com/rust-lang/crates.io-index" 2737 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 2738 | 2739 | [[package]] 2740 | name = "winapi-util" 2741 | version = "0.1.5" 2742 | source = "registry+https://github.com/rust-lang/crates.io-index" 2743 | checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" 2744 | dependencies = [ 2745 | "winapi", 2746 | ] 2747 | 2748 | [[package]] 2749 | name = "winapi-x86_64-pc-windows-gnu" 2750 | version = "0.4.0" 2751 | source = "registry+https://github.com/rust-lang/crates.io-index" 2752 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 2753 | 2754 | [[package]] 2755 | name = "windows-sys" 2756 | version = "0.33.0" 2757 | source = "registry+https://github.com/rust-lang/crates.io-index" 2758 | checksum = "43dbb096663629518eb1dfa72d80243ca5a6aca764cae62a2df70af760a9be75" 2759 | dependencies = [ 2760 | "windows_aarch64_msvc 0.33.0", 2761 | "windows_i686_gnu 0.33.0", 2762 | "windows_i686_msvc 0.33.0", 2763 | "windows_x86_64_gnu 0.33.0", 2764 | "windows_x86_64_msvc 0.33.0", 2765 | ] 2766 | 2767 | [[package]] 2768 | name = "windows-sys" 2769 | version = "0.48.0" 2770 | source = "registry+https://github.com/rust-lang/crates.io-index" 2771 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 2772 | dependencies = [ 2773 | "windows-targets", 2774 | ] 2775 | 2776 | [[package]] 2777 | name = "windows-targets" 2778 | version = "0.48.1" 2779 | source = "registry+https://github.com/rust-lang/crates.io-index" 2780 | checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" 2781 | dependencies = [ 2782 | "windows_aarch64_gnullvm", 2783 | "windows_aarch64_msvc 0.48.0", 2784 | "windows_i686_gnu 0.48.0", 2785 | "windows_i686_msvc 0.48.0", 2786 | "windows_x86_64_gnu 0.48.0", 2787 | "windows_x86_64_gnullvm", 2788 | "windows_x86_64_msvc 0.48.0", 2789 | ] 2790 | 2791 | [[package]] 2792 | name = "windows_aarch64_gnullvm" 2793 | version = "0.48.0" 2794 | source = "registry+https://github.com/rust-lang/crates.io-index" 2795 | checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" 2796 | 2797 | [[package]] 2798 | name = "windows_aarch64_msvc" 2799 | version = "0.33.0" 2800 | source = "registry+https://github.com/rust-lang/crates.io-index" 2801 | checksum = "cd761fd3eb9ab8cc1ed81e56e567f02dd82c4c837e48ac3b2181b9ffc5060807" 2802 | 2803 | [[package]] 2804 | name = "windows_aarch64_msvc" 2805 | version = "0.48.0" 2806 | source = "registry+https://github.com/rust-lang/crates.io-index" 2807 | checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" 2808 | 2809 | [[package]] 2810 | name = "windows_i686_gnu" 2811 | version = "0.33.0" 2812 | source = "registry+https://github.com/rust-lang/crates.io-index" 2813 | checksum = "cab0cf703a96bab2dc0c02c0fa748491294bf9b7feb27e1f4f96340f208ada0e" 2814 | 2815 | [[package]] 2816 | name = "windows_i686_gnu" 2817 | version = "0.48.0" 2818 | source = "registry+https://github.com/rust-lang/crates.io-index" 2819 | checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" 2820 | 2821 | [[package]] 2822 | name = "windows_i686_msvc" 2823 | version = "0.33.0" 2824 | source = "registry+https://github.com/rust-lang/crates.io-index" 2825 | checksum = "8cfdbe89cc9ad7ce618ba34abc34bbb6c36d99e96cae2245b7943cd75ee773d0" 2826 | 2827 | [[package]] 2828 | name = "windows_i686_msvc" 2829 | version = "0.48.0" 2830 | source = "registry+https://github.com/rust-lang/crates.io-index" 2831 | checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" 2832 | 2833 | [[package]] 2834 | name = "windows_x86_64_gnu" 2835 | version = "0.33.0" 2836 | source = "registry+https://github.com/rust-lang/crates.io-index" 2837 | checksum = "b4dd9b0c0e9ece7bb22e84d70d01b71c6d6248b81a3c60d11869451b4cb24784" 2838 | 2839 | [[package]] 2840 | name = "windows_x86_64_gnu" 2841 | version = "0.48.0" 2842 | source = "registry+https://github.com/rust-lang/crates.io-index" 2843 | checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" 2844 | 2845 | [[package]] 2846 | name = "windows_x86_64_gnullvm" 2847 | version = "0.48.0" 2848 | source = "registry+https://github.com/rust-lang/crates.io-index" 2849 | checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" 2850 | 2851 | [[package]] 2852 | name = "windows_x86_64_msvc" 2853 | version = "0.33.0" 2854 | source = "registry+https://github.com/rust-lang/crates.io-index" 2855 | checksum = "ff1e4aa646495048ec7f3ffddc411e1d829c026a2ec62b39da15c1055e406eaa" 2856 | 2857 | [[package]] 2858 | name = "windows_x86_64_msvc" 2859 | version = "0.48.0" 2860 | source = "registry+https://github.com/rust-lang/crates.io-index" 2861 | checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" 2862 | 2863 | [[package]] 2864 | name = "winreg" 2865 | version = "0.10.1" 2866 | source = "registry+https://github.com/rust-lang/crates.io-index" 2867 | checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" 2868 | dependencies = [ 2869 | "winapi", 2870 | ] 2871 | 2872 | [[package]] 2873 | name = "wyz" 2874 | version = "0.5.1" 2875 | source = "registry+https://github.com/rust-lang/crates.io-index" 2876 | checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" 2877 | dependencies = [ 2878 | "tap", 2879 | ] 2880 | 2881 | [[package]] 2882 | name = "xattr" 2883 | version = "1.0.1" 2884 | source = "registry+https://github.com/rust-lang/crates.io-index" 2885 | checksum = "f4686009f71ff3e5c4dbcf1a282d0a44db3f021ba69350cd42086b3e5f1c6985" 2886 | dependencies = [ 2887 | "libc", 2888 | ] 2889 | 2890 | [[package]] 2891 | name = "zeroize" 2892 | version = "1.6.0" 2893 | source = "registry+https://github.com/rust-lang/crates.io-index" 2894 | checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" 2895 | dependencies = [ 2896 | "zeroize_derive", 2897 | ] 2898 | 2899 | [[package]] 2900 | name = "zeroize_derive" 2901 | version = "1.4.2" 2902 | source = "registry+https://github.com/rust-lang/crates.io-index" 2903 | checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" 2904 | dependencies = [ 2905 | "proc-macro2", 2906 | "quote", 2907 | "syn 2.0.23", 2908 | ] 2909 | --------------------------------------------------------------------------------