├── .gitignore ├── Makefile ├── rust-example ├── Cargo.toml ├── src │ └── main.rs └── Cargo.lock ├── licenses ├── MIT └── Apache-2.0 ├── src ├── main.zig └── WasmAllocator.zig ├── README.md └── WALKTHROUGH.md /.gitignore: -------------------------------------------------------------------------------- 1 | zig-cache 2 | zig-out 3 | main.wasm 4 | main.wasm.o 5 | target/ 6 | .DS_STORE 7 | .zig-cache -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | zig build-exe ./src/main.zig -target wasm32-freestanding --export=user_entrypoint -fno-entry -OReleaseSmall -------------------------------------------------------------------------------- /rust-example/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "call-sieve-program" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 7 | 8 | [dependencies] 9 | ethers = "2.0.9" 10 | eyre = "0.6.8" 11 | futures = "0.3.28" 12 | tokio = { version = "1.32.0", features = ["full"] } 13 | -------------------------------------------------------------------------------- /licenses/MIT: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright 2023 YOUR COMPANY 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. -------------------------------------------------------------------------------- /rust-example/src/main.rs: -------------------------------------------------------------------------------- 1 | use ethers::{ 2 | providers::{Http, Provider}, 3 | types::{transaction::eip2718::TypedTransaction, Address, Eip1559TransactionRequest}, 4 | }; 5 | use std::time::Instant; 6 | 7 | #[tokio::main] 8 | async fn main() -> eyre::Result<()> { 9 | let program_address = "0xbe8044694704684ecaff1e31739a5efeadfade27"; 10 | let rpc_url = "https://sepolia-rollup.arbitrum.io/rpc"; 11 | 12 | let provider = Provider::::try_from(rpc_url)?; 13 | let address: Address = program_address.parse()?; 14 | 15 | let checks: Vec<(u16, bool)> = vec![ 16 | (2, true), 17 | (3, true), 18 | (4, false), 19 | (5, true), 20 | (6, false), 21 | (32, false), 22 | (53, true), 23 | ]; 24 | for (num_to_check, is_prime) in checks { 25 | let tx_req = Eip1559TransactionRequest::new() 26 | .to(address) 27 | .data(num_to_check.to_le_bytes()); 28 | let tx = TypedTransaction::Eip1559(tx_req); 29 | let start = Instant::now(); 30 | let got = provider.call_raw(&tx).await?; 31 | let end = Instant::now(); 32 | println!( 33 | "Checking if {} is_prime = {:?}, took: {:?}", 34 | num_to_check, 35 | got[0] == 1, 36 | end.duration_since(start) 37 | ); 38 | assert!(is_prime as u8 == got[0]); 39 | } 40 | Ok(()) 41 | } 42 | -------------------------------------------------------------------------------- /src/main.zig: -------------------------------------------------------------------------------- 1 | const std = @import("std"); 2 | const WasmAllocator = @import("WasmAllocator.zig"); 3 | 4 | // External imports provided to all WASM programs on Stylus. These functions 5 | // can be use to read input arguments coming into the program and output arguments to callers. 6 | pub extern "vm_hooks" fn read_args(dest: *u8) void; 7 | pub extern "vm_hooks" fn write_result(data: *const u8, len: usize) void; 8 | 9 | // Uses our custom WasmAllocator which is a simple modification over the wasm allocator 10 | // from the Zig standard library as of Zig 0.11.0. 11 | pub const allocator = std.mem.Allocator{ 12 | .ptr = undefined, 13 | .vtable = &WasmAllocator.vtable, 14 | }; 15 | 16 | // Reads input arguments from an external, WASM import into a dynamic slice. 17 | pub fn args(len: usize) ![]u8 { 18 | const input = try allocator.alloc(u8, len); 19 | read_args(@ptrCast(input)); 20 | return input; 21 | } 22 | 23 | // Outputs data as bytes via a write_result, external WASM import. 24 | pub fn output(data: []u8) void { 25 | write_result(@ptrCast(data), data.len); 26 | } 27 | 28 | // The main entrypoint to use for execution of the Stylus WASM program. 29 | export fn user_entrypoint(len: usize) i32 { 30 | // Expects the input is a u16 encoded as little endian bytes. 31 | var input = args(len) catch return 1; 32 | const check_nth_prime = std.mem.readPackedInt(u16, input, 0, std.builtin.Endian.little); 33 | const limit: u16 = 10_000; 34 | if (check_nth_prime > limit) { 35 | @panic("input is greater than limit of 10,000 primes"); 36 | } 37 | // Checks if the number is prime and returns a boolean using the output function. 38 | const is_prime = sieve_of_erathosthenes(limit, check_nth_prime); 39 | var out = input[0..1]; 40 | if (is_prime) { 41 | out[0] = 1; 42 | } else { 43 | out[0] = 0; 44 | } 45 | output(out); 46 | return 0; 47 | } 48 | 49 | // Uses the sieve algorithm to compute the first N primes. We output these 50 | // to a fixed-size array, with a size determined at compile time. To check 51 | // whether or not a number is prime, just pass in the number and receive a boolean output. 52 | fn sieve_of_erathosthenes(comptime limit: usize, nth: u16) bool { 53 | var prime = [_]bool{true} ** limit; 54 | prime[0] = false; 55 | prime[1] = false; 56 | var i: usize = 2; 57 | while (i * i < limit) : (i += 1) { 58 | if (prime[i]) { 59 | var j = i * i; 60 | while (j < limit) : (j += i) 61 | prime[j] = false; 62 | } 63 | } 64 | return prime[nth]; 65 | } 66 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Ethereum Compatible Smart Contracts In Zig 2 | 3 | **NOTE: This repo is a demo showing how smart contracts can be written in Zig. It is not an SDK** 4 | 5 | This repo implements a demo smart contract using the [sieve of erathosthenes](https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes) algorithm to compute prime numbers in the [Zig](https://ziglang.org) programming language. This code can be deployed as a WASM smart contract to [Arbitrum Stylus](https://arbitrum.io/stylus). 6 | 7 | Arbitrum is an Ethereum scaling solution which allows developers to write EVM and WASM smart contracts. Stylus is a new technology developed for [Arbitrum](https://arbitrum.io) chains which gives smart contract developers superpowers. With Stylus, developers can write EVM-compatible smart contracts in many different programming languages, and reap massive performance gains. Stylus slashes fees, with performance gains ranging from **10-70x**, and memory efficiency gains as high as **100-500x**. 8 | 9 | ```zig 10 | fn sieve_of_erathosthenes(comptime limit: usize, nth: u16) bool { 11 | var prime = [_]bool{true} ** limit; 12 | prime[0] = false; 13 | prime[1] = false; 14 | var i: usize = 2; 15 | while (i * i < limit) : (i += 1) { 16 | if (prime[i]) { 17 | var j = i * i; 18 | while (j < limit) : (j += i) 19 | prime[j] = false; 20 | } 21 | } 22 | return prime[nth]; 23 | } 24 | ``` 25 | 26 | 27 | ## Walkthrough 28 | 29 | See our full guide on how we added support for Zig on Arbitrum Stylus in [WALKTHROUGH.md](./WALKTHROUGH.md) 30 | 31 | ## How and Why 32 | 33 | Being able to deploy smart contracts to an Ethereum-based chain is thanks to [WebAssembly](https://www.infoworld.com/article/3291780/what-is-webassembly-the-next-generation-web-platform-explained.html) technology, which all Stylus programs compile to. Stylus smart contracts live under the **same Ethereum state trie** in Arbitrum nodes, and can fully interoperate with Solidity or Vyper EVM smart contracts. With Stylus, developers can write smart contracts in Rust that talk to Solidity and vice versa without any limitations. 34 | 35 | Today, the Stylus testnet also comes with 2 officially supported SDKs for developers to write contracts in the [Rust](https://github.com/OffchainLabs/stylus-sdk-rs) or [C](https://github.com/OffchainLabs/stylus-sdk-c) programming languages. 36 | 37 | However, _anyone_ can add support for new languages in Stylus. **As long as a programming language can compile to WebAssembly**, fit under 24Kb brotli-compressed, and meets some of the gas metering requirements of Stylus, it can be deployed and used onchain. 38 | 39 | Why Zig? 40 | 41 | 1. Zig contains **memory safety guardrails**, requiring developers to think hard about manual memory allocation in a prudent manner 42 | 2. Zig is a **C equivalent** language, and its tooling is also a C compiler. This means C projects can incrementally adopt Zig when refactoring 43 | 3. Zig is **lightning fast** and produces **small binaries**, making it suitable for blockchain applications 44 | 45 | Programs written in Zig and deployed to Stylus have a tiny footprint and will have gas costs comparable, if not equal to, C programs. 46 | 47 | ## License 48 | 49 | This project is fully open source, including an Apache-2.0 or MIT license at your choosing under your own copyright. 50 | -------------------------------------------------------------------------------- /src/WasmAllocator.zig: -------------------------------------------------------------------------------- 1 | const std = @import("std"); 2 | const builtin = @import("builtin"); 3 | const Allocator = std.mem.Allocator; 4 | const mem = std.mem; 5 | const assert = std.debug.assert; 6 | const wasm = std.wasm; 7 | const math = std.math; 8 | 9 | // Instead of the built-in, @wasmMemoryGrow function, Stylus programs need to grow their memory 10 | // via an external import called memory_grow from a group called vm_hooks. 11 | pub extern "vm_hooks" fn pay_for_memory_grow(len: u32) void; 12 | 13 | comptime { 14 | if (!builtin.target.isWasm()) { 15 | @compileError("WasmPageAllocator is only available for wasm32 arch"); 16 | } 17 | } 18 | 19 | pub const vtable = Allocator.VTable{ 20 | .alloc = alloc, 21 | .resize = resize, 22 | .free = free, 23 | }; 24 | 25 | pub const Error = Allocator.Error; 26 | 27 | const max_usize = math.maxInt(usize); 28 | const ushift = math.Log2Int(usize); 29 | const bigpage_size = 64 * 1024; 30 | const pages_per_bigpage = bigpage_size / wasm.page_size; 31 | const bigpage_count = max_usize / bigpage_size; 32 | 33 | /// Because of storing free list pointers, the minimum size class is 3. 34 | const min_class = math.log2(math.ceilPowerOfTwoAssert(usize, 1 + @sizeOf(usize))); 35 | const size_class_count = math.log2(bigpage_size) - min_class; 36 | /// 0 - 1 bigpage 37 | /// 1 - 2 bigpages 38 | /// 2 - 4 bigpages 39 | /// etc. 40 | const big_size_class_count = math.log2(bigpage_count); 41 | 42 | var next_addrs = [1]usize{0} ** size_class_count; 43 | /// For each size class, points to the freed pointer. 44 | var frees = [1]usize{0} ** size_class_count; 45 | /// For each big size class, points to the freed pointer. 46 | var big_frees = [1]usize{0} ** big_size_class_count; 47 | 48 | fn alloc(ctx: *anyopaque, len: usize, log2_align: u8, return_address: usize) ?[*]u8 { 49 | _ = ctx; 50 | _ = return_address; 51 | // Make room for the freelist next pointer. 52 | const alignment = @as(usize, 1) << @intCast(log2_align); 53 | const actual_len = @max(len +| @sizeOf(usize), alignment); 54 | const slot_size = math.ceilPowerOfTwo(usize, actual_len) catch return null; 55 | const class = math.log2(slot_size) - min_class; 56 | if (class < size_class_count) { 57 | const addr = a: { 58 | const top_free_ptr = frees[class]; 59 | if (top_free_ptr != 0) { 60 | const node: *usize = @ptrFromInt(top_free_ptr + (slot_size - @sizeOf(usize))); 61 | frees[class] = node.*; 62 | break :a top_free_ptr; 63 | } 64 | 65 | const next_addr = next_addrs[class]; 66 | if (next_addr % wasm.page_size == 0) { 67 | const addr = allocBigPages(1); 68 | if (addr == 0) return null; 69 | //std.debug.print("allocated fresh slot_size={d} class={d} addr=0x{x}\n", .{ 70 | // slot_size, class, addr, 71 | //}); 72 | next_addrs[class] = addr + slot_size; 73 | break :a addr; 74 | } else { 75 | next_addrs[class] = next_addr + slot_size; 76 | break :a next_addr; 77 | } 78 | }; 79 | return @ptrFromInt(addr); 80 | } 81 | const bigpages_needed = bigPagesNeeded(actual_len); 82 | const addr = allocBigPages(bigpages_needed); 83 | return @ptrFromInt(addr); 84 | } 85 | 86 | fn resize( 87 | ctx: *anyopaque, 88 | buf: []u8, 89 | log2_buf_align: u8, 90 | new_len: usize, 91 | return_address: usize, 92 | ) bool { 93 | _ = ctx; 94 | _ = return_address; 95 | // We don't want to move anything from one size class to another, but we 96 | // can recover bytes in between powers of two. 97 | const buf_align = @as(usize, 1) << @intCast(log2_buf_align); 98 | const old_actual_len = @max(buf.len + @sizeOf(usize), buf_align); 99 | const new_actual_len = @max(new_len +| @sizeOf(usize), buf_align); 100 | const old_small_slot_size = math.ceilPowerOfTwoAssert(usize, old_actual_len); 101 | const old_small_class = math.log2(old_small_slot_size) - min_class; 102 | if (old_small_class < size_class_count) { 103 | const new_small_slot_size = math.ceilPowerOfTwo(usize, new_actual_len) catch return false; 104 | return old_small_slot_size == new_small_slot_size; 105 | } else { 106 | const old_bigpages_needed = bigPagesNeeded(old_actual_len); 107 | const old_big_slot_pages = math.ceilPowerOfTwoAssert(usize, old_bigpages_needed); 108 | const new_bigpages_needed = bigPagesNeeded(new_actual_len); 109 | const new_big_slot_pages = math.ceilPowerOfTwo(usize, new_bigpages_needed) catch return false; 110 | return old_big_slot_pages == new_big_slot_pages; 111 | } 112 | } 113 | 114 | inline fn compute_vtable_lookups(ctx: *anyopaque, buf: []u8) void { 115 | _ = buf; 116 | _ = ctx; 117 | } 118 | 119 | fn free( 120 | ctx: *anyopaque, 121 | buf: []u8, 122 | log2_buf_align: u8, 123 | return_address: usize, 124 | ) void { 125 | _ = ctx; 126 | _ = return_address; 127 | const buf_align = @as(usize, 1) << @intCast(log2_buf_align); 128 | const actual_len = @max(buf.len + @sizeOf(usize), buf_align); 129 | const slot_size = math.ceilPowerOfTwoAssert(usize, actual_len); 130 | const class = math.log2(slot_size) - min_class; 131 | const addr = @intFromPtr(buf.ptr); 132 | if (class < size_class_count) { 133 | const node: *usize = @ptrFromInt(addr + (slot_size - @sizeOf(usize))); 134 | node.* = frees[class]; 135 | frees[class] = addr; 136 | } else { 137 | const bigpages_needed = bigPagesNeeded(actual_len); 138 | const pow2_pages = math.ceilPowerOfTwoAssert(usize, bigpages_needed); 139 | const big_slot_size_bytes = pow2_pages * bigpage_size; 140 | const node: *usize = @ptrFromInt(addr + (big_slot_size_bytes - @sizeOf(usize))); 141 | const big_class = math.log2(pow2_pages); 142 | node.* = big_frees[big_class]; 143 | big_frees[big_class] = addr; 144 | } 145 | } 146 | 147 | inline fn bigPagesNeeded(byte_count: usize) usize { 148 | return (byte_count + (bigpage_size + (@sizeOf(usize) - 1))) / bigpage_size; 149 | } 150 | 151 | fn allocBigPages(n: usize) usize { 152 | const pow2_pages = math.ceilPowerOfTwoAssert(usize, n); 153 | const slot_size_bytes = pow2_pages * bigpage_size; 154 | const class = math.log2(pow2_pages); 155 | 156 | const top_free_ptr = big_frees[class]; 157 | if (top_free_ptr != 0) { 158 | const node: *usize = @ptrFromInt(top_free_ptr + (slot_size_bytes - @sizeOf(usize))); 159 | big_frees[class] = node.*; 160 | return top_free_ptr; 161 | } 162 | 163 | pay_for_memory_grow(pow2_pages * pages_per_bigpage); 164 | const addr = wasm.page_size; 165 | return addr; 166 | } 167 | -------------------------------------------------------------------------------- /licenses/Apache-2.0: -------------------------------------------------------------------------------- 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 2023 YOUR COMPANY 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. -------------------------------------------------------------------------------- /WALKTHROUGH.md: -------------------------------------------------------------------------------- 1 | # Adding New Programming Languages to Arbitrum Stylus 2 | 3 | [Arbitrum Stylus](https://arbitrum.io/stylus) is a new technology developed for Arbitrum chains which gives smart contract developers superpowers. With Stylus, developers can write EVM-compatible smart contracts in many different programming languages, and reap massive performance gains. Stylus slashes fees, with performance gains ranging from 10-70x, and memory efficiency gains as high as 100-500x. 4 | 5 | This is possible thanks to [WebAssembly](https://www.infoworld.com/article/3291780/what-is-webassembly-the-next-generation-web-platform-explained.html) technology, which all Stylus programs compile to. Stylus smart contracts live under the **same Ethereum state trie** in Arbitrum nodes, and can fully interoperate with Solidity or Vyper EVM smart contracts. With Stylus, developers can write smart contracts in Rust that talk to Solidity and vice versa without any limitations. 6 | 7 | Today, the Stylus testnet also comes with 2 officially supported SDKs for developers to write contracts in the [Rust](https://github.com/OffchainLabs/stylus-sdk-rs) or [C](https://github.com/OffchainLabs/stylus-sdk-c) programming languages. 8 | 9 | However, _anyone_ can add support for new languages in Stylus. **As long as a programming language can compile to WebAssembly**, fit under 24Kb brotli-compressed, and meets some of the gas metering requirements of Stylus, it can be deployed and used onchain. 10 | 11 | In this document, we go over how we added support for the up-and-coming [Zig](https://ziglang.org/) programming language, which is meant to be a spiritual successor to C that comes with great performance and memory safety **within 20 lines of code**. 12 | 13 | Why Zig? 14 | 15 | 1. Zig contains **memory safety guardrails**, requiring developers to think hard about manual memory allocation in a prudent manner 16 | 2. Zig is a **C equivalent** language, and its tooling is also a C compiler. This means C projects can incrementally adopt Zig when refactoring 17 | 3. Zig is **lightning fast** and produces **small binaries**, making it suitable for blockchain applications 18 | 19 | Programs written in Zig and deployed to Stylus have a tiny footprint and will have gas costs comparable, if not equal to, C programs. 20 | 21 | ## Requirements 22 | 23 | - Download and install [Zig](https://ziglang.org/downloads) 24 | - Install [Rust](https://www.rust-lang.org/tools/install), which we'll need for the [Stylus CLI tool](https://github.com/OffchainLabs/cargo-stylus) to deploy our program to the Stylus testnet 25 | 26 | We'll also be using Rust to run an example script that can call our Zig contract on the Stylus testnet using the popular [ethers-rs](https://github.com/gakonst/ethers-rs) library. 27 | 28 | Once Rust is installed, also install the Stylus CLI tool with 29 | 30 | ``` 31 | cargo install cargo-stylus 32 | ``` 33 | 34 | ## Using Zig with Stylus 35 | 36 | First, let's clone the repository: 37 | 38 | ``` 39 | git clone https://offchainlabs/zig-on-stylus && cd zig-on-stylus 40 | ``` 41 | 42 | then delete everything inside of `main.zig`. We'll be filling it out ourselves in this tutorial. 43 | 44 | To support Stylus, your Zig programs need to define a special entrypoint function, which takes in the length of its input args, `len`, and returns a status code `i32`, which is either 0 or 1. We won't need the Zig standard library for this. 45 | 46 | One more thing it needs is to use a special function, called `pay_for_memory_grow` which can allocate memory for your program. This function is *injected* into all Stylus contracts as an external import. Internally, we call these `vm_hooks`, and also refer to them as `host-io's`, because they give you access to the host, EVM environment. 47 | 48 | Go ahead and replace everything in your `main.zig` function with: 49 | 50 | ```c 51 | pub extern "vm_hooks" fn pay_for_memory_grow(len: u32) void; 52 | 53 | export fn mark_unused() void { 54 | memory_grow(0); 55 | @panic(""); 56 | } 57 | 58 | // The main entrypoint to use for execution of the Stylus WASM program. 59 | export fn user_entrypoint(len: usize) i32 { 60 | _ = len; 61 | return 0; 62 | } 63 | ``` 64 | 65 | At the top, we declare the `memory_grow` external function for use. 66 | 67 | Next, we can build our Zig library to a freestanding WASM file for our onchain deployment: 68 | 69 | ```bash 70 | zig build-exe ./src/main.zig -target wasm32-freestanding --export=user_entrypoint -fno-entry -OReleaseSmall 71 | ``` 72 | 73 | This is enough for us to deploy on the Stylus testnet! We'll use the [Stylus CLI tool](https://github.com/OffchainLabs/cargo-stylus), which you installed earlier using `cargo install cargo-stylus cargo-stylus-check --force`: 74 | 75 | ``` 76 | cargo stylus deploy --private-key= --wasm-file=main.wasm 77 | ``` 78 | 79 | The tool will send two transactions: one to deploy your Zig contract's code onchain, and the other to activate it for usage. 80 | 81 | ``` 82 | Uncompressed WASM size: 112 B 83 | Compressed WASM size to be deployed onchain: 103 B 84 | ``` 85 | 86 | You can see that our Zig program is _tiny_ when compiled to WASM. Next, we can call our contract to make sure it works using any of your favorite Ethereum tooling. In this example below, we use the `cast` CLI tool provided by [foundry](https://github.com/foundry-rs/foundry). The contract above has been deployed to the Stylus testnet at address `0xbe8044694704684ecaff1e31739a5efeadfade27`. 87 | 88 | ``` 89 | export ADDR=0xbe8044694704684ecaff1e31739a5efeadfade27 90 | cast call --rpc-url 'https://sepolia-rollup.arbitrum.io/rpc ' $ADDR '0x' 91 | ``` 92 | 93 | Calling the contract via RPC should simply return the value `0` as we programmed it to. 94 | 95 | ``` 96 | 0x 97 | ``` 98 | 99 | ### Reading Input and Writing Output Data 100 | 101 | Smart contracts on Ethereum, at the bare minimum, can take in data and output data as bytes. Stylus programs are no different, and to do anything useful, we need to be able to read from user input also write our output to the caller. To do this, the Stylus runtime provides all Stylus programs with two additional, useful host-ios: 102 | 103 | ```c 104 | pub extern "vm_hooks" fn read_args(dest: *u8) void; 105 | pub extern "vm_hooks" fn write_result(data: *const u8, len: usize) void; 106 | ``` 107 | 108 | Add these near the top of your `main.zig` file. 109 | 110 | The first, `read_args` takes in a pointer to a byte slice where the input arguments will be written to. The length of this byte slice must equal the length of the program args received in the `user_entrypoint`. We can write a helper function that uses this vm hook and gives us a byte slice in Zig we can then operate on. 111 | 112 | ```c 113 | // Allocates a Zig byte slice of length=`len` reads a Stylus contract's calldata 114 | // using the read_args hostio function. 115 | pub fn input(len: usize) ![]u8 { 116 | var input = try allocator.alloc(u8, len); 117 | read_args(@ptrCast(*u8, input)); 118 | return input; 119 | } 120 | ``` 121 | 122 | Next, we implement a helper function that outputs the data bytes to the Stylus contract's caller: 123 | 124 | ```c 125 | // Outputs data as bytes via the write_result hostio to the Stylus contract's caller. 126 | pub fn output(data: []u8) void { 127 | write_result(@ptrCast(*u8, data), data.len); 128 | } 129 | ``` 130 | 131 | Let's put these together: 132 | 133 | ```c 134 | // The main entrypoint to use for execution of the Stylus WASM program. 135 | // It echoes the input arguments to the caller. 136 | export fn user_entrypoint(len: usize) i32 { 137 | var in = input(len) catch return 1; 138 | output(in); 139 | return 0; 140 | } 141 | ``` 142 | 143 | We're almost good to go, let's try to compile to WASM and deploy to the Stylus testnet. Let's run our build command again: 144 | 145 | ``` 146 | src/main.zig:21:20: error: use of undeclared identifier 'allocator' 147 | var data = try allocator.alloc(u8, len); 148 | ^~~~~~~~~ 149 | ``` 150 | 151 | Oops! Looks like we need an allocator to do our job here. Zig, as a language, requires programmers to think carefully about memory allocation and it's a typical pattern to require them to manually provide an allocator. There are many to choose from, but the Zig standard library already has one built specifically for WASM programs. Memory in WASM programs grows in increments of 64Kb, and the allocator from the stdlib has us covered here. 152 | 153 | Let's try to use it by adding the following to the top of our `main.zig` 154 | 155 | ```c 156 | const std = @import("std"); 157 | const allocator = std.heap.WasmAllocator; 158 | ``` 159 | 160 | Our code compiles, but will it deploy onchain? Run `cargo stylus check --wasm-file=main.wasm` and see: 161 | 162 | ``` 163 | Caused by: 164 | missing import memory_grow 165 | ``` 166 | 167 | What's wrong? This means that the WasmAllocator from the Zig standard library should actually be using our special `pay_for_memory_grow` hostio function underneath the hood. We can fix this by copying over the WasmAllocator.zig file from the standard library, and modifying a single line to use `pay_for_memory_grow`. 168 | 169 | You can find this file under `WasmAllocator.zig` in this repository, so just download it and put it next to your `main.zig`. We can now use it: 170 | 171 | ```c 172 | const std = @import("std"); 173 | const WasmAllocator = @import("WasmAllocator.zig"); 174 | 175 | // Uses our custom WasmAllocator which is a simple modification over the wasm allocator 176 | // from the Zig standard library as of Zig 0.11.0. 177 | pub const allocator = std.mem.Allocator{ 178 | .ptr = undefined, 179 | .vtable = &WasmAllocator.vtable, 180 | }; 181 | ``` 182 | 183 | Building again and running `cargo stylus check` should now succeed: 184 | 185 | ```bash 186 | Uncompressed WASM size: 514 B 187 | Compressed WASM size to be deployed onchain: 341 B 188 | Stylus program with same WASM code is already activated onchain 189 | ``` 190 | 191 | Let's deploy it: 192 | 193 | ``` 194 | cargo stylus deploy --private-key= --wasm-file=main.wasm 195 | ``` 196 | 197 | Now if we try to call it, it will output whatever input we send it, like an echo. Let's send it the input 0x123456: 198 | 199 | ``` 200 | export ADDR=0xbe8044694704684ecaff1e31739a5efeadfade27 201 | cast call --rpc-url 'https://sepolia-rollup.arbitrum.io/rpc ' $ADDR '0x123456' 202 | 203 | 0x123456 204 | ``` 205 | 206 | Works! 207 | 208 | ## Prime Number Checker Implementation 209 | 210 | Let's build something a little bit fancier: this time we'll implement a primality checker in Zig using an ancient algorithm called the [sieve of erathosthenes](https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes). Given a number, our contract will output 1 if it is prime, or 0 otherwise. We'll implement in a pretty naive way, but leverage one of Zig's awesome features: [comptime](https://kristoff.it/blog/what-is-zig-comptime/). 211 | 212 | The `comptime` keyword tells the Zig compiler to evaluate the code involved at compile time, allowing you to define computation that would normally make runtime more expensive and do it while your binary is being compiled! Comptime in Zig is extremely flexible. In this example, we use it to define a slice of booleans up to a certain limit at compile time, which we'll use to mark which numbers are prime or not. 213 | 214 | ```c 215 | fn sieve_of_erathosthenes(comptime limit: usize, nth: u16) bool { 216 | var prime = [_]bool{true} ** limit; 217 | prime[0] = false; 218 | prime[1] = false; 219 | var i: usize = 2; 220 | while (i * i < limit) : (i += 1) { 221 | if (prime[i]) { 222 | var j = i * i; 223 | while (j < limit) : (j += i) 224 | prime[j] = false; 225 | } 226 | } 227 | return prime[nth]; 228 | } 229 | ``` 230 | 231 | Checking if a number N is prime would involve just checking if the value at index N in this `prime` boolean slice is true. We can then integrate this function into our `user_entrypoint`: 232 | 233 | ```c 234 | // The main entrypoint to use for execution of the Stylus WASM program. 235 | export fn user_entrypoint(len: usize) i32 { 236 | // Expects the input is a u16 encoded as little endian bytes. 237 | var input = args(len) catch return 1; 238 | const check_nth_prime = std.mem.readPackedInt(u16, input, 0, std.builtin.Endian.little); 239 | const limit: u16 = 10_000; 240 | if (check_nth_prime > limit) { 241 | @panic("input is greater than limit of 10,000 primes"); 242 | } 243 | // Checks if the number is prime and returns a boolean using the output function. 244 | const is_prime = sieve_of_erathosthenes(limit, check_nth_prime); 245 | var out = input[0..1]; 246 | if (is_prime) { 247 | out[0] = 1; 248 | } else { 249 | out[0] = 0; 250 | } 251 | output(out); 252 | return 0; 253 | } 254 | ``` 255 | 256 | Let's check and deploy it: 257 | 258 | ``` 259 | Uncompressed WASM size: 10.8 KB 260 | Compressed WASM size to be deployed onchain: 525 B 261 | ``` 262 | 263 | Our uncompressed size is big because of that giant array of booleans, but the program is highly compressible because all of them are zeros! 264 | 265 | An instance of this program has been deployed to the Stylus testnet at address `0xbe8044694704684ecaff1e31739a5efeadfade27` 266 | 267 | ## Interacting With Stylus Programs Using Ethers-rs 268 | 269 | An example is included in this repo under `rust-example` which uses the popular [ethers-rs](https://github.com/gakonst/ethers-rs) library to interact with our prime sieve contract on the Stylus testnet. To run it, do: 270 | 271 | ``` 272 | cargo run 273 | ``` 274 | 275 | ...and see: 276 | 277 | ``` 278 | Checking if 2 is_prime = true, took: 404.146917ms 279 | Checking if 3 is_prime = true, took: 154.802083ms 280 | Checking if 4 is_prime = false, took: 123.239583ms 281 | Checking if 5 is_prime = true, took: 109.248709ms 282 | Checking if 6 is_prime = false, took: 113.086625ms 283 | Checking if 32 is_prime = false, took: 280.19975ms 284 | Checking if 53 is_prime = true, took: 123.667958ms 285 | ``` 286 | 287 | ## Where to Go from Here 288 | 289 | The hostios defined in this walkthrough are not the only ones! Check out our [stylus-sdk-c](https://github.com/OffchainLabs/stylus-sdk-c) to see all the hostios you can use under `hostio.h`. These include affordances for the EVM, utilities to access storage, and utilities to call other Arbitrum smart contracts. -------------------------------------------------------------------------------- /rust-example/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 = "Inflector" 7 | version = "0.11.4" 8 | source = "registry+https://github.com/rust-lang/crates.io-index" 9 | checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" 10 | dependencies = [ 11 | "lazy_static", 12 | "regex", 13 | ] 14 | 15 | [[package]] 16 | name = "addr2line" 17 | version = "0.21.0" 18 | source = "registry+https://github.com/rust-lang/crates.io-index" 19 | checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" 20 | dependencies = [ 21 | "gimli", 22 | ] 23 | 24 | [[package]] 25 | name = "adler" 26 | version = "1.0.2" 27 | source = "registry+https://github.com/rust-lang/crates.io-index" 28 | checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 29 | 30 | [[package]] 31 | name = "aes" 32 | version = "0.8.3" 33 | source = "registry+https://github.com/rust-lang/crates.io-index" 34 | checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" 35 | dependencies = [ 36 | "cfg-if", 37 | "cipher", 38 | "cpufeatures", 39 | ] 40 | 41 | [[package]] 42 | name = "aho-corasick" 43 | version = "1.0.5" 44 | source = "registry+https://github.com/rust-lang/crates.io-index" 45 | checksum = "0c378d78423fdad8089616f827526ee33c19f2fddbd5de1629152c9593ba4783" 46 | dependencies = [ 47 | "memchr", 48 | ] 49 | 50 | [[package]] 51 | name = "array-init" 52 | version = "0.0.4" 53 | source = "registry+https://github.com/rust-lang/crates.io-index" 54 | checksum = "23589ecb866b460d3a0f1278834750268c607e8e28a1b982c907219f3178cd72" 55 | dependencies = [ 56 | "nodrop", 57 | ] 58 | 59 | [[package]] 60 | name = "arrayvec" 61 | version = "0.7.4" 62 | source = "registry+https://github.com/rust-lang/crates.io-index" 63 | checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" 64 | 65 | [[package]] 66 | name = "ascii-canvas" 67 | version = "3.0.0" 68 | source = "registry+https://github.com/rust-lang/crates.io-index" 69 | checksum = "8824ecca2e851cec16968d54a01dd372ef8f95b244fb84b84e70128be347c3c6" 70 | dependencies = [ 71 | "term", 72 | ] 73 | 74 | [[package]] 75 | name = "async-trait" 76 | version = "0.1.73" 77 | source = "registry+https://github.com/rust-lang/crates.io-index" 78 | checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" 79 | dependencies = [ 80 | "proc-macro2", 81 | "quote", 82 | "syn 2.0.29", 83 | ] 84 | 85 | [[package]] 86 | name = "async_io_stream" 87 | version = "0.3.3" 88 | source = "registry+https://github.com/rust-lang/crates.io-index" 89 | checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c" 90 | dependencies = [ 91 | "futures", 92 | "pharos", 93 | "rustc_version", 94 | ] 95 | 96 | [[package]] 97 | name = "auto_impl" 98 | version = "1.1.0" 99 | source = "registry+https://github.com/rust-lang/crates.io-index" 100 | checksum = "fee3da8ef1276b0bee5dd1c7258010d8fffd31801447323115a25560e1327b89" 101 | dependencies = [ 102 | "proc-macro-error", 103 | "proc-macro2", 104 | "quote", 105 | "syn 1.0.109", 106 | ] 107 | 108 | [[package]] 109 | name = "autocfg" 110 | version = "1.1.0" 111 | source = "registry+https://github.com/rust-lang/crates.io-index" 112 | checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 113 | 114 | [[package]] 115 | name = "backtrace" 116 | version = "0.3.69" 117 | source = "registry+https://github.com/rust-lang/crates.io-index" 118 | checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" 119 | dependencies = [ 120 | "addr2line", 121 | "cc", 122 | "cfg-if", 123 | "libc", 124 | "miniz_oxide", 125 | "object", 126 | "rustc-demangle", 127 | ] 128 | 129 | [[package]] 130 | name = "base16ct" 131 | version = "0.2.0" 132 | source = "registry+https://github.com/rust-lang/crates.io-index" 133 | checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" 134 | 135 | [[package]] 136 | name = "base64" 137 | version = "0.13.1" 138 | source = "registry+https://github.com/rust-lang/crates.io-index" 139 | checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" 140 | 141 | [[package]] 142 | name = "base64" 143 | version = "0.21.3" 144 | source = "registry+https://github.com/rust-lang/crates.io-index" 145 | checksum = "414dcefbc63d77c526a76b3afcf6fbb9b5e2791c19c3aa2297733208750c6e53" 146 | 147 | [[package]] 148 | name = "base64ct" 149 | version = "1.6.0" 150 | source = "registry+https://github.com/rust-lang/crates.io-index" 151 | checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" 152 | 153 | [[package]] 154 | name = "bech32" 155 | version = "0.9.1" 156 | source = "registry+https://github.com/rust-lang/crates.io-index" 157 | checksum = "d86b93f97252c47b41663388e6d155714a9d0c398b99f1005cbc5f978b29f445" 158 | 159 | [[package]] 160 | name = "bit-set" 161 | version = "0.5.3" 162 | source = "registry+https://github.com/rust-lang/crates.io-index" 163 | checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" 164 | dependencies = [ 165 | "bit-vec", 166 | ] 167 | 168 | [[package]] 169 | name = "bit-vec" 170 | version = "0.6.3" 171 | source = "registry+https://github.com/rust-lang/crates.io-index" 172 | checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" 173 | 174 | [[package]] 175 | name = "bitflags" 176 | version = "1.3.2" 177 | source = "registry+https://github.com/rust-lang/crates.io-index" 178 | checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 179 | 180 | [[package]] 181 | name = "bitflags" 182 | version = "2.4.0" 183 | source = "registry+https://github.com/rust-lang/crates.io-index" 184 | checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" 185 | 186 | [[package]] 187 | name = "bitvec" 188 | version = "1.0.1" 189 | source = "registry+https://github.com/rust-lang/crates.io-index" 190 | checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" 191 | dependencies = [ 192 | "funty", 193 | "radium", 194 | "tap", 195 | "wyz", 196 | ] 197 | 198 | [[package]] 199 | name = "block-buffer" 200 | version = "0.10.4" 201 | source = "registry+https://github.com/rust-lang/crates.io-index" 202 | checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 203 | dependencies = [ 204 | "generic-array", 205 | ] 206 | 207 | [[package]] 208 | name = "bs58" 209 | version = "0.5.0" 210 | source = "registry+https://github.com/rust-lang/crates.io-index" 211 | checksum = "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896" 212 | dependencies = [ 213 | "sha2", 214 | "tinyvec", 215 | ] 216 | 217 | [[package]] 218 | name = "bumpalo" 219 | version = "3.13.0" 220 | source = "registry+https://github.com/rust-lang/crates.io-index" 221 | checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" 222 | 223 | [[package]] 224 | name = "byte-slice-cast" 225 | version = "1.2.2" 226 | source = "registry+https://github.com/rust-lang/crates.io-index" 227 | checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" 228 | 229 | [[package]] 230 | name = "byteorder" 231 | version = "1.4.3" 232 | source = "registry+https://github.com/rust-lang/crates.io-index" 233 | checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" 234 | 235 | [[package]] 236 | name = "bytes" 237 | version = "1.4.0" 238 | source = "registry+https://github.com/rust-lang/crates.io-index" 239 | checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" 240 | dependencies = [ 241 | "serde", 242 | ] 243 | 244 | [[package]] 245 | name = "bzip2" 246 | version = "0.4.4" 247 | source = "registry+https://github.com/rust-lang/crates.io-index" 248 | checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" 249 | dependencies = [ 250 | "bzip2-sys", 251 | "libc", 252 | ] 253 | 254 | [[package]] 255 | name = "bzip2-sys" 256 | version = "0.1.11+1.0.8" 257 | source = "registry+https://github.com/rust-lang/crates.io-index" 258 | checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" 259 | dependencies = [ 260 | "cc", 261 | "libc", 262 | "pkg-config", 263 | ] 264 | 265 | [[package]] 266 | name = "call-sieve-program" 267 | version = "0.1.0" 268 | dependencies = [ 269 | "ethers", 270 | "eyre", 271 | "futures", 272 | "tokio", 273 | ] 274 | 275 | [[package]] 276 | name = "camino" 277 | version = "1.1.6" 278 | source = "registry+https://github.com/rust-lang/crates.io-index" 279 | checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" 280 | dependencies = [ 281 | "serde", 282 | ] 283 | 284 | [[package]] 285 | name = "cargo-platform" 286 | version = "0.1.3" 287 | source = "registry+https://github.com/rust-lang/crates.io-index" 288 | checksum = "2cfa25e60aea747ec7e1124f238816749faa93759c6ff5b31f1ccdda137f4479" 289 | dependencies = [ 290 | "serde", 291 | ] 292 | 293 | [[package]] 294 | name = "cargo_metadata" 295 | version = "0.17.0" 296 | source = "registry+https://github.com/rust-lang/crates.io-index" 297 | checksum = "e7daec1a2a2129eeba1644b220b4647ec537b0b5d4bfd6876fcc5a540056b592" 298 | dependencies = [ 299 | "camino", 300 | "cargo-platform", 301 | "semver", 302 | "serde", 303 | "serde_json", 304 | "thiserror", 305 | ] 306 | 307 | [[package]] 308 | name = "cc" 309 | version = "1.0.83" 310 | source = "registry+https://github.com/rust-lang/crates.io-index" 311 | checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" 312 | dependencies = [ 313 | "jobserver", 314 | "libc", 315 | ] 316 | 317 | [[package]] 318 | name = "cfg-if" 319 | version = "1.0.0" 320 | source = "registry+https://github.com/rust-lang/crates.io-index" 321 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 322 | 323 | [[package]] 324 | name = "chrono" 325 | version = "0.4.28" 326 | source = "registry+https://github.com/rust-lang/crates.io-index" 327 | checksum = "95ed24df0632f708f5f6d8082675bef2596f7084dee3dd55f632290bf35bfe0f" 328 | dependencies = [ 329 | "num-traits", 330 | ] 331 | 332 | [[package]] 333 | name = "cipher" 334 | version = "0.4.4" 335 | source = "registry+https://github.com/rust-lang/crates.io-index" 336 | checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" 337 | dependencies = [ 338 | "crypto-common", 339 | "inout", 340 | ] 341 | 342 | [[package]] 343 | name = "coins-bip32" 344 | version = "0.8.7" 345 | source = "registry+https://github.com/rust-lang/crates.io-index" 346 | checksum = "3b6be4a5df2098cd811f3194f64ddb96c267606bffd9689ac7b0160097b01ad3" 347 | dependencies = [ 348 | "bs58", 349 | "coins-core", 350 | "digest", 351 | "hmac", 352 | "k256", 353 | "serde", 354 | "sha2", 355 | "thiserror", 356 | ] 357 | 358 | [[package]] 359 | name = "coins-bip39" 360 | version = "0.8.7" 361 | source = "registry+https://github.com/rust-lang/crates.io-index" 362 | checksum = "3db8fba409ce3dc04f7d804074039eb68b960b0829161f8e06c95fea3f122528" 363 | dependencies = [ 364 | "bitvec", 365 | "coins-bip32", 366 | "hmac", 367 | "once_cell", 368 | "pbkdf2 0.12.2", 369 | "rand", 370 | "sha2", 371 | "thiserror", 372 | ] 373 | 374 | [[package]] 375 | name = "coins-core" 376 | version = "0.8.7" 377 | source = "registry+https://github.com/rust-lang/crates.io-index" 378 | checksum = "5286a0843c21f8367f7be734f89df9b822e0321d8bcce8d6e735aadff7d74979" 379 | dependencies = [ 380 | "base64 0.21.3", 381 | "bech32", 382 | "bs58", 383 | "digest", 384 | "generic-array", 385 | "hex", 386 | "ripemd", 387 | "serde", 388 | "serde_derive", 389 | "sha2", 390 | "sha3", 391 | "thiserror", 392 | ] 393 | 394 | [[package]] 395 | name = "const-hex" 396 | version = "1.8.0" 397 | source = "registry+https://github.com/rust-lang/crates.io-index" 398 | checksum = "08849ed393c907c90016652a01465a12d86361cd38ad2a7de026c56a520cc259" 399 | dependencies = [ 400 | "cfg-if", 401 | "cpufeatures", 402 | "hex", 403 | "serde", 404 | ] 405 | 406 | [[package]] 407 | name = "const-oid" 408 | version = "0.9.5" 409 | source = "registry+https://github.com/rust-lang/crates.io-index" 410 | checksum = "28c122c3980598d243d63d9a704629a2d748d101f278052ff068be5a4423ab6f" 411 | 412 | [[package]] 413 | name = "constant_time_eq" 414 | version = "0.1.5" 415 | source = "registry+https://github.com/rust-lang/crates.io-index" 416 | checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" 417 | 418 | [[package]] 419 | name = "cpufeatures" 420 | version = "0.2.9" 421 | source = "registry+https://github.com/rust-lang/crates.io-index" 422 | checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" 423 | dependencies = [ 424 | "libc", 425 | ] 426 | 427 | [[package]] 428 | name = "crc32fast" 429 | version = "1.3.2" 430 | source = "registry+https://github.com/rust-lang/crates.io-index" 431 | checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" 432 | dependencies = [ 433 | "cfg-if", 434 | ] 435 | 436 | [[package]] 437 | name = "crossbeam-channel" 438 | version = "0.5.8" 439 | source = "registry+https://github.com/rust-lang/crates.io-index" 440 | checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" 441 | dependencies = [ 442 | "cfg-if", 443 | "crossbeam-utils", 444 | ] 445 | 446 | [[package]] 447 | name = "crossbeam-deque" 448 | version = "0.8.3" 449 | source = "registry+https://github.com/rust-lang/crates.io-index" 450 | checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" 451 | dependencies = [ 452 | "cfg-if", 453 | "crossbeam-epoch", 454 | "crossbeam-utils", 455 | ] 456 | 457 | [[package]] 458 | name = "crossbeam-epoch" 459 | version = "0.9.15" 460 | source = "registry+https://github.com/rust-lang/crates.io-index" 461 | checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" 462 | dependencies = [ 463 | "autocfg", 464 | "cfg-if", 465 | "crossbeam-utils", 466 | "memoffset", 467 | "scopeguard", 468 | ] 469 | 470 | [[package]] 471 | name = "crossbeam-utils" 472 | version = "0.8.16" 473 | source = "registry+https://github.com/rust-lang/crates.io-index" 474 | checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" 475 | dependencies = [ 476 | "cfg-if", 477 | ] 478 | 479 | [[package]] 480 | name = "crunchy" 481 | version = "0.2.2" 482 | source = "registry+https://github.com/rust-lang/crates.io-index" 483 | checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" 484 | 485 | [[package]] 486 | name = "crypto-bigint" 487 | version = "0.5.2" 488 | source = "registry+https://github.com/rust-lang/crates.io-index" 489 | checksum = "cf4c2f4e1afd912bc40bfd6fed5d9dc1f288e0ba01bfcc835cc5bc3eb13efe15" 490 | dependencies = [ 491 | "generic-array", 492 | "rand_core", 493 | "subtle", 494 | "zeroize", 495 | ] 496 | 497 | [[package]] 498 | name = "crypto-common" 499 | version = "0.1.6" 500 | source = "registry+https://github.com/rust-lang/crates.io-index" 501 | checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 502 | dependencies = [ 503 | "generic-array", 504 | "typenum", 505 | ] 506 | 507 | [[package]] 508 | name = "ctr" 509 | version = "0.9.2" 510 | source = "registry+https://github.com/rust-lang/crates.io-index" 511 | checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" 512 | dependencies = [ 513 | "cipher", 514 | ] 515 | 516 | [[package]] 517 | name = "data-encoding" 518 | version = "2.4.0" 519 | source = "registry+https://github.com/rust-lang/crates.io-index" 520 | checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" 521 | 522 | [[package]] 523 | name = "der" 524 | version = "0.7.8" 525 | source = "registry+https://github.com/rust-lang/crates.io-index" 526 | checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" 527 | dependencies = [ 528 | "const-oid", 529 | "zeroize", 530 | ] 531 | 532 | [[package]] 533 | name = "deranged" 534 | version = "0.3.8" 535 | source = "registry+https://github.com/rust-lang/crates.io-index" 536 | checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" 537 | 538 | [[package]] 539 | name = "derive_more" 540 | version = "0.99.17" 541 | source = "registry+https://github.com/rust-lang/crates.io-index" 542 | checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" 543 | dependencies = [ 544 | "proc-macro2", 545 | "quote", 546 | "syn 1.0.109", 547 | ] 548 | 549 | [[package]] 550 | name = "diff" 551 | version = "0.1.13" 552 | source = "registry+https://github.com/rust-lang/crates.io-index" 553 | checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" 554 | 555 | [[package]] 556 | name = "digest" 557 | version = "0.10.7" 558 | source = "registry+https://github.com/rust-lang/crates.io-index" 559 | checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 560 | dependencies = [ 561 | "block-buffer", 562 | "const-oid", 563 | "crypto-common", 564 | "subtle", 565 | ] 566 | 567 | [[package]] 568 | name = "dirs" 569 | version = "5.0.1" 570 | source = "registry+https://github.com/rust-lang/crates.io-index" 571 | checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" 572 | dependencies = [ 573 | "dirs-sys", 574 | ] 575 | 576 | [[package]] 577 | name = "dirs-next" 578 | version = "2.0.0" 579 | source = "registry+https://github.com/rust-lang/crates.io-index" 580 | checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" 581 | dependencies = [ 582 | "cfg-if", 583 | "dirs-sys-next", 584 | ] 585 | 586 | [[package]] 587 | name = "dirs-sys" 588 | version = "0.4.1" 589 | source = "registry+https://github.com/rust-lang/crates.io-index" 590 | checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" 591 | dependencies = [ 592 | "libc", 593 | "option-ext", 594 | "redox_users", 595 | "windows-sys", 596 | ] 597 | 598 | [[package]] 599 | name = "dirs-sys-next" 600 | version = "0.1.2" 601 | source = "registry+https://github.com/rust-lang/crates.io-index" 602 | checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" 603 | dependencies = [ 604 | "libc", 605 | "redox_users", 606 | "winapi", 607 | ] 608 | 609 | [[package]] 610 | name = "dunce" 611 | version = "1.0.4" 612 | source = "registry+https://github.com/rust-lang/crates.io-index" 613 | checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" 614 | 615 | [[package]] 616 | name = "ecdsa" 617 | version = "0.16.8" 618 | source = "registry+https://github.com/rust-lang/crates.io-index" 619 | checksum = "a4b1e0c257a9e9f25f90ff76d7a68360ed497ee519c8e428d1825ef0000799d4" 620 | dependencies = [ 621 | "der", 622 | "digest", 623 | "elliptic-curve", 624 | "rfc6979", 625 | "signature", 626 | "spki", 627 | ] 628 | 629 | [[package]] 630 | name = "either" 631 | version = "1.9.0" 632 | source = "registry+https://github.com/rust-lang/crates.io-index" 633 | checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" 634 | 635 | [[package]] 636 | name = "elliptic-curve" 637 | version = "0.13.5" 638 | source = "registry+https://github.com/rust-lang/crates.io-index" 639 | checksum = "968405c8fdc9b3bf4df0a6638858cc0b52462836ab6b1c87377785dd09cf1c0b" 640 | dependencies = [ 641 | "base16ct", 642 | "crypto-bigint", 643 | "digest", 644 | "ff", 645 | "generic-array", 646 | "group", 647 | "pkcs8", 648 | "rand_core", 649 | "sec1", 650 | "subtle", 651 | "zeroize", 652 | ] 653 | 654 | [[package]] 655 | name = "ena" 656 | version = "0.14.2" 657 | source = "registry+https://github.com/rust-lang/crates.io-index" 658 | checksum = "c533630cf40e9caa44bd91aadc88a75d75a4c3a12b4cfde353cbed41daa1e1f1" 659 | dependencies = [ 660 | "log", 661 | ] 662 | 663 | [[package]] 664 | name = "encoding_rs" 665 | version = "0.8.33" 666 | source = "registry+https://github.com/rust-lang/crates.io-index" 667 | checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" 668 | dependencies = [ 669 | "cfg-if", 670 | ] 671 | 672 | [[package]] 673 | name = "enr" 674 | version = "0.9.0" 675 | source = "registry+https://github.com/rust-lang/crates.io-index" 676 | checksum = "0be7b2ac146c1f99fe245c02d16af0696450d8e06c135db75e10eeb9e642c20d" 677 | dependencies = [ 678 | "base64 0.21.3", 679 | "bytes", 680 | "hex", 681 | "k256", 682 | "log", 683 | "rand", 684 | "rlp", 685 | "serde", 686 | "serde-hex", 687 | "sha3", 688 | "zeroize", 689 | ] 690 | 691 | [[package]] 692 | name = "equivalent" 693 | version = "1.0.1" 694 | source = "registry+https://github.com/rust-lang/crates.io-index" 695 | checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" 696 | 697 | [[package]] 698 | name = "errno" 699 | version = "0.3.3" 700 | source = "registry+https://github.com/rust-lang/crates.io-index" 701 | checksum = "136526188508e25c6fef639d7927dfb3e0e3084488bf202267829cf7fc23dbdd" 702 | dependencies = [ 703 | "errno-dragonfly", 704 | "libc", 705 | "windows-sys", 706 | ] 707 | 708 | [[package]] 709 | name = "errno-dragonfly" 710 | version = "0.1.2" 711 | source = "registry+https://github.com/rust-lang/crates.io-index" 712 | checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" 713 | dependencies = [ 714 | "cc", 715 | "libc", 716 | ] 717 | 718 | [[package]] 719 | name = "eth-keystore" 720 | version = "0.5.0" 721 | source = "registry+https://github.com/rust-lang/crates.io-index" 722 | checksum = "1fda3bf123be441da5260717e0661c25a2fd9cb2b2c1d20bf2e05580047158ab" 723 | dependencies = [ 724 | "aes", 725 | "ctr", 726 | "digest", 727 | "hex", 728 | "hmac", 729 | "pbkdf2 0.11.0", 730 | "rand", 731 | "scrypt", 732 | "serde", 733 | "serde_json", 734 | "sha2", 735 | "sha3", 736 | "thiserror", 737 | "uuid", 738 | ] 739 | 740 | [[package]] 741 | name = "ethabi" 742 | version = "18.0.0" 743 | source = "registry+https://github.com/rust-lang/crates.io-index" 744 | checksum = "7413c5f74cc903ea37386a8965a936cbeb334bd270862fdece542c1b2dcbc898" 745 | dependencies = [ 746 | "ethereum-types", 747 | "hex", 748 | "once_cell", 749 | "regex", 750 | "serde", 751 | "serde_json", 752 | "sha3", 753 | "thiserror", 754 | "uint", 755 | ] 756 | 757 | [[package]] 758 | name = "ethbloom" 759 | version = "0.13.0" 760 | source = "registry+https://github.com/rust-lang/crates.io-index" 761 | checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60" 762 | dependencies = [ 763 | "crunchy", 764 | "fixed-hash", 765 | "impl-codec", 766 | "impl-rlp", 767 | "impl-serde", 768 | "scale-info", 769 | "tiny-keccak", 770 | ] 771 | 772 | [[package]] 773 | name = "ethereum-types" 774 | version = "0.14.1" 775 | source = "registry+https://github.com/rust-lang/crates.io-index" 776 | checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee" 777 | dependencies = [ 778 | "ethbloom", 779 | "fixed-hash", 780 | "impl-codec", 781 | "impl-rlp", 782 | "impl-serde", 783 | "primitive-types", 784 | "scale-info", 785 | "uint", 786 | ] 787 | 788 | [[package]] 789 | name = "ethers" 790 | version = "2.0.9" 791 | source = "registry+https://github.com/rust-lang/crates.io-index" 792 | checksum = "9ba3fd516c15a9a587135229466dbbfc85796de55c5660afbbb1b1c78517d85c" 793 | dependencies = [ 794 | "ethers-addressbook", 795 | "ethers-contract", 796 | "ethers-core", 797 | "ethers-etherscan", 798 | "ethers-middleware", 799 | "ethers-providers", 800 | "ethers-signers", 801 | "ethers-solc", 802 | ] 803 | 804 | [[package]] 805 | name = "ethers-addressbook" 806 | version = "2.0.9" 807 | source = "registry+https://github.com/rust-lang/crates.io-index" 808 | checksum = "0245617f11b8178fa50b52e433e2c34ac69f39116b62c8be2437decf2edf1986" 809 | dependencies = [ 810 | "ethers-core", 811 | "once_cell", 812 | "serde", 813 | "serde_json", 814 | ] 815 | 816 | [[package]] 817 | name = "ethers-contract" 818 | version = "2.0.9" 819 | source = "registry+https://github.com/rust-lang/crates.io-index" 820 | checksum = "02bb80fd2c22631a5eb8a02cbf373cc5fd86937fc966bb670b9a884580c8e71c" 821 | dependencies = [ 822 | "const-hex", 823 | "ethers-contract-abigen", 824 | "ethers-contract-derive", 825 | "ethers-core", 826 | "ethers-providers", 827 | "futures-util", 828 | "once_cell", 829 | "pin-project", 830 | "serde", 831 | "serde_json", 832 | "thiserror", 833 | ] 834 | 835 | [[package]] 836 | name = "ethers-contract-abigen" 837 | version = "2.0.9" 838 | source = "registry+https://github.com/rust-lang/crates.io-index" 839 | checksum = "22c54db0d393393e732a5b20273e4f8ab89f0cce501c84e75fab9c126799a6e6" 840 | dependencies = [ 841 | "Inflector", 842 | "const-hex", 843 | "dunce", 844 | "ethers-core", 845 | "ethers-etherscan", 846 | "eyre", 847 | "prettyplease", 848 | "proc-macro2", 849 | "quote", 850 | "regex", 851 | "reqwest", 852 | "serde", 853 | "serde_json", 854 | "syn 2.0.29", 855 | "toml", 856 | "walkdir", 857 | ] 858 | 859 | [[package]] 860 | name = "ethers-contract-derive" 861 | version = "2.0.9" 862 | source = "registry+https://github.com/rust-lang/crates.io-index" 863 | checksum = "62ee4f216184a1304b707ed258f4f70aa40bf7e1522ab8963d127a8d516eaa1a" 864 | dependencies = [ 865 | "Inflector", 866 | "const-hex", 867 | "ethers-contract-abigen", 868 | "ethers-core", 869 | "proc-macro2", 870 | "quote", 871 | "serde_json", 872 | "syn 2.0.29", 873 | ] 874 | 875 | [[package]] 876 | name = "ethers-core" 877 | version = "2.0.9" 878 | source = "registry+https://github.com/rust-lang/crates.io-index" 879 | checksum = "8c29523f73c12753165781c6e5dc11c84d3e44c080a15f7c6cfbd70b514cb6f1" 880 | dependencies = [ 881 | "arrayvec", 882 | "bytes", 883 | "cargo_metadata", 884 | "chrono", 885 | "const-hex", 886 | "elliptic-curve", 887 | "ethabi", 888 | "generic-array", 889 | "k256", 890 | "num_enum", 891 | "once_cell", 892 | "open-fastrlp", 893 | "rand", 894 | "rlp", 895 | "serde", 896 | "serde_json", 897 | "strum", 898 | "syn 2.0.29", 899 | "tempfile", 900 | "thiserror", 901 | "tiny-keccak", 902 | "unicode-xid", 903 | ] 904 | 905 | [[package]] 906 | name = "ethers-etherscan" 907 | version = "2.0.9" 908 | source = "registry+https://github.com/rust-lang/crates.io-index" 909 | checksum = "4aab5af432b3fe5b7756b60df5c9ddeb85a13414575ad8a9acd707c24f0a77a5" 910 | dependencies = [ 911 | "ethers-core", 912 | "reqwest", 913 | "semver", 914 | "serde", 915 | "serde_json", 916 | "thiserror", 917 | "tracing", 918 | ] 919 | 920 | [[package]] 921 | name = "ethers-middleware" 922 | version = "2.0.9" 923 | source = "registry+https://github.com/rust-lang/crates.io-index" 924 | checksum = "356151d5ded56d4918146366abc9dfc9df367cf0096492a7a5477b21b7693615" 925 | dependencies = [ 926 | "async-trait", 927 | "auto_impl", 928 | "ethers-contract", 929 | "ethers-core", 930 | "ethers-etherscan", 931 | "ethers-providers", 932 | "ethers-signers", 933 | "futures-channel", 934 | "futures-locks", 935 | "futures-util", 936 | "instant", 937 | "reqwest", 938 | "serde", 939 | "serde_json", 940 | "thiserror", 941 | "tokio", 942 | "tracing", 943 | "tracing-futures", 944 | "url", 945 | ] 946 | 947 | [[package]] 948 | name = "ethers-providers" 949 | version = "2.0.9" 950 | source = "registry+https://github.com/rust-lang/crates.io-index" 951 | checksum = "00c84664b294e47fc2860d6db0db0246f79c4c724e552549631bb9505b834bee" 952 | dependencies = [ 953 | "async-trait", 954 | "auto_impl", 955 | "base64 0.21.3", 956 | "bytes", 957 | "const-hex", 958 | "enr", 959 | "ethers-core", 960 | "futures-core", 961 | "futures-timer", 962 | "futures-util", 963 | "hashers", 964 | "http", 965 | "instant", 966 | "jsonwebtoken", 967 | "once_cell", 968 | "pin-project", 969 | "reqwest", 970 | "serde", 971 | "serde_json", 972 | "thiserror", 973 | "tokio", 974 | "tokio-tungstenite", 975 | "tracing", 976 | "tracing-futures", 977 | "url", 978 | "wasm-bindgen", 979 | "wasm-bindgen-futures", 980 | "web-sys", 981 | "ws_stream_wasm", 982 | ] 983 | 984 | [[package]] 985 | name = "ethers-signers" 986 | version = "2.0.9" 987 | source = "registry+https://github.com/rust-lang/crates.io-index" 988 | checksum = "170b299698702ef1f53d2275af7d6d97409cfa4f9398ee9ff518f6bc9102d0ad" 989 | dependencies = [ 990 | "async-trait", 991 | "coins-bip32", 992 | "coins-bip39", 993 | "const-hex", 994 | "elliptic-curve", 995 | "eth-keystore", 996 | "ethers-core", 997 | "rand", 998 | "sha2", 999 | "thiserror", 1000 | "tracing", 1001 | ] 1002 | 1003 | [[package]] 1004 | name = "ethers-solc" 1005 | version = "2.0.9" 1006 | source = "registry+https://github.com/rust-lang/crates.io-index" 1007 | checksum = "66559c8f774712df303c907d087275a52a2046b256791aaa566d5abc8ea66731" 1008 | dependencies = [ 1009 | "cfg-if", 1010 | "const-hex", 1011 | "dirs", 1012 | "dunce", 1013 | "ethers-core", 1014 | "glob", 1015 | "home", 1016 | "md-5", 1017 | "num_cpus", 1018 | "once_cell", 1019 | "path-slash", 1020 | "rayon", 1021 | "regex", 1022 | "semver", 1023 | "serde", 1024 | "serde_json", 1025 | "solang-parser", 1026 | "svm-rs", 1027 | "thiserror", 1028 | "tiny-keccak", 1029 | "tokio", 1030 | "tracing", 1031 | "walkdir", 1032 | "yansi", 1033 | ] 1034 | 1035 | [[package]] 1036 | name = "eyre" 1037 | version = "0.6.8" 1038 | source = "registry+https://github.com/rust-lang/crates.io-index" 1039 | checksum = "4c2b6b5a29c02cdc822728b7d7b8ae1bab3e3b05d44522770ddd49722eeac7eb" 1040 | dependencies = [ 1041 | "indenter", 1042 | "once_cell", 1043 | ] 1044 | 1045 | [[package]] 1046 | name = "fastrand" 1047 | version = "2.0.0" 1048 | source = "registry+https://github.com/rust-lang/crates.io-index" 1049 | checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" 1050 | 1051 | [[package]] 1052 | name = "ff" 1053 | version = "0.13.0" 1054 | source = "registry+https://github.com/rust-lang/crates.io-index" 1055 | checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" 1056 | dependencies = [ 1057 | "rand_core", 1058 | "subtle", 1059 | ] 1060 | 1061 | [[package]] 1062 | name = "fixed-hash" 1063 | version = "0.8.0" 1064 | source = "registry+https://github.com/rust-lang/crates.io-index" 1065 | checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" 1066 | dependencies = [ 1067 | "byteorder", 1068 | "rand", 1069 | "rustc-hex", 1070 | "static_assertions", 1071 | ] 1072 | 1073 | [[package]] 1074 | name = "fixedbitset" 1075 | version = "0.4.2" 1076 | source = "registry+https://github.com/rust-lang/crates.io-index" 1077 | checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" 1078 | 1079 | [[package]] 1080 | name = "flate2" 1081 | version = "1.0.27" 1082 | source = "registry+https://github.com/rust-lang/crates.io-index" 1083 | checksum = "c6c98ee8095e9d1dcbf2fcc6d95acccb90d1c81db1e44725c6a984b1dbdfb010" 1084 | dependencies = [ 1085 | "crc32fast", 1086 | "miniz_oxide", 1087 | ] 1088 | 1089 | [[package]] 1090 | name = "fnv" 1091 | version = "1.0.7" 1092 | source = "registry+https://github.com/rust-lang/crates.io-index" 1093 | checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 1094 | 1095 | [[package]] 1096 | name = "form_urlencoded" 1097 | version = "1.2.0" 1098 | source = "registry+https://github.com/rust-lang/crates.io-index" 1099 | checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" 1100 | dependencies = [ 1101 | "percent-encoding", 1102 | ] 1103 | 1104 | [[package]] 1105 | name = "fs2" 1106 | version = "0.4.3" 1107 | source = "registry+https://github.com/rust-lang/crates.io-index" 1108 | checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" 1109 | dependencies = [ 1110 | "libc", 1111 | "winapi", 1112 | ] 1113 | 1114 | [[package]] 1115 | name = "funty" 1116 | version = "2.0.0" 1117 | source = "registry+https://github.com/rust-lang/crates.io-index" 1118 | checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" 1119 | 1120 | [[package]] 1121 | name = "futures" 1122 | version = "0.3.28" 1123 | source = "registry+https://github.com/rust-lang/crates.io-index" 1124 | checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" 1125 | dependencies = [ 1126 | "futures-channel", 1127 | "futures-core", 1128 | "futures-executor", 1129 | "futures-io", 1130 | "futures-sink", 1131 | "futures-task", 1132 | "futures-util", 1133 | ] 1134 | 1135 | [[package]] 1136 | name = "futures-channel" 1137 | version = "0.3.28" 1138 | source = "registry+https://github.com/rust-lang/crates.io-index" 1139 | checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" 1140 | dependencies = [ 1141 | "futures-core", 1142 | "futures-sink", 1143 | ] 1144 | 1145 | [[package]] 1146 | name = "futures-core" 1147 | version = "0.3.28" 1148 | source = "registry+https://github.com/rust-lang/crates.io-index" 1149 | checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" 1150 | 1151 | [[package]] 1152 | name = "futures-executor" 1153 | version = "0.3.28" 1154 | source = "registry+https://github.com/rust-lang/crates.io-index" 1155 | checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" 1156 | dependencies = [ 1157 | "futures-core", 1158 | "futures-task", 1159 | "futures-util", 1160 | ] 1161 | 1162 | [[package]] 1163 | name = "futures-io" 1164 | version = "0.3.28" 1165 | source = "registry+https://github.com/rust-lang/crates.io-index" 1166 | checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" 1167 | 1168 | [[package]] 1169 | name = "futures-locks" 1170 | version = "0.7.1" 1171 | source = "registry+https://github.com/rust-lang/crates.io-index" 1172 | checksum = "45ec6fe3675af967e67c5536c0b9d44e34e6c52f86bedc4ea49c5317b8e94d06" 1173 | dependencies = [ 1174 | "futures-channel", 1175 | "futures-task", 1176 | ] 1177 | 1178 | [[package]] 1179 | name = "futures-macro" 1180 | version = "0.3.28" 1181 | source = "registry+https://github.com/rust-lang/crates.io-index" 1182 | checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" 1183 | dependencies = [ 1184 | "proc-macro2", 1185 | "quote", 1186 | "syn 2.0.29", 1187 | ] 1188 | 1189 | [[package]] 1190 | name = "futures-sink" 1191 | version = "0.3.28" 1192 | source = "registry+https://github.com/rust-lang/crates.io-index" 1193 | checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" 1194 | 1195 | [[package]] 1196 | name = "futures-task" 1197 | version = "0.3.28" 1198 | source = "registry+https://github.com/rust-lang/crates.io-index" 1199 | checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" 1200 | 1201 | [[package]] 1202 | name = "futures-timer" 1203 | version = "3.0.2" 1204 | source = "registry+https://github.com/rust-lang/crates.io-index" 1205 | checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" 1206 | dependencies = [ 1207 | "gloo-timers", 1208 | "send_wrapper 0.4.0", 1209 | ] 1210 | 1211 | [[package]] 1212 | name = "futures-util" 1213 | version = "0.3.28" 1214 | source = "registry+https://github.com/rust-lang/crates.io-index" 1215 | checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" 1216 | dependencies = [ 1217 | "futures-channel", 1218 | "futures-core", 1219 | "futures-io", 1220 | "futures-macro", 1221 | "futures-sink", 1222 | "futures-task", 1223 | "memchr", 1224 | "pin-project-lite", 1225 | "pin-utils", 1226 | "slab", 1227 | ] 1228 | 1229 | [[package]] 1230 | name = "fxhash" 1231 | version = "0.2.1" 1232 | source = "registry+https://github.com/rust-lang/crates.io-index" 1233 | checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" 1234 | dependencies = [ 1235 | "byteorder", 1236 | ] 1237 | 1238 | [[package]] 1239 | name = "generic-array" 1240 | version = "0.14.7" 1241 | source = "registry+https://github.com/rust-lang/crates.io-index" 1242 | checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 1243 | dependencies = [ 1244 | "typenum", 1245 | "version_check", 1246 | "zeroize", 1247 | ] 1248 | 1249 | [[package]] 1250 | name = "getrandom" 1251 | version = "0.2.10" 1252 | source = "registry+https://github.com/rust-lang/crates.io-index" 1253 | checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" 1254 | dependencies = [ 1255 | "cfg-if", 1256 | "libc", 1257 | "wasi", 1258 | ] 1259 | 1260 | [[package]] 1261 | name = "gimli" 1262 | version = "0.28.0" 1263 | source = "registry+https://github.com/rust-lang/crates.io-index" 1264 | checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" 1265 | 1266 | [[package]] 1267 | name = "glob" 1268 | version = "0.3.1" 1269 | source = "registry+https://github.com/rust-lang/crates.io-index" 1270 | checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" 1271 | 1272 | [[package]] 1273 | name = "gloo-timers" 1274 | version = "0.2.6" 1275 | source = "registry+https://github.com/rust-lang/crates.io-index" 1276 | checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" 1277 | dependencies = [ 1278 | "futures-channel", 1279 | "futures-core", 1280 | "js-sys", 1281 | "wasm-bindgen", 1282 | ] 1283 | 1284 | [[package]] 1285 | name = "group" 1286 | version = "0.13.0" 1287 | source = "registry+https://github.com/rust-lang/crates.io-index" 1288 | checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" 1289 | dependencies = [ 1290 | "ff", 1291 | "rand_core", 1292 | "subtle", 1293 | ] 1294 | 1295 | [[package]] 1296 | name = "h2" 1297 | version = "0.3.21" 1298 | source = "registry+https://github.com/rust-lang/crates.io-index" 1299 | checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833" 1300 | dependencies = [ 1301 | "bytes", 1302 | "fnv", 1303 | "futures-core", 1304 | "futures-sink", 1305 | "futures-util", 1306 | "http", 1307 | "indexmap 1.9.3", 1308 | "slab", 1309 | "tokio", 1310 | "tokio-util", 1311 | "tracing", 1312 | ] 1313 | 1314 | [[package]] 1315 | name = "hashbrown" 1316 | version = "0.12.3" 1317 | source = "registry+https://github.com/rust-lang/crates.io-index" 1318 | checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 1319 | 1320 | [[package]] 1321 | name = "hashbrown" 1322 | version = "0.14.0" 1323 | source = "registry+https://github.com/rust-lang/crates.io-index" 1324 | checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" 1325 | 1326 | [[package]] 1327 | name = "hashers" 1328 | version = "1.0.1" 1329 | source = "registry+https://github.com/rust-lang/crates.io-index" 1330 | checksum = "b2bca93b15ea5a746f220e56587f71e73c6165eab783df9e26590069953e3c30" 1331 | dependencies = [ 1332 | "fxhash", 1333 | ] 1334 | 1335 | [[package]] 1336 | name = "heck" 1337 | version = "0.4.1" 1338 | source = "registry+https://github.com/rust-lang/crates.io-index" 1339 | checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 1340 | 1341 | [[package]] 1342 | name = "hermit-abi" 1343 | version = "0.3.2" 1344 | source = "registry+https://github.com/rust-lang/crates.io-index" 1345 | checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" 1346 | 1347 | [[package]] 1348 | name = "hex" 1349 | version = "0.4.3" 1350 | source = "registry+https://github.com/rust-lang/crates.io-index" 1351 | checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 1352 | 1353 | [[package]] 1354 | name = "hmac" 1355 | version = "0.12.1" 1356 | source = "registry+https://github.com/rust-lang/crates.io-index" 1357 | checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" 1358 | dependencies = [ 1359 | "digest", 1360 | ] 1361 | 1362 | [[package]] 1363 | name = "home" 1364 | version = "0.5.5" 1365 | source = "registry+https://github.com/rust-lang/crates.io-index" 1366 | checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" 1367 | dependencies = [ 1368 | "windows-sys", 1369 | ] 1370 | 1371 | [[package]] 1372 | name = "http" 1373 | version = "0.2.9" 1374 | source = "registry+https://github.com/rust-lang/crates.io-index" 1375 | checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" 1376 | dependencies = [ 1377 | "bytes", 1378 | "fnv", 1379 | "itoa", 1380 | ] 1381 | 1382 | [[package]] 1383 | name = "http-body" 1384 | version = "0.4.5" 1385 | source = "registry+https://github.com/rust-lang/crates.io-index" 1386 | checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" 1387 | dependencies = [ 1388 | "bytes", 1389 | "http", 1390 | "pin-project-lite", 1391 | ] 1392 | 1393 | [[package]] 1394 | name = "httparse" 1395 | version = "1.8.0" 1396 | source = "registry+https://github.com/rust-lang/crates.io-index" 1397 | checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" 1398 | 1399 | [[package]] 1400 | name = "httpdate" 1401 | version = "1.0.3" 1402 | source = "registry+https://github.com/rust-lang/crates.io-index" 1403 | checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" 1404 | 1405 | [[package]] 1406 | name = "hyper" 1407 | version = "0.14.27" 1408 | source = "registry+https://github.com/rust-lang/crates.io-index" 1409 | checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" 1410 | dependencies = [ 1411 | "bytes", 1412 | "futures-channel", 1413 | "futures-core", 1414 | "futures-util", 1415 | "h2", 1416 | "http", 1417 | "http-body", 1418 | "httparse", 1419 | "httpdate", 1420 | "itoa", 1421 | "pin-project-lite", 1422 | "socket2 0.4.9", 1423 | "tokio", 1424 | "tower-service", 1425 | "tracing", 1426 | "want", 1427 | ] 1428 | 1429 | [[package]] 1430 | name = "hyper-rustls" 1431 | version = "0.24.1" 1432 | source = "registry+https://github.com/rust-lang/crates.io-index" 1433 | checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97" 1434 | dependencies = [ 1435 | "futures-util", 1436 | "http", 1437 | "hyper", 1438 | "rustls", 1439 | "tokio", 1440 | "tokio-rustls", 1441 | ] 1442 | 1443 | [[package]] 1444 | name = "idna" 1445 | version = "0.4.0" 1446 | source = "registry+https://github.com/rust-lang/crates.io-index" 1447 | checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" 1448 | dependencies = [ 1449 | "unicode-bidi", 1450 | "unicode-normalization", 1451 | ] 1452 | 1453 | [[package]] 1454 | name = "impl-codec" 1455 | version = "0.6.0" 1456 | source = "registry+https://github.com/rust-lang/crates.io-index" 1457 | checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" 1458 | dependencies = [ 1459 | "parity-scale-codec", 1460 | ] 1461 | 1462 | [[package]] 1463 | name = "impl-rlp" 1464 | version = "0.3.0" 1465 | source = "registry+https://github.com/rust-lang/crates.io-index" 1466 | checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" 1467 | dependencies = [ 1468 | "rlp", 1469 | ] 1470 | 1471 | [[package]] 1472 | name = "impl-serde" 1473 | version = "0.4.0" 1474 | source = "registry+https://github.com/rust-lang/crates.io-index" 1475 | checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd" 1476 | dependencies = [ 1477 | "serde", 1478 | ] 1479 | 1480 | [[package]] 1481 | name = "impl-trait-for-tuples" 1482 | version = "0.2.2" 1483 | source = "registry+https://github.com/rust-lang/crates.io-index" 1484 | checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" 1485 | dependencies = [ 1486 | "proc-macro2", 1487 | "quote", 1488 | "syn 1.0.109", 1489 | ] 1490 | 1491 | [[package]] 1492 | name = "indenter" 1493 | version = "0.3.3" 1494 | source = "registry+https://github.com/rust-lang/crates.io-index" 1495 | checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" 1496 | 1497 | [[package]] 1498 | name = "indexmap" 1499 | version = "1.9.3" 1500 | source = "registry+https://github.com/rust-lang/crates.io-index" 1501 | checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" 1502 | dependencies = [ 1503 | "autocfg", 1504 | "hashbrown 0.12.3", 1505 | ] 1506 | 1507 | [[package]] 1508 | name = "indexmap" 1509 | version = "2.0.0" 1510 | source = "registry+https://github.com/rust-lang/crates.io-index" 1511 | checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" 1512 | dependencies = [ 1513 | "equivalent", 1514 | "hashbrown 0.14.0", 1515 | ] 1516 | 1517 | [[package]] 1518 | name = "inout" 1519 | version = "0.1.3" 1520 | source = "registry+https://github.com/rust-lang/crates.io-index" 1521 | checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" 1522 | dependencies = [ 1523 | "generic-array", 1524 | ] 1525 | 1526 | [[package]] 1527 | name = "instant" 1528 | version = "0.1.12" 1529 | source = "registry+https://github.com/rust-lang/crates.io-index" 1530 | checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" 1531 | dependencies = [ 1532 | "cfg-if", 1533 | ] 1534 | 1535 | [[package]] 1536 | name = "ipnet" 1537 | version = "2.8.0" 1538 | source = "registry+https://github.com/rust-lang/crates.io-index" 1539 | checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" 1540 | 1541 | [[package]] 1542 | name = "is-terminal" 1543 | version = "0.4.9" 1544 | source = "registry+https://github.com/rust-lang/crates.io-index" 1545 | checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" 1546 | dependencies = [ 1547 | "hermit-abi", 1548 | "rustix", 1549 | "windows-sys", 1550 | ] 1551 | 1552 | [[package]] 1553 | name = "itertools" 1554 | version = "0.10.5" 1555 | source = "registry+https://github.com/rust-lang/crates.io-index" 1556 | checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" 1557 | dependencies = [ 1558 | "either", 1559 | ] 1560 | 1561 | [[package]] 1562 | name = "itoa" 1563 | version = "1.0.9" 1564 | source = "registry+https://github.com/rust-lang/crates.io-index" 1565 | checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" 1566 | 1567 | [[package]] 1568 | name = "jobserver" 1569 | version = "0.1.26" 1570 | source = "registry+https://github.com/rust-lang/crates.io-index" 1571 | checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" 1572 | dependencies = [ 1573 | "libc", 1574 | ] 1575 | 1576 | [[package]] 1577 | name = "js-sys" 1578 | version = "0.3.64" 1579 | source = "registry+https://github.com/rust-lang/crates.io-index" 1580 | checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" 1581 | dependencies = [ 1582 | "wasm-bindgen", 1583 | ] 1584 | 1585 | [[package]] 1586 | name = "jsonwebtoken" 1587 | version = "8.3.0" 1588 | source = "registry+https://github.com/rust-lang/crates.io-index" 1589 | checksum = "6971da4d9c3aa03c3d8f3ff0f4155b534aad021292003895a469716b2a230378" 1590 | dependencies = [ 1591 | "base64 0.21.3", 1592 | "pem", 1593 | "ring", 1594 | "serde", 1595 | "serde_json", 1596 | "simple_asn1", 1597 | ] 1598 | 1599 | [[package]] 1600 | name = "k256" 1601 | version = "0.13.1" 1602 | source = "registry+https://github.com/rust-lang/crates.io-index" 1603 | checksum = "cadb76004ed8e97623117f3df85b17aaa6626ab0b0831e6573f104df16cd1bcc" 1604 | dependencies = [ 1605 | "cfg-if", 1606 | "ecdsa", 1607 | "elliptic-curve", 1608 | "once_cell", 1609 | "sha2", 1610 | "signature", 1611 | ] 1612 | 1613 | [[package]] 1614 | name = "keccak" 1615 | version = "0.1.4" 1616 | source = "registry+https://github.com/rust-lang/crates.io-index" 1617 | checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" 1618 | dependencies = [ 1619 | "cpufeatures", 1620 | ] 1621 | 1622 | [[package]] 1623 | name = "lalrpop" 1624 | version = "0.20.0" 1625 | source = "registry+https://github.com/rust-lang/crates.io-index" 1626 | checksum = "da4081d44f4611b66c6dd725e6de3169f9f63905421e8626fcb86b6a898998b8" 1627 | dependencies = [ 1628 | "ascii-canvas", 1629 | "bit-set", 1630 | "diff", 1631 | "ena", 1632 | "is-terminal", 1633 | "itertools", 1634 | "lalrpop-util", 1635 | "petgraph", 1636 | "regex", 1637 | "regex-syntax", 1638 | "string_cache", 1639 | "term", 1640 | "tiny-keccak", 1641 | "unicode-xid", 1642 | ] 1643 | 1644 | [[package]] 1645 | name = "lalrpop-util" 1646 | version = "0.20.0" 1647 | source = "registry+https://github.com/rust-lang/crates.io-index" 1648 | checksum = "3f35c735096c0293d313e8f2a641627472b83d01b937177fe76e5e2708d31e0d" 1649 | 1650 | [[package]] 1651 | name = "lazy_static" 1652 | version = "1.4.0" 1653 | source = "registry+https://github.com/rust-lang/crates.io-index" 1654 | checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 1655 | 1656 | [[package]] 1657 | name = "libc" 1658 | version = "0.2.147" 1659 | source = "registry+https://github.com/rust-lang/crates.io-index" 1660 | checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" 1661 | 1662 | [[package]] 1663 | name = "linux-raw-sys" 1664 | version = "0.4.5" 1665 | source = "registry+https://github.com/rust-lang/crates.io-index" 1666 | checksum = "57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503" 1667 | 1668 | [[package]] 1669 | name = "lock_api" 1670 | version = "0.4.10" 1671 | source = "registry+https://github.com/rust-lang/crates.io-index" 1672 | checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" 1673 | dependencies = [ 1674 | "autocfg", 1675 | "scopeguard", 1676 | ] 1677 | 1678 | [[package]] 1679 | name = "log" 1680 | version = "0.4.20" 1681 | source = "registry+https://github.com/rust-lang/crates.io-index" 1682 | checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" 1683 | 1684 | [[package]] 1685 | name = "maybe-uninit" 1686 | version = "2.0.0" 1687 | source = "registry+https://github.com/rust-lang/crates.io-index" 1688 | checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" 1689 | 1690 | [[package]] 1691 | name = "md-5" 1692 | version = "0.10.5" 1693 | source = "registry+https://github.com/rust-lang/crates.io-index" 1694 | checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca" 1695 | dependencies = [ 1696 | "digest", 1697 | ] 1698 | 1699 | [[package]] 1700 | name = "memchr" 1701 | version = "2.6.2" 1702 | source = "registry+https://github.com/rust-lang/crates.io-index" 1703 | checksum = "5486aed0026218e61b8a01d5fbd5a0a134649abb71a0e53b7bc088529dced86e" 1704 | 1705 | [[package]] 1706 | name = "memoffset" 1707 | version = "0.9.0" 1708 | source = "registry+https://github.com/rust-lang/crates.io-index" 1709 | checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" 1710 | dependencies = [ 1711 | "autocfg", 1712 | ] 1713 | 1714 | [[package]] 1715 | name = "mime" 1716 | version = "0.3.17" 1717 | source = "registry+https://github.com/rust-lang/crates.io-index" 1718 | checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 1719 | 1720 | [[package]] 1721 | name = "miniz_oxide" 1722 | version = "0.7.1" 1723 | source = "registry+https://github.com/rust-lang/crates.io-index" 1724 | checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" 1725 | dependencies = [ 1726 | "adler", 1727 | ] 1728 | 1729 | [[package]] 1730 | name = "mio" 1731 | version = "0.8.8" 1732 | source = "registry+https://github.com/rust-lang/crates.io-index" 1733 | checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" 1734 | dependencies = [ 1735 | "libc", 1736 | "wasi", 1737 | "windows-sys", 1738 | ] 1739 | 1740 | [[package]] 1741 | name = "new_debug_unreachable" 1742 | version = "1.0.4" 1743 | source = "registry+https://github.com/rust-lang/crates.io-index" 1744 | checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" 1745 | 1746 | [[package]] 1747 | name = "nodrop" 1748 | version = "0.1.14" 1749 | source = "registry+https://github.com/rust-lang/crates.io-index" 1750 | checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" 1751 | 1752 | [[package]] 1753 | name = "num-bigint" 1754 | version = "0.4.4" 1755 | source = "registry+https://github.com/rust-lang/crates.io-index" 1756 | checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" 1757 | dependencies = [ 1758 | "autocfg", 1759 | "num-integer", 1760 | "num-traits", 1761 | ] 1762 | 1763 | [[package]] 1764 | name = "num-integer" 1765 | version = "0.1.45" 1766 | source = "registry+https://github.com/rust-lang/crates.io-index" 1767 | checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" 1768 | dependencies = [ 1769 | "autocfg", 1770 | "num-traits", 1771 | ] 1772 | 1773 | [[package]] 1774 | name = "num-traits" 1775 | version = "0.2.16" 1776 | source = "registry+https://github.com/rust-lang/crates.io-index" 1777 | checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" 1778 | dependencies = [ 1779 | "autocfg", 1780 | ] 1781 | 1782 | [[package]] 1783 | name = "num_cpus" 1784 | version = "1.16.0" 1785 | source = "registry+https://github.com/rust-lang/crates.io-index" 1786 | checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" 1787 | dependencies = [ 1788 | "hermit-abi", 1789 | "libc", 1790 | ] 1791 | 1792 | [[package]] 1793 | name = "num_enum" 1794 | version = "0.7.0" 1795 | source = "registry+https://github.com/rust-lang/crates.io-index" 1796 | checksum = "70bf6736f74634d299d00086f02986875b3c2d924781a6a2cb6c201e73da0ceb" 1797 | dependencies = [ 1798 | "num_enum_derive", 1799 | ] 1800 | 1801 | [[package]] 1802 | name = "num_enum_derive" 1803 | version = "0.7.0" 1804 | source = "registry+https://github.com/rust-lang/crates.io-index" 1805 | checksum = "56ea360eafe1022f7cc56cd7b869ed57330fb2453d0c7831d99b74c65d2f5597" 1806 | dependencies = [ 1807 | "proc-macro-crate", 1808 | "proc-macro2", 1809 | "quote", 1810 | "syn 2.0.29", 1811 | ] 1812 | 1813 | [[package]] 1814 | name = "object" 1815 | version = "0.32.0" 1816 | source = "registry+https://github.com/rust-lang/crates.io-index" 1817 | checksum = "77ac5bbd07aea88c60a577a1ce218075ffd59208b2d7ca97adf9bfc5aeb21ebe" 1818 | dependencies = [ 1819 | "memchr", 1820 | ] 1821 | 1822 | [[package]] 1823 | name = "once_cell" 1824 | version = "1.18.0" 1825 | source = "registry+https://github.com/rust-lang/crates.io-index" 1826 | checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" 1827 | 1828 | [[package]] 1829 | name = "open-fastrlp" 1830 | version = "0.1.4" 1831 | source = "registry+https://github.com/rust-lang/crates.io-index" 1832 | checksum = "786393f80485445794f6043fd3138854dd109cc6c4bd1a6383db304c9ce9b9ce" 1833 | dependencies = [ 1834 | "arrayvec", 1835 | "auto_impl", 1836 | "bytes", 1837 | "ethereum-types", 1838 | "open-fastrlp-derive", 1839 | ] 1840 | 1841 | [[package]] 1842 | name = "open-fastrlp-derive" 1843 | version = "0.1.1" 1844 | source = "registry+https://github.com/rust-lang/crates.io-index" 1845 | checksum = "003b2be5c6c53c1cfeb0a238b8a1c3915cd410feb684457a36c10038f764bb1c" 1846 | dependencies = [ 1847 | "bytes", 1848 | "proc-macro2", 1849 | "quote", 1850 | "syn 1.0.109", 1851 | ] 1852 | 1853 | [[package]] 1854 | name = "option-ext" 1855 | version = "0.2.0" 1856 | source = "registry+https://github.com/rust-lang/crates.io-index" 1857 | checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" 1858 | 1859 | [[package]] 1860 | name = "parity-scale-codec" 1861 | version = "3.6.5" 1862 | source = "registry+https://github.com/rust-lang/crates.io-index" 1863 | checksum = "0dec8a8073036902368c2cdc0387e85ff9a37054d7e7c98e592145e0c92cd4fb" 1864 | dependencies = [ 1865 | "arrayvec", 1866 | "bitvec", 1867 | "byte-slice-cast", 1868 | "impl-trait-for-tuples", 1869 | "parity-scale-codec-derive", 1870 | "serde", 1871 | ] 1872 | 1873 | [[package]] 1874 | name = "parity-scale-codec-derive" 1875 | version = "3.6.5" 1876 | source = "registry+https://github.com/rust-lang/crates.io-index" 1877 | checksum = "312270ee71e1cd70289dacf597cab7b207aa107d2f28191c2ae45b2ece18a260" 1878 | dependencies = [ 1879 | "proc-macro-crate", 1880 | "proc-macro2", 1881 | "quote", 1882 | "syn 1.0.109", 1883 | ] 1884 | 1885 | [[package]] 1886 | name = "parking_lot" 1887 | version = "0.12.1" 1888 | source = "registry+https://github.com/rust-lang/crates.io-index" 1889 | checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 1890 | dependencies = [ 1891 | "lock_api", 1892 | "parking_lot_core", 1893 | ] 1894 | 1895 | [[package]] 1896 | name = "parking_lot_core" 1897 | version = "0.9.8" 1898 | source = "registry+https://github.com/rust-lang/crates.io-index" 1899 | checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" 1900 | dependencies = [ 1901 | "cfg-if", 1902 | "libc", 1903 | "redox_syscall 0.3.5", 1904 | "smallvec 1.11.0", 1905 | "windows-targets", 1906 | ] 1907 | 1908 | [[package]] 1909 | name = "password-hash" 1910 | version = "0.4.2" 1911 | source = "registry+https://github.com/rust-lang/crates.io-index" 1912 | checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700" 1913 | dependencies = [ 1914 | "base64ct", 1915 | "rand_core", 1916 | "subtle", 1917 | ] 1918 | 1919 | [[package]] 1920 | name = "path-slash" 1921 | version = "0.2.1" 1922 | source = "registry+https://github.com/rust-lang/crates.io-index" 1923 | checksum = "1e91099d4268b0e11973f036e885d652fb0b21fedcf69738c627f94db6a44f42" 1924 | 1925 | [[package]] 1926 | name = "pbkdf2" 1927 | version = "0.11.0" 1928 | source = "registry+https://github.com/rust-lang/crates.io-index" 1929 | checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" 1930 | dependencies = [ 1931 | "digest", 1932 | "hmac", 1933 | "password-hash", 1934 | "sha2", 1935 | ] 1936 | 1937 | [[package]] 1938 | name = "pbkdf2" 1939 | version = "0.12.2" 1940 | source = "registry+https://github.com/rust-lang/crates.io-index" 1941 | checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" 1942 | dependencies = [ 1943 | "digest", 1944 | "hmac", 1945 | ] 1946 | 1947 | [[package]] 1948 | name = "pem" 1949 | version = "1.1.1" 1950 | source = "registry+https://github.com/rust-lang/crates.io-index" 1951 | checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" 1952 | dependencies = [ 1953 | "base64 0.13.1", 1954 | ] 1955 | 1956 | [[package]] 1957 | name = "percent-encoding" 1958 | version = "2.3.0" 1959 | source = "registry+https://github.com/rust-lang/crates.io-index" 1960 | checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" 1961 | 1962 | [[package]] 1963 | name = "petgraph" 1964 | version = "0.6.4" 1965 | source = "registry+https://github.com/rust-lang/crates.io-index" 1966 | checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" 1967 | dependencies = [ 1968 | "fixedbitset", 1969 | "indexmap 2.0.0", 1970 | ] 1971 | 1972 | [[package]] 1973 | name = "pharos" 1974 | version = "0.5.3" 1975 | source = "registry+https://github.com/rust-lang/crates.io-index" 1976 | checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414" 1977 | dependencies = [ 1978 | "futures", 1979 | "rustc_version", 1980 | ] 1981 | 1982 | [[package]] 1983 | name = "phf" 1984 | version = "0.11.2" 1985 | source = "registry+https://github.com/rust-lang/crates.io-index" 1986 | checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" 1987 | dependencies = [ 1988 | "phf_macros", 1989 | "phf_shared 0.11.2", 1990 | ] 1991 | 1992 | [[package]] 1993 | name = "phf_generator" 1994 | version = "0.11.2" 1995 | source = "registry+https://github.com/rust-lang/crates.io-index" 1996 | checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0" 1997 | dependencies = [ 1998 | "phf_shared 0.11.2", 1999 | "rand", 2000 | ] 2001 | 2002 | [[package]] 2003 | name = "phf_macros" 2004 | version = "0.11.2" 2005 | source = "registry+https://github.com/rust-lang/crates.io-index" 2006 | checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b" 2007 | dependencies = [ 2008 | "phf_generator", 2009 | "phf_shared 0.11.2", 2010 | "proc-macro2", 2011 | "quote", 2012 | "syn 2.0.29", 2013 | ] 2014 | 2015 | [[package]] 2016 | name = "phf_shared" 2017 | version = "0.10.0" 2018 | source = "registry+https://github.com/rust-lang/crates.io-index" 2019 | checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" 2020 | dependencies = [ 2021 | "siphasher", 2022 | ] 2023 | 2024 | [[package]] 2025 | name = "phf_shared" 2026 | version = "0.11.2" 2027 | source = "registry+https://github.com/rust-lang/crates.io-index" 2028 | checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b" 2029 | dependencies = [ 2030 | "siphasher", 2031 | ] 2032 | 2033 | [[package]] 2034 | name = "pin-project" 2035 | version = "1.1.3" 2036 | source = "registry+https://github.com/rust-lang/crates.io-index" 2037 | checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" 2038 | dependencies = [ 2039 | "pin-project-internal", 2040 | ] 2041 | 2042 | [[package]] 2043 | name = "pin-project-internal" 2044 | version = "1.1.3" 2045 | source = "registry+https://github.com/rust-lang/crates.io-index" 2046 | checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" 2047 | dependencies = [ 2048 | "proc-macro2", 2049 | "quote", 2050 | "syn 2.0.29", 2051 | ] 2052 | 2053 | [[package]] 2054 | name = "pin-project-lite" 2055 | version = "0.2.13" 2056 | source = "registry+https://github.com/rust-lang/crates.io-index" 2057 | checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" 2058 | 2059 | [[package]] 2060 | name = "pin-utils" 2061 | version = "0.1.0" 2062 | source = "registry+https://github.com/rust-lang/crates.io-index" 2063 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 2064 | 2065 | [[package]] 2066 | name = "pkcs8" 2067 | version = "0.10.2" 2068 | source = "registry+https://github.com/rust-lang/crates.io-index" 2069 | checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" 2070 | dependencies = [ 2071 | "der", 2072 | "spki", 2073 | ] 2074 | 2075 | [[package]] 2076 | name = "pkg-config" 2077 | version = "0.3.27" 2078 | source = "registry+https://github.com/rust-lang/crates.io-index" 2079 | checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" 2080 | 2081 | [[package]] 2082 | name = "ppv-lite86" 2083 | version = "0.2.17" 2084 | source = "registry+https://github.com/rust-lang/crates.io-index" 2085 | checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" 2086 | 2087 | [[package]] 2088 | name = "precomputed-hash" 2089 | version = "0.1.1" 2090 | source = "registry+https://github.com/rust-lang/crates.io-index" 2091 | checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" 2092 | 2093 | [[package]] 2094 | name = "prettyplease" 2095 | version = "0.2.12" 2096 | source = "registry+https://github.com/rust-lang/crates.io-index" 2097 | checksum = "6c64d9ba0963cdcea2e1b2230fbae2bab30eb25a174be395c41e764bfb65dd62" 2098 | dependencies = [ 2099 | "proc-macro2", 2100 | "syn 2.0.29", 2101 | ] 2102 | 2103 | [[package]] 2104 | name = "primitive-types" 2105 | version = "0.12.1" 2106 | source = "registry+https://github.com/rust-lang/crates.io-index" 2107 | checksum = "9f3486ccba82358b11a77516035647c34ba167dfa53312630de83b12bd4f3d66" 2108 | dependencies = [ 2109 | "fixed-hash", 2110 | "impl-codec", 2111 | "impl-rlp", 2112 | "impl-serde", 2113 | "scale-info", 2114 | "uint", 2115 | ] 2116 | 2117 | [[package]] 2118 | name = "proc-macro-crate" 2119 | version = "1.3.1" 2120 | source = "registry+https://github.com/rust-lang/crates.io-index" 2121 | checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" 2122 | dependencies = [ 2123 | "once_cell", 2124 | "toml_edit", 2125 | ] 2126 | 2127 | [[package]] 2128 | name = "proc-macro-error" 2129 | version = "1.0.4" 2130 | source = "registry+https://github.com/rust-lang/crates.io-index" 2131 | checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" 2132 | dependencies = [ 2133 | "proc-macro-error-attr", 2134 | "proc-macro2", 2135 | "quote", 2136 | "syn 1.0.109", 2137 | "version_check", 2138 | ] 2139 | 2140 | [[package]] 2141 | name = "proc-macro-error-attr" 2142 | version = "1.0.4" 2143 | source = "registry+https://github.com/rust-lang/crates.io-index" 2144 | checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" 2145 | dependencies = [ 2146 | "proc-macro2", 2147 | "quote", 2148 | "version_check", 2149 | ] 2150 | 2151 | [[package]] 2152 | name = "proc-macro2" 2153 | version = "1.0.66" 2154 | source = "registry+https://github.com/rust-lang/crates.io-index" 2155 | checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" 2156 | dependencies = [ 2157 | "unicode-ident", 2158 | ] 2159 | 2160 | [[package]] 2161 | name = "quote" 2162 | version = "1.0.33" 2163 | source = "registry+https://github.com/rust-lang/crates.io-index" 2164 | checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" 2165 | dependencies = [ 2166 | "proc-macro2", 2167 | ] 2168 | 2169 | [[package]] 2170 | name = "radium" 2171 | version = "0.7.0" 2172 | source = "registry+https://github.com/rust-lang/crates.io-index" 2173 | checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" 2174 | 2175 | [[package]] 2176 | name = "rand" 2177 | version = "0.8.5" 2178 | source = "registry+https://github.com/rust-lang/crates.io-index" 2179 | checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 2180 | dependencies = [ 2181 | "libc", 2182 | "rand_chacha", 2183 | "rand_core", 2184 | ] 2185 | 2186 | [[package]] 2187 | name = "rand_chacha" 2188 | version = "0.3.1" 2189 | source = "registry+https://github.com/rust-lang/crates.io-index" 2190 | checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 2191 | dependencies = [ 2192 | "ppv-lite86", 2193 | "rand_core", 2194 | ] 2195 | 2196 | [[package]] 2197 | name = "rand_core" 2198 | version = "0.6.4" 2199 | source = "registry+https://github.com/rust-lang/crates.io-index" 2200 | checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 2201 | dependencies = [ 2202 | "getrandom", 2203 | ] 2204 | 2205 | [[package]] 2206 | name = "rayon" 2207 | version = "1.7.0" 2208 | source = "registry+https://github.com/rust-lang/crates.io-index" 2209 | checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" 2210 | dependencies = [ 2211 | "either", 2212 | "rayon-core", 2213 | ] 2214 | 2215 | [[package]] 2216 | name = "rayon-core" 2217 | version = "1.11.0" 2218 | source = "registry+https://github.com/rust-lang/crates.io-index" 2219 | checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" 2220 | dependencies = [ 2221 | "crossbeam-channel", 2222 | "crossbeam-deque", 2223 | "crossbeam-utils", 2224 | "num_cpus", 2225 | ] 2226 | 2227 | [[package]] 2228 | name = "redox_syscall" 2229 | version = "0.2.16" 2230 | source = "registry+https://github.com/rust-lang/crates.io-index" 2231 | checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" 2232 | dependencies = [ 2233 | "bitflags 1.3.2", 2234 | ] 2235 | 2236 | [[package]] 2237 | name = "redox_syscall" 2238 | version = "0.3.5" 2239 | source = "registry+https://github.com/rust-lang/crates.io-index" 2240 | checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" 2241 | dependencies = [ 2242 | "bitflags 1.3.2", 2243 | ] 2244 | 2245 | [[package]] 2246 | name = "redox_users" 2247 | version = "0.4.3" 2248 | source = "registry+https://github.com/rust-lang/crates.io-index" 2249 | checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" 2250 | dependencies = [ 2251 | "getrandom", 2252 | "redox_syscall 0.2.16", 2253 | "thiserror", 2254 | ] 2255 | 2256 | [[package]] 2257 | name = "regex" 2258 | version = "1.9.4" 2259 | source = "registry+https://github.com/rust-lang/crates.io-index" 2260 | checksum = "12de2eff854e5fa4b1295edd650e227e9d8fb0c9e90b12e7f36d6a6811791a29" 2261 | dependencies = [ 2262 | "aho-corasick", 2263 | "memchr", 2264 | "regex-automata", 2265 | "regex-syntax", 2266 | ] 2267 | 2268 | [[package]] 2269 | name = "regex-automata" 2270 | version = "0.3.7" 2271 | source = "registry+https://github.com/rust-lang/crates.io-index" 2272 | checksum = "49530408a136e16e5b486e883fbb6ba058e8e4e8ae6621a77b048b314336e629" 2273 | dependencies = [ 2274 | "aho-corasick", 2275 | "memchr", 2276 | "regex-syntax", 2277 | ] 2278 | 2279 | [[package]] 2280 | name = "regex-syntax" 2281 | version = "0.7.5" 2282 | source = "registry+https://github.com/rust-lang/crates.io-index" 2283 | checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" 2284 | 2285 | [[package]] 2286 | name = "reqwest" 2287 | version = "0.11.20" 2288 | source = "registry+https://github.com/rust-lang/crates.io-index" 2289 | checksum = "3e9ad3fe7488d7e34558a2033d45a0c90b72d97b4f80705666fea71472e2e6a1" 2290 | dependencies = [ 2291 | "base64 0.21.3", 2292 | "bytes", 2293 | "encoding_rs", 2294 | "futures-core", 2295 | "futures-util", 2296 | "h2", 2297 | "http", 2298 | "http-body", 2299 | "hyper", 2300 | "hyper-rustls", 2301 | "ipnet", 2302 | "js-sys", 2303 | "log", 2304 | "mime", 2305 | "once_cell", 2306 | "percent-encoding", 2307 | "pin-project-lite", 2308 | "rustls", 2309 | "rustls-pemfile", 2310 | "serde", 2311 | "serde_json", 2312 | "serde_urlencoded", 2313 | "tokio", 2314 | "tokio-rustls", 2315 | "tower-service", 2316 | "url", 2317 | "wasm-bindgen", 2318 | "wasm-bindgen-futures", 2319 | "web-sys", 2320 | "webpki-roots 0.25.2", 2321 | "winreg", 2322 | ] 2323 | 2324 | [[package]] 2325 | name = "rfc6979" 2326 | version = "0.4.0" 2327 | source = "registry+https://github.com/rust-lang/crates.io-index" 2328 | checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" 2329 | dependencies = [ 2330 | "hmac", 2331 | "subtle", 2332 | ] 2333 | 2334 | [[package]] 2335 | name = "ring" 2336 | version = "0.16.20" 2337 | source = "registry+https://github.com/rust-lang/crates.io-index" 2338 | checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" 2339 | dependencies = [ 2340 | "cc", 2341 | "libc", 2342 | "once_cell", 2343 | "spin", 2344 | "untrusted", 2345 | "web-sys", 2346 | "winapi", 2347 | ] 2348 | 2349 | [[package]] 2350 | name = "ripemd" 2351 | version = "0.1.3" 2352 | source = "registry+https://github.com/rust-lang/crates.io-index" 2353 | checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" 2354 | dependencies = [ 2355 | "digest", 2356 | ] 2357 | 2358 | [[package]] 2359 | name = "rlp" 2360 | version = "0.5.2" 2361 | source = "registry+https://github.com/rust-lang/crates.io-index" 2362 | checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" 2363 | dependencies = [ 2364 | "bytes", 2365 | "rlp-derive", 2366 | "rustc-hex", 2367 | ] 2368 | 2369 | [[package]] 2370 | name = "rlp-derive" 2371 | version = "0.1.0" 2372 | source = "registry+https://github.com/rust-lang/crates.io-index" 2373 | checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a" 2374 | dependencies = [ 2375 | "proc-macro2", 2376 | "quote", 2377 | "syn 1.0.109", 2378 | ] 2379 | 2380 | [[package]] 2381 | name = "rustc-demangle" 2382 | version = "0.1.23" 2383 | source = "registry+https://github.com/rust-lang/crates.io-index" 2384 | checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" 2385 | 2386 | [[package]] 2387 | name = "rustc-hex" 2388 | version = "2.1.0" 2389 | source = "registry+https://github.com/rust-lang/crates.io-index" 2390 | checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" 2391 | 2392 | [[package]] 2393 | name = "rustc_version" 2394 | version = "0.4.0" 2395 | source = "registry+https://github.com/rust-lang/crates.io-index" 2396 | checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" 2397 | dependencies = [ 2398 | "semver", 2399 | ] 2400 | 2401 | [[package]] 2402 | name = "rustix" 2403 | version = "0.38.10" 2404 | source = "registry+https://github.com/rust-lang/crates.io-index" 2405 | checksum = "ed6248e1caa625eb708e266e06159f135e8c26f2bb7ceb72dc4b2766d0340964" 2406 | dependencies = [ 2407 | "bitflags 2.4.0", 2408 | "errno", 2409 | "libc", 2410 | "linux-raw-sys", 2411 | "windows-sys", 2412 | ] 2413 | 2414 | [[package]] 2415 | name = "rustls" 2416 | version = "0.21.7" 2417 | source = "registry+https://github.com/rust-lang/crates.io-index" 2418 | checksum = "cd8d6c9f025a446bc4d18ad9632e69aec8f287aa84499ee335599fabd20c3fd8" 2419 | dependencies = [ 2420 | "log", 2421 | "ring", 2422 | "rustls-webpki 0.101.4", 2423 | "sct", 2424 | ] 2425 | 2426 | [[package]] 2427 | name = "rustls-pemfile" 2428 | version = "1.0.3" 2429 | source = "registry+https://github.com/rust-lang/crates.io-index" 2430 | checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" 2431 | dependencies = [ 2432 | "base64 0.21.3", 2433 | ] 2434 | 2435 | [[package]] 2436 | name = "rustls-webpki" 2437 | version = "0.100.2" 2438 | source = "registry+https://github.com/rust-lang/crates.io-index" 2439 | checksum = "e98ff011474fa39949b7e5c0428f9b4937eda7da7848bbb947786b7be0b27dab" 2440 | dependencies = [ 2441 | "ring", 2442 | "untrusted", 2443 | ] 2444 | 2445 | [[package]] 2446 | name = "rustls-webpki" 2447 | version = "0.101.4" 2448 | source = "registry+https://github.com/rust-lang/crates.io-index" 2449 | checksum = "7d93931baf2d282fff8d3a532bbfd7653f734643161b87e3e01e59a04439bf0d" 2450 | dependencies = [ 2451 | "ring", 2452 | "untrusted", 2453 | ] 2454 | 2455 | [[package]] 2456 | name = "rustversion" 2457 | version = "1.0.14" 2458 | source = "registry+https://github.com/rust-lang/crates.io-index" 2459 | checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" 2460 | 2461 | [[package]] 2462 | name = "ryu" 2463 | version = "1.0.15" 2464 | source = "registry+https://github.com/rust-lang/crates.io-index" 2465 | checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" 2466 | 2467 | [[package]] 2468 | name = "salsa20" 2469 | version = "0.10.2" 2470 | source = "registry+https://github.com/rust-lang/crates.io-index" 2471 | checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" 2472 | dependencies = [ 2473 | "cipher", 2474 | ] 2475 | 2476 | [[package]] 2477 | name = "same-file" 2478 | version = "1.0.6" 2479 | source = "registry+https://github.com/rust-lang/crates.io-index" 2480 | checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 2481 | dependencies = [ 2482 | "winapi-util", 2483 | ] 2484 | 2485 | [[package]] 2486 | name = "scale-info" 2487 | version = "2.9.0" 2488 | source = "registry+https://github.com/rust-lang/crates.io-index" 2489 | checksum = "35c0a159d0c45c12b20c5a844feb1fe4bea86e28f17b92a5f0c42193634d3782" 2490 | dependencies = [ 2491 | "cfg-if", 2492 | "derive_more", 2493 | "parity-scale-codec", 2494 | "scale-info-derive", 2495 | ] 2496 | 2497 | [[package]] 2498 | name = "scale-info-derive" 2499 | version = "2.9.0" 2500 | source = "registry+https://github.com/rust-lang/crates.io-index" 2501 | checksum = "912e55f6d20e0e80d63733872b40e1227c0bce1e1ab81ba67d696339bfd7fd29" 2502 | dependencies = [ 2503 | "proc-macro-crate", 2504 | "proc-macro2", 2505 | "quote", 2506 | "syn 1.0.109", 2507 | ] 2508 | 2509 | [[package]] 2510 | name = "scopeguard" 2511 | version = "1.2.0" 2512 | source = "registry+https://github.com/rust-lang/crates.io-index" 2513 | checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 2514 | 2515 | [[package]] 2516 | name = "scrypt" 2517 | version = "0.10.0" 2518 | source = "registry+https://github.com/rust-lang/crates.io-index" 2519 | checksum = "9f9e24d2b632954ded8ab2ef9fea0a0c769ea56ea98bddbafbad22caeeadf45d" 2520 | dependencies = [ 2521 | "hmac", 2522 | "pbkdf2 0.11.0", 2523 | "salsa20", 2524 | "sha2", 2525 | ] 2526 | 2527 | [[package]] 2528 | name = "sct" 2529 | version = "0.7.0" 2530 | source = "registry+https://github.com/rust-lang/crates.io-index" 2531 | checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" 2532 | dependencies = [ 2533 | "ring", 2534 | "untrusted", 2535 | ] 2536 | 2537 | [[package]] 2538 | name = "sec1" 2539 | version = "0.7.3" 2540 | source = "registry+https://github.com/rust-lang/crates.io-index" 2541 | checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" 2542 | dependencies = [ 2543 | "base16ct", 2544 | "der", 2545 | "generic-array", 2546 | "pkcs8", 2547 | "subtle", 2548 | "zeroize", 2549 | ] 2550 | 2551 | [[package]] 2552 | name = "semver" 2553 | version = "1.0.18" 2554 | source = "registry+https://github.com/rust-lang/crates.io-index" 2555 | checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" 2556 | dependencies = [ 2557 | "serde", 2558 | ] 2559 | 2560 | [[package]] 2561 | name = "send_wrapper" 2562 | version = "0.4.0" 2563 | source = "registry+https://github.com/rust-lang/crates.io-index" 2564 | checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" 2565 | 2566 | [[package]] 2567 | name = "send_wrapper" 2568 | version = "0.6.0" 2569 | source = "registry+https://github.com/rust-lang/crates.io-index" 2570 | checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" 2571 | 2572 | [[package]] 2573 | name = "serde" 2574 | version = "1.0.188" 2575 | source = "registry+https://github.com/rust-lang/crates.io-index" 2576 | checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e" 2577 | dependencies = [ 2578 | "serde_derive", 2579 | ] 2580 | 2581 | [[package]] 2582 | name = "serde-hex" 2583 | version = "0.1.0" 2584 | source = "registry+https://github.com/rust-lang/crates.io-index" 2585 | checksum = "ca37e3e4d1b39afd7ff11ee4e947efae85adfddf4841787bfa47c470e96dc26d" 2586 | dependencies = [ 2587 | "array-init", 2588 | "serde", 2589 | "smallvec 0.6.14", 2590 | ] 2591 | 2592 | [[package]] 2593 | name = "serde_derive" 2594 | version = "1.0.188" 2595 | source = "registry+https://github.com/rust-lang/crates.io-index" 2596 | checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" 2597 | dependencies = [ 2598 | "proc-macro2", 2599 | "quote", 2600 | "syn 2.0.29", 2601 | ] 2602 | 2603 | [[package]] 2604 | name = "serde_json" 2605 | version = "1.0.105" 2606 | source = "registry+https://github.com/rust-lang/crates.io-index" 2607 | checksum = "693151e1ac27563d6dbcec9dee9fbd5da8539b20fa14ad3752b2e6d363ace360" 2608 | dependencies = [ 2609 | "itoa", 2610 | "ryu", 2611 | "serde", 2612 | ] 2613 | 2614 | [[package]] 2615 | name = "serde_spanned" 2616 | version = "0.6.3" 2617 | source = "registry+https://github.com/rust-lang/crates.io-index" 2618 | checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186" 2619 | dependencies = [ 2620 | "serde", 2621 | ] 2622 | 2623 | [[package]] 2624 | name = "serde_urlencoded" 2625 | version = "0.7.1" 2626 | source = "registry+https://github.com/rust-lang/crates.io-index" 2627 | checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" 2628 | dependencies = [ 2629 | "form_urlencoded", 2630 | "itoa", 2631 | "ryu", 2632 | "serde", 2633 | ] 2634 | 2635 | [[package]] 2636 | name = "sha1" 2637 | version = "0.10.5" 2638 | source = "registry+https://github.com/rust-lang/crates.io-index" 2639 | checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" 2640 | dependencies = [ 2641 | "cfg-if", 2642 | "cpufeatures", 2643 | "digest", 2644 | ] 2645 | 2646 | [[package]] 2647 | name = "sha2" 2648 | version = "0.10.7" 2649 | source = "registry+https://github.com/rust-lang/crates.io-index" 2650 | checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" 2651 | dependencies = [ 2652 | "cfg-if", 2653 | "cpufeatures", 2654 | "digest", 2655 | ] 2656 | 2657 | [[package]] 2658 | name = "sha3" 2659 | version = "0.10.8" 2660 | source = "registry+https://github.com/rust-lang/crates.io-index" 2661 | checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" 2662 | dependencies = [ 2663 | "digest", 2664 | "keccak", 2665 | ] 2666 | 2667 | [[package]] 2668 | name = "signal-hook-registry" 2669 | version = "1.4.1" 2670 | source = "registry+https://github.com/rust-lang/crates.io-index" 2671 | checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" 2672 | dependencies = [ 2673 | "libc", 2674 | ] 2675 | 2676 | [[package]] 2677 | name = "signature" 2678 | version = "2.1.0" 2679 | source = "registry+https://github.com/rust-lang/crates.io-index" 2680 | checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" 2681 | dependencies = [ 2682 | "digest", 2683 | "rand_core", 2684 | ] 2685 | 2686 | [[package]] 2687 | name = "simple_asn1" 2688 | version = "0.6.2" 2689 | source = "registry+https://github.com/rust-lang/crates.io-index" 2690 | checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085" 2691 | dependencies = [ 2692 | "num-bigint", 2693 | "num-traits", 2694 | "thiserror", 2695 | "time", 2696 | ] 2697 | 2698 | [[package]] 2699 | name = "siphasher" 2700 | version = "0.3.11" 2701 | source = "registry+https://github.com/rust-lang/crates.io-index" 2702 | checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" 2703 | 2704 | [[package]] 2705 | name = "slab" 2706 | version = "0.4.9" 2707 | source = "registry+https://github.com/rust-lang/crates.io-index" 2708 | checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" 2709 | dependencies = [ 2710 | "autocfg", 2711 | ] 2712 | 2713 | [[package]] 2714 | name = "smallvec" 2715 | version = "0.6.14" 2716 | source = "registry+https://github.com/rust-lang/crates.io-index" 2717 | checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0" 2718 | dependencies = [ 2719 | "maybe-uninit", 2720 | ] 2721 | 2722 | [[package]] 2723 | name = "smallvec" 2724 | version = "1.11.0" 2725 | source = "registry+https://github.com/rust-lang/crates.io-index" 2726 | checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" 2727 | 2728 | [[package]] 2729 | name = "socket2" 2730 | version = "0.4.9" 2731 | source = "registry+https://github.com/rust-lang/crates.io-index" 2732 | checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" 2733 | dependencies = [ 2734 | "libc", 2735 | "winapi", 2736 | ] 2737 | 2738 | [[package]] 2739 | name = "socket2" 2740 | version = "0.5.3" 2741 | source = "registry+https://github.com/rust-lang/crates.io-index" 2742 | checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" 2743 | dependencies = [ 2744 | "libc", 2745 | "windows-sys", 2746 | ] 2747 | 2748 | [[package]] 2749 | name = "solang-parser" 2750 | version = "0.3.1" 2751 | source = "registry+https://github.com/rust-lang/crates.io-index" 2752 | checksum = "9c792fe9fae2a2f716846f214ca10d5a1e21133e0bf36cef34bcc4a852467b21" 2753 | dependencies = [ 2754 | "itertools", 2755 | "lalrpop", 2756 | "lalrpop-util", 2757 | "phf", 2758 | "thiserror", 2759 | "unicode-xid", 2760 | ] 2761 | 2762 | [[package]] 2763 | name = "spin" 2764 | version = "0.5.2" 2765 | source = "registry+https://github.com/rust-lang/crates.io-index" 2766 | checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" 2767 | 2768 | [[package]] 2769 | name = "spki" 2770 | version = "0.7.2" 2771 | source = "registry+https://github.com/rust-lang/crates.io-index" 2772 | checksum = "9d1e996ef02c474957d681f1b05213dfb0abab947b446a62d37770b23500184a" 2773 | dependencies = [ 2774 | "base64ct", 2775 | "der", 2776 | ] 2777 | 2778 | [[package]] 2779 | name = "static_assertions" 2780 | version = "1.1.0" 2781 | source = "registry+https://github.com/rust-lang/crates.io-index" 2782 | checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 2783 | 2784 | [[package]] 2785 | name = "string_cache" 2786 | version = "0.8.7" 2787 | source = "registry+https://github.com/rust-lang/crates.io-index" 2788 | checksum = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b" 2789 | dependencies = [ 2790 | "new_debug_unreachable", 2791 | "once_cell", 2792 | "parking_lot", 2793 | "phf_shared 0.10.0", 2794 | "precomputed-hash", 2795 | ] 2796 | 2797 | [[package]] 2798 | name = "strum" 2799 | version = "0.25.0" 2800 | source = "registry+https://github.com/rust-lang/crates.io-index" 2801 | checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" 2802 | dependencies = [ 2803 | "strum_macros", 2804 | ] 2805 | 2806 | [[package]] 2807 | name = "strum_macros" 2808 | version = "0.25.2" 2809 | source = "registry+https://github.com/rust-lang/crates.io-index" 2810 | checksum = "ad8d03b598d3d0fff69bf533ee3ef19b8eeb342729596df84bcc7e1f96ec4059" 2811 | dependencies = [ 2812 | "heck", 2813 | "proc-macro2", 2814 | "quote", 2815 | "rustversion", 2816 | "syn 2.0.29", 2817 | ] 2818 | 2819 | [[package]] 2820 | name = "subtle" 2821 | version = "2.5.0" 2822 | source = "registry+https://github.com/rust-lang/crates.io-index" 2823 | checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" 2824 | 2825 | [[package]] 2826 | name = "svm-rs" 2827 | version = "0.3.0" 2828 | source = "registry+https://github.com/rust-lang/crates.io-index" 2829 | checksum = "597e3a746727984cb7ea2487b6a40726cad0dbe86628e7d429aa6b8c4c153db4" 2830 | dependencies = [ 2831 | "dirs", 2832 | "fs2", 2833 | "hex", 2834 | "once_cell", 2835 | "reqwest", 2836 | "semver", 2837 | "serde", 2838 | "serde_json", 2839 | "sha2", 2840 | "thiserror", 2841 | "url", 2842 | "zip", 2843 | ] 2844 | 2845 | [[package]] 2846 | name = "syn" 2847 | version = "1.0.109" 2848 | source = "registry+https://github.com/rust-lang/crates.io-index" 2849 | checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 2850 | dependencies = [ 2851 | "proc-macro2", 2852 | "quote", 2853 | "unicode-ident", 2854 | ] 2855 | 2856 | [[package]] 2857 | name = "syn" 2858 | version = "2.0.29" 2859 | source = "registry+https://github.com/rust-lang/crates.io-index" 2860 | checksum = "c324c494eba9d92503e6f1ef2e6df781e78f6a7705a0202d9801b198807d518a" 2861 | dependencies = [ 2862 | "proc-macro2", 2863 | "quote", 2864 | "unicode-ident", 2865 | ] 2866 | 2867 | [[package]] 2868 | name = "tap" 2869 | version = "1.0.1" 2870 | source = "registry+https://github.com/rust-lang/crates.io-index" 2871 | checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" 2872 | 2873 | [[package]] 2874 | name = "tempfile" 2875 | version = "3.8.0" 2876 | source = "registry+https://github.com/rust-lang/crates.io-index" 2877 | checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" 2878 | dependencies = [ 2879 | "cfg-if", 2880 | "fastrand", 2881 | "redox_syscall 0.3.5", 2882 | "rustix", 2883 | "windows-sys", 2884 | ] 2885 | 2886 | [[package]] 2887 | name = "term" 2888 | version = "0.7.0" 2889 | source = "registry+https://github.com/rust-lang/crates.io-index" 2890 | checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f" 2891 | dependencies = [ 2892 | "dirs-next", 2893 | "rustversion", 2894 | "winapi", 2895 | ] 2896 | 2897 | [[package]] 2898 | name = "thiserror" 2899 | version = "1.0.47" 2900 | source = "registry+https://github.com/rust-lang/crates.io-index" 2901 | checksum = "97a802ec30afc17eee47b2855fc72e0c4cd62be9b4efe6591edde0ec5bd68d8f" 2902 | dependencies = [ 2903 | "thiserror-impl", 2904 | ] 2905 | 2906 | [[package]] 2907 | name = "thiserror-impl" 2908 | version = "1.0.47" 2909 | source = "registry+https://github.com/rust-lang/crates.io-index" 2910 | checksum = "6bb623b56e39ab7dcd4b1b98bb6c8f8d907ed255b18de254088016b27a8ee19b" 2911 | dependencies = [ 2912 | "proc-macro2", 2913 | "quote", 2914 | "syn 2.0.29", 2915 | ] 2916 | 2917 | [[package]] 2918 | name = "time" 2919 | version = "0.3.28" 2920 | source = "registry+https://github.com/rust-lang/crates.io-index" 2921 | checksum = "17f6bb557fd245c28e6411aa56b6403c689ad95061f50e4be16c274e70a17e48" 2922 | dependencies = [ 2923 | "deranged", 2924 | "itoa", 2925 | "serde", 2926 | "time-core", 2927 | "time-macros", 2928 | ] 2929 | 2930 | [[package]] 2931 | name = "time-core" 2932 | version = "0.1.1" 2933 | source = "registry+https://github.com/rust-lang/crates.io-index" 2934 | checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" 2935 | 2936 | [[package]] 2937 | name = "time-macros" 2938 | version = "0.2.14" 2939 | source = "registry+https://github.com/rust-lang/crates.io-index" 2940 | checksum = "1a942f44339478ef67935ab2bbaec2fb0322496cf3cbe84b261e06ac3814c572" 2941 | dependencies = [ 2942 | "time-core", 2943 | ] 2944 | 2945 | [[package]] 2946 | name = "tiny-keccak" 2947 | version = "2.0.2" 2948 | source = "registry+https://github.com/rust-lang/crates.io-index" 2949 | checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" 2950 | dependencies = [ 2951 | "crunchy", 2952 | ] 2953 | 2954 | [[package]] 2955 | name = "tinyvec" 2956 | version = "1.6.0" 2957 | source = "registry+https://github.com/rust-lang/crates.io-index" 2958 | checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" 2959 | dependencies = [ 2960 | "tinyvec_macros", 2961 | ] 2962 | 2963 | [[package]] 2964 | name = "tinyvec_macros" 2965 | version = "0.1.1" 2966 | source = "registry+https://github.com/rust-lang/crates.io-index" 2967 | checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 2968 | 2969 | [[package]] 2970 | name = "tokio" 2971 | version = "1.32.0" 2972 | source = "registry+https://github.com/rust-lang/crates.io-index" 2973 | checksum = "17ed6077ed6cd6c74735e21f37eb16dc3935f96878b1fe961074089cc80893f9" 2974 | dependencies = [ 2975 | "backtrace", 2976 | "bytes", 2977 | "libc", 2978 | "mio", 2979 | "num_cpus", 2980 | "parking_lot", 2981 | "pin-project-lite", 2982 | "signal-hook-registry", 2983 | "socket2 0.5.3", 2984 | "tokio-macros", 2985 | "windows-sys", 2986 | ] 2987 | 2988 | [[package]] 2989 | name = "tokio-macros" 2990 | version = "2.1.0" 2991 | source = "registry+https://github.com/rust-lang/crates.io-index" 2992 | checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" 2993 | dependencies = [ 2994 | "proc-macro2", 2995 | "quote", 2996 | "syn 2.0.29", 2997 | ] 2998 | 2999 | [[package]] 3000 | name = "tokio-rustls" 3001 | version = "0.24.1" 3002 | source = "registry+https://github.com/rust-lang/crates.io-index" 3003 | checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" 3004 | dependencies = [ 3005 | "rustls", 3006 | "tokio", 3007 | ] 3008 | 3009 | [[package]] 3010 | name = "tokio-tungstenite" 3011 | version = "0.20.0" 3012 | source = "registry+https://github.com/rust-lang/crates.io-index" 3013 | checksum = "2b2dbec703c26b00d74844519606ef15d09a7d6857860f84ad223dec002ddea2" 3014 | dependencies = [ 3015 | "futures-util", 3016 | "log", 3017 | "rustls", 3018 | "tokio", 3019 | "tokio-rustls", 3020 | "tungstenite", 3021 | "webpki-roots 0.23.1", 3022 | ] 3023 | 3024 | [[package]] 3025 | name = "tokio-util" 3026 | version = "0.7.8" 3027 | source = "registry+https://github.com/rust-lang/crates.io-index" 3028 | checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" 3029 | dependencies = [ 3030 | "bytes", 3031 | "futures-core", 3032 | "futures-sink", 3033 | "pin-project-lite", 3034 | "tokio", 3035 | "tracing", 3036 | ] 3037 | 3038 | [[package]] 3039 | name = "toml" 3040 | version = "0.7.6" 3041 | source = "registry+https://github.com/rust-lang/crates.io-index" 3042 | checksum = "c17e963a819c331dcacd7ab957d80bc2b9a9c1e71c804826d2f283dd65306542" 3043 | dependencies = [ 3044 | "serde", 3045 | "serde_spanned", 3046 | "toml_datetime", 3047 | "toml_edit", 3048 | ] 3049 | 3050 | [[package]] 3051 | name = "toml_datetime" 3052 | version = "0.6.3" 3053 | source = "registry+https://github.com/rust-lang/crates.io-index" 3054 | checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" 3055 | dependencies = [ 3056 | "serde", 3057 | ] 3058 | 3059 | [[package]] 3060 | name = "toml_edit" 3061 | version = "0.19.14" 3062 | source = "registry+https://github.com/rust-lang/crates.io-index" 3063 | checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a" 3064 | dependencies = [ 3065 | "indexmap 2.0.0", 3066 | "serde", 3067 | "serde_spanned", 3068 | "toml_datetime", 3069 | "winnow", 3070 | ] 3071 | 3072 | [[package]] 3073 | name = "tower-service" 3074 | version = "0.3.2" 3075 | source = "registry+https://github.com/rust-lang/crates.io-index" 3076 | checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" 3077 | 3078 | [[package]] 3079 | name = "tracing" 3080 | version = "0.1.37" 3081 | source = "registry+https://github.com/rust-lang/crates.io-index" 3082 | checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" 3083 | dependencies = [ 3084 | "cfg-if", 3085 | "pin-project-lite", 3086 | "tracing-attributes", 3087 | "tracing-core", 3088 | ] 3089 | 3090 | [[package]] 3091 | name = "tracing-attributes" 3092 | version = "0.1.26" 3093 | source = "registry+https://github.com/rust-lang/crates.io-index" 3094 | checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" 3095 | dependencies = [ 3096 | "proc-macro2", 3097 | "quote", 3098 | "syn 2.0.29", 3099 | ] 3100 | 3101 | [[package]] 3102 | name = "tracing-core" 3103 | version = "0.1.31" 3104 | source = "registry+https://github.com/rust-lang/crates.io-index" 3105 | checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" 3106 | dependencies = [ 3107 | "once_cell", 3108 | ] 3109 | 3110 | [[package]] 3111 | name = "tracing-futures" 3112 | version = "0.2.5" 3113 | source = "registry+https://github.com/rust-lang/crates.io-index" 3114 | checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" 3115 | dependencies = [ 3116 | "pin-project", 3117 | "tracing", 3118 | ] 3119 | 3120 | [[package]] 3121 | name = "try-lock" 3122 | version = "0.2.4" 3123 | source = "registry+https://github.com/rust-lang/crates.io-index" 3124 | checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" 3125 | 3126 | [[package]] 3127 | name = "tungstenite" 3128 | version = "0.20.0" 3129 | source = "registry+https://github.com/rust-lang/crates.io-index" 3130 | checksum = "e862a1c4128df0112ab625f55cd5c934bcb4312ba80b39ae4b4835a3fd58e649" 3131 | dependencies = [ 3132 | "byteorder", 3133 | "bytes", 3134 | "data-encoding", 3135 | "http", 3136 | "httparse", 3137 | "log", 3138 | "rand", 3139 | "rustls", 3140 | "sha1", 3141 | "thiserror", 3142 | "url", 3143 | "utf-8", 3144 | ] 3145 | 3146 | [[package]] 3147 | name = "typenum" 3148 | version = "1.16.0" 3149 | source = "registry+https://github.com/rust-lang/crates.io-index" 3150 | checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" 3151 | 3152 | [[package]] 3153 | name = "uint" 3154 | version = "0.9.5" 3155 | source = "registry+https://github.com/rust-lang/crates.io-index" 3156 | checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" 3157 | dependencies = [ 3158 | "byteorder", 3159 | "crunchy", 3160 | "hex", 3161 | "static_assertions", 3162 | ] 3163 | 3164 | [[package]] 3165 | name = "unicode-bidi" 3166 | version = "0.3.13" 3167 | source = "registry+https://github.com/rust-lang/crates.io-index" 3168 | checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" 3169 | 3170 | [[package]] 3171 | name = "unicode-ident" 3172 | version = "1.0.11" 3173 | source = "registry+https://github.com/rust-lang/crates.io-index" 3174 | checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" 3175 | 3176 | [[package]] 3177 | name = "unicode-normalization" 3178 | version = "0.1.22" 3179 | source = "registry+https://github.com/rust-lang/crates.io-index" 3180 | checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" 3181 | dependencies = [ 3182 | "tinyvec", 3183 | ] 3184 | 3185 | [[package]] 3186 | name = "unicode-xid" 3187 | version = "0.2.4" 3188 | source = "registry+https://github.com/rust-lang/crates.io-index" 3189 | checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" 3190 | 3191 | [[package]] 3192 | name = "untrusted" 3193 | version = "0.7.1" 3194 | source = "registry+https://github.com/rust-lang/crates.io-index" 3195 | checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" 3196 | 3197 | [[package]] 3198 | name = "url" 3199 | version = "2.4.1" 3200 | source = "registry+https://github.com/rust-lang/crates.io-index" 3201 | checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" 3202 | dependencies = [ 3203 | "form_urlencoded", 3204 | "idna", 3205 | "percent-encoding", 3206 | ] 3207 | 3208 | [[package]] 3209 | name = "utf-8" 3210 | version = "0.7.6" 3211 | source = "registry+https://github.com/rust-lang/crates.io-index" 3212 | checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" 3213 | 3214 | [[package]] 3215 | name = "uuid" 3216 | version = "0.8.2" 3217 | source = "registry+https://github.com/rust-lang/crates.io-index" 3218 | checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" 3219 | dependencies = [ 3220 | "getrandom", 3221 | "serde", 3222 | ] 3223 | 3224 | [[package]] 3225 | name = "version_check" 3226 | version = "0.9.4" 3227 | source = "registry+https://github.com/rust-lang/crates.io-index" 3228 | checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 3229 | 3230 | [[package]] 3231 | name = "walkdir" 3232 | version = "2.3.3" 3233 | source = "registry+https://github.com/rust-lang/crates.io-index" 3234 | checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" 3235 | dependencies = [ 3236 | "same-file", 3237 | "winapi-util", 3238 | ] 3239 | 3240 | [[package]] 3241 | name = "want" 3242 | version = "0.3.1" 3243 | source = "registry+https://github.com/rust-lang/crates.io-index" 3244 | checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" 3245 | dependencies = [ 3246 | "try-lock", 3247 | ] 3248 | 3249 | [[package]] 3250 | name = "wasi" 3251 | version = "0.11.0+wasi-snapshot-preview1" 3252 | source = "registry+https://github.com/rust-lang/crates.io-index" 3253 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 3254 | 3255 | [[package]] 3256 | name = "wasm-bindgen" 3257 | version = "0.2.87" 3258 | source = "registry+https://github.com/rust-lang/crates.io-index" 3259 | checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" 3260 | dependencies = [ 3261 | "cfg-if", 3262 | "wasm-bindgen-macro", 3263 | ] 3264 | 3265 | [[package]] 3266 | name = "wasm-bindgen-backend" 3267 | version = "0.2.87" 3268 | source = "registry+https://github.com/rust-lang/crates.io-index" 3269 | checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" 3270 | dependencies = [ 3271 | "bumpalo", 3272 | "log", 3273 | "once_cell", 3274 | "proc-macro2", 3275 | "quote", 3276 | "syn 2.0.29", 3277 | "wasm-bindgen-shared", 3278 | ] 3279 | 3280 | [[package]] 3281 | name = "wasm-bindgen-futures" 3282 | version = "0.4.37" 3283 | source = "registry+https://github.com/rust-lang/crates.io-index" 3284 | checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03" 3285 | dependencies = [ 3286 | "cfg-if", 3287 | "js-sys", 3288 | "wasm-bindgen", 3289 | "web-sys", 3290 | ] 3291 | 3292 | [[package]] 3293 | name = "wasm-bindgen-macro" 3294 | version = "0.2.87" 3295 | source = "registry+https://github.com/rust-lang/crates.io-index" 3296 | checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" 3297 | dependencies = [ 3298 | "quote", 3299 | "wasm-bindgen-macro-support", 3300 | ] 3301 | 3302 | [[package]] 3303 | name = "wasm-bindgen-macro-support" 3304 | version = "0.2.87" 3305 | source = "registry+https://github.com/rust-lang/crates.io-index" 3306 | checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" 3307 | dependencies = [ 3308 | "proc-macro2", 3309 | "quote", 3310 | "syn 2.0.29", 3311 | "wasm-bindgen-backend", 3312 | "wasm-bindgen-shared", 3313 | ] 3314 | 3315 | [[package]] 3316 | name = "wasm-bindgen-shared" 3317 | version = "0.2.87" 3318 | source = "registry+https://github.com/rust-lang/crates.io-index" 3319 | checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" 3320 | 3321 | [[package]] 3322 | name = "web-sys" 3323 | version = "0.3.64" 3324 | source = "registry+https://github.com/rust-lang/crates.io-index" 3325 | checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" 3326 | dependencies = [ 3327 | "js-sys", 3328 | "wasm-bindgen", 3329 | ] 3330 | 3331 | [[package]] 3332 | name = "webpki-roots" 3333 | version = "0.23.1" 3334 | source = "registry+https://github.com/rust-lang/crates.io-index" 3335 | checksum = "b03058f88386e5ff5310d9111d53f48b17d732b401aeb83a8d5190f2ac459338" 3336 | dependencies = [ 3337 | "rustls-webpki 0.100.2", 3338 | ] 3339 | 3340 | [[package]] 3341 | name = "webpki-roots" 3342 | version = "0.25.2" 3343 | source = "registry+https://github.com/rust-lang/crates.io-index" 3344 | checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc" 3345 | 3346 | [[package]] 3347 | name = "winapi" 3348 | version = "0.3.9" 3349 | source = "registry+https://github.com/rust-lang/crates.io-index" 3350 | checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 3351 | dependencies = [ 3352 | "winapi-i686-pc-windows-gnu", 3353 | "winapi-x86_64-pc-windows-gnu", 3354 | ] 3355 | 3356 | [[package]] 3357 | name = "winapi-i686-pc-windows-gnu" 3358 | version = "0.4.0" 3359 | source = "registry+https://github.com/rust-lang/crates.io-index" 3360 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 3361 | 3362 | [[package]] 3363 | name = "winapi-util" 3364 | version = "0.1.5" 3365 | source = "registry+https://github.com/rust-lang/crates.io-index" 3366 | checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" 3367 | dependencies = [ 3368 | "winapi", 3369 | ] 3370 | 3371 | [[package]] 3372 | name = "winapi-x86_64-pc-windows-gnu" 3373 | version = "0.4.0" 3374 | source = "registry+https://github.com/rust-lang/crates.io-index" 3375 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 3376 | 3377 | [[package]] 3378 | name = "windows-sys" 3379 | version = "0.48.0" 3380 | source = "registry+https://github.com/rust-lang/crates.io-index" 3381 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 3382 | dependencies = [ 3383 | "windows-targets", 3384 | ] 3385 | 3386 | [[package]] 3387 | name = "windows-targets" 3388 | version = "0.48.5" 3389 | source = "registry+https://github.com/rust-lang/crates.io-index" 3390 | checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 3391 | dependencies = [ 3392 | "windows_aarch64_gnullvm", 3393 | "windows_aarch64_msvc", 3394 | "windows_i686_gnu", 3395 | "windows_i686_msvc", 3396 | "windows_x86_64_gnu", 3397 | "windows_x86_64_gnullvm", 3398 | "windows_x86_64_msvc", 3399 | ] 3400 | 3401 | [[package]] 3402 | name = "windows_aarch64_gnullvm" 3403 | version = "0.48.5" 3404 | source = "registry+https://github.com/rust-lang/crates.io-index" 3405 | checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 3406 | 3407 | [[package]] 3408 | name = "windows_aarch64_msvc" 3409 | version = "0.48.5" 3410 | source = "registry+https://github.com/rust-lang/crates.io-index" 3411 | checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 3412 | 3413 | [[package]] 3414 | name = "windows_i686_gnu" 3415 | version = "0.48.5" 3416 | source = "registry+https://github.com/rust-lang/crates.io-index" 3417 | checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 3418 | 3419 | [[package]] 3420 | name = "windows_i686_msvc" 3421 | version = "0.48.5" 3422 | source = "registry+https://github.com/rust-lang/crates.io-index" 3423 | checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 3424 | 3425 | [[package]] 3426 | name = "windows_x86_64_gnu" 3427 | version = "0.48.5" 3428 | source = "registry+https://github.com/rust-lang/crates.io-index" 3429 | checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 3430 | 3431 | [[package]] 3432 | name = "windows_x86_64_gnullvm" 3433 | version = "0.48.5" 3434 | source = "registry+https://github.com/rust-lang/crates.io-index" 3435 | checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 3436 | 3437 | [[package]] 3438 | name = "windows_x86_64_msvc" 3439 | version = "0.48.5" 3440 | source = "registry+https://github.com/rust-lang/crates.io-index" 3441 | checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 3442 | 3443 | [[package]] 3444 | name = "winnow" 3445 | version = "0.5.15" 3446 | source = "registry+https://github.com/rust-lang/crates.io-index" 3447 | checksum = "7c2e3184b9c4e92ad5167ca73039d0c42476302ab603e2fec4487511f38ccefc" 3448 | dependencies = [ 3449 | "memchr", 3450 | ] 3451 | 3452 | [[package]] 3453 | name = "winreg" 3454 | version = "0.50.0" 3455 | source = "registry+https://github.com/rust-lang/crates.io-index" 3456 | checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" 3457 | dependencies = [ 3458 | "cfg-if", 3459 | "windows-sys", 3460 | ] 3461 | 3462 | [[package]] 3463 | name = "ws_stream_wasm" 3464 | version = "0.7.4" 3465 | source = "registry+https://github.com/rust-lang/crates.io-index" 3466 | checksum = "7999f5f4217fe3818726b66257a4475f71e74ffd190776ad053fa159e50737f5" 3467 | dependencies = [ 3468 | "async_io_stream", 3469 | "futures", 3470 | "js-sys", 3471 | "log", 3472 | "pharos", 3473 | "rustc_version", 3474 | "send_wrapper 0.6.0", 3475 | "thiserror", 3476 | "wasm-bindgen", 3477 | "wasm-bindgen-futures", 3478 | "web-sys", 3479 | ] 3480 | 3481 | [[package]] 3482 | name = "wyz" 3483 | version = "0.5.1" 3484 | source = "registry+https://github.com/rust-lang/crates.io-index" 3485 | checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" 3486 | dependencies = [ 3487 | "tap", 3488 | ] 3489 | 3490 | [[package]] 3491 | name = "yansi" 3492 | version = "0.5.1" 3493 | source = "registry+https://github.com/rust-lang/crates.io-index" 3494 | checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" 3495 | 3496 | [[package]] 3497 | name = "zeroize" 3498 | version = "1.6.0" 3499 | source = "registry+https://github.com/rust-lang/crates.io-index" 3500 | checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" 3501 | 3502 | [[package]] 3503 | name = "zip" 3504 | version = "0.6.6" 3505 | source = "registry+https://github.com/rust-lang/crates.io-index" 3506 | checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" 3507 | dependencies = [ 3508 | "aes", 3509 | "byteorder", 3510 | "bzip2", 3511 | "constant_time_eq", 3512 | "crc32fast", 3513 | "crossbeam-utils", 3514 | "flate2", 3515 | "hmac", 3516 | "pbkdf2 0.11.0", 3517 | "sha1", 3518 | "time", 3519 | "zstd", 3520 | ] 3521 | 3522 | [[package]] 3523 | name = "zstd" 3524 | version = "0.11.2+zstd.1.5.2" 3525 | source = "registry+https://github.com/rust-lang/crates.io-index" 3526 | checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" 3527 | dependencies = [ 3528 | "zstd-safe", 3529 | ] 3530 | 3531 | [[package]] 3532 | name = "zstd-safe" 3533 | version = "5.0.2+zstd.1.5.2" 3534 | source = "registry+https://github.com/rust-lang/crates.io-index" 3535 | checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" 3536 | dependencies = [ 3537 | "libc", 3538 | "zstd-sys", 3539 | ] 3540 | 3541 | [[package]] 3542 | name = "zstd-sys" 3543 | version = "2.0.8+zstd.1.5.5" 3544 | source = "registry+https://github.com/rust-lang/crates.io-index" 3545 | checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c" 3546 | dependencies = [ 3547 | "cc", 3548 | "libc", 3549 | "pkg-config", 3550 | ] 3551 | --------------------------------------------------------------------------------