├── .gitignore ├── increments.txt ├── my_proc_macro ├── Cargo.toml ├── src │ └── lib.rs └── Cargo.lock ├── Cargo.toml ├── src ├── m3_traits.rs ├── m10_proc_macros.rs ├── m8_collections.rs ├── m12_concurrency.rs ├── m7_async.rs ├── m2_structs.rs ├── m4_polymorphism.rs ├── m9_decl_macros.rs ├── m1_enums.rs ├── m11_smart_pointers.rs ├── m5_lifetimes.rs ├── m6_patterns.rs └── main.rs └── Cargo.lock /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /my_proc_macro/target 3 | ai_functions -------------------------------------------------------------------------------- /increments.txt: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 6 5 | 7 6 | 3 7 | 5 8 | 8 9 | 4 10 | 9 11 | -------------------------------------------------------------------------------- /my_proc_macro/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "my_proc_macro" 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 | [lib] 9 | proc-macro = true 10 | 11 | [dependencies] 12 | proc-macro2="1.0.56" 13 | quote="1.0.27" 14 | syn={ version="2.0.15", features=["full"] } 15 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "playaround" 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.4" 10 | reqwest = { version = "0.11.18", features = ["json"] } 11 | serde_json = "1.0.96" 12 | tokio = { version = "1.28.2", features = ["full"] } 13 | my_proc_macro = { path = "/Users/shaun/Code/TUTORIALS/rust_autogpt/playaround/my_proc_macro" } 14 | ai_functions = "0.1.1" 15 | -------------------------------------------------------------------------------- /src/m3_traits.rs: -------------------------------------------------------------------------------- 1 | #[cfg(test)] 2 | mod test { 3 | trait Attacker { 4 | fn choose_style(&self) -> String; 5 | } 6 | 7 | #[derive(Debug)] 8 | #[allow(dead_code)] 9 | enum Character { 10 | Warrior, 11 | Archer, 12 | Wizard 13 | } 14 | 15 | impl Attacker for Character { 16 | fn choose_style(&self) -> String { 17 | match self { 18 | Character::Warrior => "wing chun".to_string(), 19 | Character::Archer => "kung fu".to_string(), 20 | Character::Wizard => "thai chi".to_string(), 21 | } 22 | } 23 | } 24 | 25 | #[test] 26 | fn tests_traits() { 27 | let my_character: Character = Character::Archer; 28 | let chosen_fighting_style: String = my_character.choose_style(); 29 | dbg!(chosen_fighting_style); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/m10_proc_macros.rs: -------------------------------------------------------------------------------- 1 | #[cfg(test)] 2 | mod test { 3 | use my_proc_macro::function_to_string; 4 | use ai_functions::ai_function; 5 | 6 | const _OUTPUT: &str = ""; 7 | 8 | #[ai_function] 9 | fn another_ai_function(_whatever_param: &str) { 10 | /// This is an awesome function, from the crates.io libraries 11 | /// We shall give it to an AI to guess and output 12 | /// In a structured manner 13 | println!("{}", _OUTPUT); 14 | } 15 | 16 | #[function_to_string] 17 | fn some_function_for_ai_llm(_whatever_param: &str) { 18 | /// This is an awesome function 19 | /// We shall give it to an AI to guess and output 20 | /// In a structured manner 21 | println!("{}", _OUTPUT); 22 | } 23 | 24 | #[test] 25 | fn tests_proc_macro() { 26 | 27 | let x: &str = some_function_for_ai_llm("some_input"); 28 | let y: &str = another_ai_function("some_input_again"); 29 | dbg!(x); 30 | dbg!(y); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/m8_collections.rs: -------------------------------------------------------------------------------- 1 | #[cfg(test)] 2 | mod test { 3 | use std::collections::{HashMap, HashSet}; 4 | 5 | #[test] 6 | fn tests_hashmap() { 7 | 8 | let person_1: &str = "alice"; 9 | let person_2: &str = "bob"; 10 | 11 | // &str -> Person 12 | // u8 -> &str 13 | // &str -> u32 14 | 15 | let mut results_hm: HashMap<&str, u32> = HashMap::new(); 16 | results_hm.insert(person_1, 55); 17 | results_hm.insert(person_2, 51); 18 | 19 | let test_score: Option<&u32> = results_hm.get(person_1); 20 | dbg!(test_score.unwrap()); 21 | 22 | if results_hm.contains_key("alice") { 23 | dbg!("Alice is present!"); 24 | } 25 | } 26 | 27 | #[test] 28 | fn tests_hashset() { 29 | let mut names_hs: HashSet<&str> = HashSet::new(); 30 | names_hs.insert("alice"); 31 | names_hs.insert("bob"); 32 | names_hs.insert("jane"); 33 | 34 | if names_hs.contains("bob") { 35 | dbg!("Bob is here!"); 36 | } 37 | } 38 | } -------------------------------------------------------------------------------- /src/m12_concurrency.rs: -------------------------------------------------------------------------------- 1 | #[cfg(test)] 2 | mod test { 3 | use std::sync::{Arc, Mutex, MutexGuard}; 4 | use std::fs::{OpenOptions, File}; 5 | use std::io::prelude::*; 6 | use std::thread::{JoinHandle, spawn}; 7 | 8 | 9 | #[test] 10 | fn tests_concurrency() { 11 | 12 | let file_mutex: Arc> = Arc::new(Mutex::new(OpenOptions::new() 13 | .write(true) 14 | .create(true) 15 | .append(true) 16 | .open("increments.txt") 17 | .unwrap() 18 | )); 19 | 20 | let mut handles: Vec> = vec![]; 21 | 22 | for i in 0..10 { 23 | let file_mutex: Arc> = Arc::clone(&file_mutex); 24 | let handle: JoinHandle<()> = spawn(move || { 25 | let mut file: MutexGuard = file_mutex.lock().unwrap(); 26 | writeln!(file, "{}", i).unwrap(); 27 | }); 28 | handles.push(handle); 29 | } 30 | 31 | for handle in handles { 32 | handle.join().unwrap() 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/m7_async.rs: -------------------------------------------------------------------------------- 1 | #[cfg(test)] 2 | mod tests { 3 | use std::io::{Error, ErrorKind}; 4 | 5 | async fn my_async_call(url: &str) -> Result { 6 | 7 | let response: reqwest::Response = reqwest::get(url) 8 | .await 9 | .map_err(|_| Error::new(ErrorKind::Other, "Could not retrieve response"))?; 10 | 11 | let json_response: serde_json::Value = response 12 | .json::() 13 | .await 14 | .map_err(|_| Error::new(ErrorKind::Other, "Could not decode to JSON"))?; 15 | 16 | Ok(json_response) 17 | } 18 | 19 | #[tokio::test] 20 | async fn tests_calls_async_fn() { 21 | let api_url: &str = "https://cat-fact.herokuapp.com/facts/"; 22 | let my_res: Result = my_async_call(api_url).await; 23 | match my_res { 24 | Ok(r) => { 25 | dbg!(r); 26 | }, 27 | Err(_) => { 28 | panic!("Failed to make request!"); 29 | } 30 | }; 31 | } 32 | } -------------------------------------------------------------------------------- /my_proc_macro/src/lib.rs: -------------------------------------------------------------------------------- 1 | extern crate proc_macro; 2 | 3 | use proc_macro::TokenStream; 4 | use quote::{quote, ToTokens}; 5 | use syn::{parse_macro_input, ItemFn}; 6 | 7 | #[proc_macro_attribute] 8 | pub fn function_to_string(_attr: TokenStream, item: TokenStream) -> TokenStream { 9 | 10 | // Parse the input function 11 | let input_fn: ItemFn = parse_macro_input!(item as ItemFn); 12 | 13 | // Create string representation of function 14 | let function_str: String = format!("{}", input_fn.to_token_stream()); 15 | 16 | // Define a new function with the same signature as the input function 17 | let fn_ident: proc_macro2::Ident = input_fn.sig.ident; 18 | let fn_inputs: syn::punctuated::Punctuated = input_fn.sig.inputs; 19 | let fn_generics: syn::Generics = input_fn.sig.generics; 20 | 21 | // Generate output function 22 | let output: proc_macro2::TokenStream = quote! { 23 | pub fn #fn_ident #fn_generics(#fn_inputs) -> &'static str { 24 | #function_str 25 | } 26 | }; 27 | 28 | output.into() 29 | } 30 | -------------------------------------------------------------------------------- /src/m2_structs.rs: -------------------------------------------------------------------------------- 1 | #[cfg(test)] 2 | mod test { 3 | #[derive(Debug)] 4 | #[allow(dead_code)] 5 | struct User { 6 | username: String, 7 | email: String, 8 | sign_in_count: u64, 9 | active: bool 10 | } 11 | 12 | impl User { 13 | fn increment_signin_count(&mut self) { 14 | self.sign_in_count += 1; 15 | } 16 | 17 | fn change_email(&mut self, new_email: &str) { 18 | self.email = String::from(new_email); 19 | } 20 | } 21 | 22 | fn change_username(user: &mut User, new_username: &str) { 23 | user.username = String::from(new_username); 24 | } 25 | 26 | #[test] 27 | fn tests_structs() { 28 | let mut user_1: User = User { 29 | username: String::from("someusername1"), 30 | email: String::from("someone@example.com"), 31 | active: true, 32 | sign_in_count: 1 33 | }; 34 | 35 | change_username(&mut user_1, "somenewusername"); 36 | 37 | dbg!(user_1); 38 | 39 | let mut user_2: User = User { 40 | username: String::from("someusername2"), 41 | email: String::from("someone2@example2.com"), 42 | active: false, 43 | sign_in_count: 7 44 | }; 45 | 46 | user_2.increment_signin_count(); 47 | 48 | user_2.change_email("anotheremail@email.com"); 49 | 50 | dbg!(user_2); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /my_proc_macro/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 = "my_proc_macro" 7 | version = "0.1.0" 8 | dependencies = [ 9 | "proc-macro2", 10 | "quote", 11 | "syn", 12 | ] 13 | 14 | [[package]] 15 | name = "proc-macro2" 16 | version = "1.0.59" 17 | source = "registry+https://github.com/rust-lang/crates.io-index" 18 | checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b" 19 | dependencies = [ 20 | "unicode-ident", 21 | ] 22 | 23 | [[package]] 24 | name = "quote" 25 | version = "1.0.28" 26 | source = "registry+https://github.com/rust-lang/crates.io-index" 27 | checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488" 28 | dependencies = [ 29 | "proc-macro2", 30 | ] 31 | 32 | [[package]] 33 | name = "syn" 34 | version = "2.0.18" 35 | source = "registry+https://github.com/rust-lang/crates.io-index" 36 | checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e" 37 | dependencies = [ 38 | "proc-macro2", 39 | "quote", 40 | "unicode-ident", 41 | ] 42 | 43 | [[package]] 44 | name = "unicode-ident" 45 | version = "1.0.9" 46 | source = "registry+https://github.com/rust-lang/crates.io-index" 47 | checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0" 48 | -------------------------------------------------------------------------------- /src/m4_polymorphism.rs: -------------------------------------------------------------------------------- 1 | #[cfg(test)] 2 | mod test { 3 | use ethers::types::Address; 4 | use std::str::FromStr; 5 | 6 | trait EthereumAddress { 7 | fn convert_address(&self) -> Result; 8 | } 9 | 10 | impl EthereumAddress for &str { 11 | fn convert_address(&self) -> Result { 12 | match Address::from_str(self) { 13 | Ok(address) => Ok(address), 14 | Err(_) => Err("Invalid Ethereum Address String") 15 | } 16 | } 17 | } 18 | 19 | impl EthereumAddress for Address { 20 | fn convert_address(&self) -> Result { 21 | Ok(*self) 22 | } 23 | } 24 | 25 | fn get_ethereum_data(address: T) -> Address { 26 | let converted_address: Address = address.convert_address().unwrap(); 27 | 28 | // do something else... 29 | 30 | converted_address 31 | } 32 | 33 | #[test] 34 | fn tests_poly() { 35 | let addr: Address = Address::from_str("0x388C818CA8B9251b393131C08a736A67ccB19297") 36 | .unwrap(); 37 | 38 | let new_addr: Address = get_ethereum_data(addr); 39 | assert_eq!(new_addr, Address::from_str("0x388C818CA8B9251b393131C08a736A67ccB19297").unwrap()); 40 | 41 | let new_addr: Address = get_ethereum_data("0x388C818CA8B9251b393131C08a736A67ccB19297"); 42 | assert_eq!(new_addr, Address::from_str("0x388C818CA8B9251b393131C08a736A67ccB19297").unwrap()); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/m9_decl_macros.rs: -------------------------------------------------------------------------------- 1 | // MACRO CAPTURES 2 | 3 | /* expr 4 | matches to a valid rust expression 5 | "hello".to_string(), vec![1, 2, 3], 1 + 2, 1 6 | */ 7 | 8 | /* stmt 9 | matches to a rust statement 10 | let x = 5, x.push(1), return Some(x) 11 | */ 12 | 13 | /* ident 14 | matches to a rust identifier 15 | variable name, function name, module name 16 | */ 17 | 18 | /* ty 19 | matches to a rust type 20 | i32, Vec, Option 21 | */ 22 | 23 | /* path 24 | matches to a rust path 25 | std::collections::HashMap 26 | */ 27 | 28 | // REPITITION SPECIFIER 29 | 30 | // * - match zero or more repititions 31 | // + - match one or more repititions 32 | // ? - Match zero or one repetition 33 | 34 | #[cfg(test)] 35 | mod tests { 36 | 37 | 38 | macro_rules! mad_skills { 39 | // ($x: expr) => { 40 | // format!("You sent an expression: {}", $x) 41 | // }; 42 | ($x: ty) => { 43 | match stringify!($x) { 44 | "i32" => "You sent an i32 type".to_string(), 45 | _ => "You sent something else".to_string(), 46 | } 47 | } 48 | } 49 | 50 | 51 | macro_rules! my_vec { 52 | ( $($x: expr),+ ) => { 53 | { 54 | let mut temp_vec = Vec::new(); 55 | $( 56 | temp_vec.push($x); 57 | )+ 58 | temp_vec 59 | } 60 | } 61 | } 62 | 63 | 64 | #[test] 65 | fn tests_declarative_macro() { 66 | 67 | let mut _x: Vec = vec!(); 68 | let y: Vec = my_vec!(1); 69 | dbg!(y); 70 | 71 | let some_var: String = mad_skills!(u8); 72 | dbg!(some_var); 73 | 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /src/m1_enums.rs: -------------------------------------------------------------------------------- 1 | #[cfg(test)] 2 | mod test { 3 | #[derive(Debug)] 4 | #[allow(dead_code)] 5 | enum CarColour { 6 | Red, 7 | Green, 8 | Blue, 9 | Silver 10 | } 11 | 12 | #[derive(Debug)] 13 | #[allow(dead_code)] 14 | enum GivenResult { 15 | Ok(T), 16 | Err(E) 17 | } 18 | 19 | #[derive(Debug)] 20 | #[allow(dead_code)] 21 | enum GivenOption { 22 | None, 23 | Some(T) 24 | } 25 | 26 | fn create_car_colour_blue() -> CarColour { 27 | let my_car_colour: CarColour = CarColour::Blue; 28 | my_car_colour 29 | } 30 | 31 | fn _check_under_five(num_check: u8) -> GivenResult { 32 | if num_check < 5 { 33 | GivenResult::Ok(num_check) 34 | } else { 35 | GivenResult::Err("Not under 5!".to_string()) 36 | } 37 | } 38 | 39 | fn check_under_five_built_in(num_check: u8) -> Result { 40 | if num_check < 5 { 41 | Ok(num_check) 42 | } else { 43 | Err("Not under 5!".to_string()) 44 | } 45 | } 46 | 47 | fn _remainder_zero(num_check: f32) -> GivenOption { 48 | let remainder: f32 = num_check % 10.0; 49 | if remainder != 0.0 { 50 | GivenOption::Some(remainder) 51 | } else { 52 | GivenOption::None 53 | } 54 | } 55 | 56 | fn remainder_zero_built_in(num_check: f32) -> Option { 57 | let remainder: f32 = num_check % 10.0; 58 | if remainder != 0.0 { 59 | Some(remainder) 60 | } else { 61 | None 62 | } 63 | } 64 | 65 | #[test] 66 | fn tests_enums() { 67 | let car_colour: CarColour = create_car_colour_blue(); 68 | dbg!(car_colour); 69 | 70 | let under_five_res: Result = check_under_five_built_in(2); 71 | println!("{:?}", under_five_res); 72 | 73 | let under_five_res: Result = check_under_five_built_in(7); 74 | println!("{:?}", under_five_res); 75 | 76 | let remainder: Option = remainder_zero_built_in(12.2); 77 | dbg!(remainder); 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /src/m11_smart_pointers.rs: -------------------------------------------------------------------------------- 1 | #[cfg(test)] 2 | mod tests { 3 | use std::rc::{Rc, Weak}; 4 | use std::cell::RefCell; 5 | 6 | #[test] 7 | #[allow(dead_code, unused_variables)] 8 | fn tests_box_smart_pointer() { 9 | 10 | #[derive(Debug)] 11 | struct Node { 12 | id: u32, 13 | next: Option> 14 | } 15 | 16 | let nodes: Box = Box::new( 17 | Node { id: 0, next: Some( 18 | Box::new(Node { id: 1, next: Some(Box::new( 19 | Node { id: 2, next: None } 20 | ))}) 21 | )} 22 | ); 23 | 24 | dbg!(nodes); 25 | 26 | } 27 | 28 | #[test] 29 | #[allow(dead_code, unused_variables)] 30 | fn tests_reference_counter() { 31 | 32 | let x: Rc> = Rc::new(RefCell::new(50)); 33 | let y: Rc> = Rc::clone(&x); 34 | let z: Rc> = Rc::clone(&x); 35 | 36 | *x.borrow_mut() = 70; 37 | 38 | dbg!(x.borrow()); 39 | dbg!(y.borrow()); 40 | 41 | // Credit to Bocksdin Coding and Lets Get Rusty for inspiration 42 | 43 | #[derive(Debug, Clone)] 44 | struct House { 45 | address_number: u16, 46 | street: String, 47 | furniture: RefCell>> 48 | } 49 | 50 | #[derive(Debug, Clone)] 51 | struct Furniture { 52 | id: String, 53 | description: String, 54 | house: Weak 55 | } 56 | 57 | let house_1 = Rc::new(House { 58 | address_number: 123, 59 | street: "coding avenue".to_string(), 60 | furniture: RefCell::new(vec!()) 61 | }); 62 | 63 | let table = Rc::new(Furniture { 64 | id: "table1".to_string(), 65 | description: "kitchen table".to_string(), 66 | house: Rc::downgrade(&house_1) 67 | }); 68 | 69 | let desk = Rc::new(Furniture { 70 | id: "desk1".to_string(), 71 | description: "office desk".to_string(), 72 | house: Rc::downgrade(&house_1) 73 | }); 74 | 75 | house_1.furniture.borrow_mut().push(Rc::clone(&table)); 76 | house_1.furniture.borrow_mut().push(Rc::clone(&desk)); 77 | 78 | dbg!(house_1); 79 | 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/m5_lifetimes.rs: -------------------------------------------------------------------------------- 1 | #[allow(dead_code, unused_variables)] 2 | fn example_0() { 3 | let r: &i32; // 'a 4 | 5 | let x: i32 = 5; // 'b 6 | r = &x; 7 | 8 | println!("r: {}", r); 9 | } 10 | 11 | #[allow(dead_code, unused_variables)] 12 | fn example_1() { 13 | 14 | // Allocate space in memory 15 | let highest_age: i32; 16 | 17 | // Initialize vars 18 | let alice_age: i32 = 20; // 'a 19 | let bob_age: i32 = 21; // 'b: 'a 20 | 21 | // Call function 22 | highest_age = largest(&alice_age, &bob_age); 23 | 24 | // Print output 25 | println!("Highest age is {}", highest_age); 26 | 27 | fn largest(compare_1: &i32, compare_2: &i32) -> i32 { 28 | if compare_1 > compare_2 { 29 | *compare_1 30 | } else { 31 | *compare_2 32 | } 33 | } 34 | } 35 | 36 | 37 | #[allow(dead_code, unused_variables)] 38 | fn example_2() { 39 | 40 | // Allocate space in memory 41 | let highest_age: &i32; 42 | let new_value: i32; 43 | 44 | // Initialize vars 45 | let alice_age: i32 = 20; // 'a 46 | 47 | { 48 | let bob_age: i32 = 21; // 'b 49 | 50 | // Call function 51 | highest_age = largest(&alice_age, &bob_age); 52 | new_value = *highest_age; 53 | } // 'b out of scope 54 | 55 | // Print output 56 | println!("New value age is {}", new_value); 57 | 58 | fn largest<'a>(compare_1: &'a i32, compare_2: &'a i32) -> &'a i32 { 59 | if compare_1 > compare_2 { 60 | compare_1 61 | } else { 62 | compare_2 63 | } 64 | } 65 | } 66 | 67 | 68 | #[allow(dead_code, unused_variables)] 69 | fn example_3_generics() { 70 | 71 | // Allocate space in memory 72 | let highest_age: &i32; 73 | let new_value: i32; 74 | 75 | // Initialize vars 76 | let alice_age: i32 = 20; // 'a 77 | 78 | { 79 | let bob_age: i32 = 21; // 'b 80 | 81 | // Call function 82 | highest_age = largest::(&alice_age, &bob_age); 83 | new_value = *highest_age; 84 | } // 'b out of scope 85 | 86 | // Print output 87 | println!("New value age is {}", new_value); 88 | 89 | fn largest<'a, 'b: 'a, T: PartialOrd>(compare_1: &'a T, compare_2: &'b T) -> &'a T { 90 | if compare_1 > compare_2 { 91 | compare_1 92 | } else { 93 | compare_2 94 | } 95 | } 96 | } 97 | 98 | 99 | #[allow(dead_code, unused_variables)] 100 | struct Person<'p, 'q> { 101 | name: &'p str, 102 | points: &'q f32 103 | } 104 | 105 | 106 | #[allow(dead_code, unused_variables)] 107 | fn example_4_with_struct() { 108 | 109 | // Allocate space in memory 110 | let highest_age: &f32; 111 | let new_value: f32; 112 | 113 | // Initialize vars 114 | let alice: Person = Person { name: "alice", points: &50.2 }; 115 | 116 | { 117 | let bob: Person = Person { name: "bob", points: &40.5 }; 118 | 119 | // Call function 120 | highest_age = largest::(alice.points, bob.points); 121 | new_value = *highest_age; 122 | } // 'b out of scope 123 | 124 | // Print output 125 | println!("New value age is {}", new_value); 126 | 127 | fn largest<'a, 'b: 'a, T: PartialOrd>(compare_1: &'a T, compare_2: &'b T) -> &'a T { 128 | if compare_1 > compare_2 { 129 | compare_1 130 | } else { 131 | compare_2 132 | } 133 | } 134 | } 135 | -------------------------------------------------------------------------------- /src/m6_patterns.rs: -------------------------------------------------------------------------------- 1 | #[cfg(test)] 2 | mod test { 3 | 4 | #[derive(Debug)] 5 | enum Message { 6 | Quit, 7 | ChangeColour(i32, i32, i32), 8 | Move { x: i32, y: i32 }, 9 | Write(String) 10 | } 11 | 12 | fn process_message(msg: Message) { 13 | match msg { 14 | Message::Quit => { 15 | println!("I quit!"); 16 | }, 17 | Message::ChangeColour(red, green, blue) => { 18 | println!("Red {}, Green {}, Blue {}", red, green, blue); 19 | }, 20 | Message::Move { x, y: new_name } => { 21 | println!("X is {}, Y as new_name is {}", x, new_name); 22 | } 23 | Message::Write(text) => { 24 | println!("{}", text); 25 | } 26 | }; 27 | } 28 | 29 | #[test] 30 | fn tests_large_enum() { 31 | let _my_quit: Message = Message::Quit; 32 | let _my_colour: Message = Message::ChangeColour(10, 20, 255); 33 | let _my_move: Message = Message::Move { x: 10, y: 200 }; 34 | let my_write: Message = Message::Write("My awesome string".to_string()); 35 | process_message(my_write); 36 | } 37 | 38 | #[test] 39 | fn tests_match_literals() { 40 | 41 | let number: i32 = 20; 42 | 43 | let res: &str = match number { 44 | 1 => "It was the first!", 45 | 2 | 3 | 5 | 7 | 15 | 20 => "We found it in the sequence!", 46 | _ => "It was something else!" 47 | }; 48 | 49 | println!("{}", res); 50 | } 51 | 52 | #[test] 53 | fn tests_match_option() { 54 | 55 | let some_num: Option = Some(10); 56 | 57 | let my_int: i32 = if let Some(i) = some_num { 58 | i 59 | } else { 60 | panic!("There was a problem"); 61 | }; 62 | 63 | println!("My int: {}", my_int); 64 | 65 | // let res = match some_num { 66 | // Some(i) => i, 67 | // None => { 68 | // panic!("There was a problem"); 69 | // } 70 | // }; 71 | 72 | // println!("{:?}", some_num); 73 | // println!("{}", res); 74 | } 75 | 76 | 77 | #[test] 78 | fn tests_match_result() { 79 | 80 | let some_res: Result = Ok(50); 81 | let _some_err: Result = Err("There was a problem"); 82 | 83 | let res = match some_res { 84 | Ok(val) => val, 85 | Err(e) => panic!("{}", e) 86 | }; 87 | 88 | println!("{}", res); 89 | 90 | let my_int: i32 = if let Ok(r) = some_res { 91 | r 92 | } else { 93 | panic!("There was a problem"); 94 | }; 95 | 96 | println!("{}", my_int); 97 | } 98 | 99 | #[test] 100 | fn tests_match_guard() { 101 | let pair: (i32, i32) = (2, -2); 102 | match pair { 103 | (x, y) if x == y => println!("They match!"), 104 | (x, y) if x + y == 0 => println!("They neutralize"), 105 | (_, y) if y == 2 => println!("Y is indeed +2"), 106 | _ => println!("We are no bothered") 107 | }; 108 | } 109 | 110 | #[test] 111 | #[allow(unused_variables)] 112 | fn tests_match_struct() { 113 | 114 | struct Location { 115 | x: i32, 116 | y: i32 117 | } 118 | 119 | let location: Location = Location { x: 0, y: 20 }; 120 | 121 | match location { 122 | Location { x, y: 0 } => println!("Y is on the axis"), 123 | Location { x: 0, y } => println!("X is on the axis"), 124 | Location { x, y } => println!("X and Y are not on the axis"), 125 | }; 126 | 127 | } 128 | } 129 | -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- 1 | mod m1_enums; 2 | mod m2_structs; 3 | mod m3_traits; 4 | mod m4_polymorphism; 5 | mod m5_lifetimes; 6 | mod m6_patterns; 7 | mod m7_async; 8 | mod m8_collections; 9 | mod m9_decl_macros; 10 | mod m10_proc_macros; 11 | mod m11_smart_pointers; 12 | mod m12_concurrency; 13 | 14 | const OUR_COURSE: &str = "Rust with AutoGPT"; 15 | 16 | #[tokio::main] 17 | async fn main() { 18 | 19 | println!("Welcome to this course on {}!", OUR_COURSE); 20 | 21 | // Stack 22 | let x: i32; 23 | x = 2; 24 | println!("x is {}", x); 25 | 26 | let y: i32 = 4; 27 | println!("y is {}", y); 28 | 29 | // For loop 30 | for i in 0..=y { 31 | if i != 4 { 32 | print!("{}, ", i); 33 | } else { 34 | println!("{}", i); 35 | } 36 | } 37 | 38 | // Mutation 39 | let mut z: i32 = 5; 40 | print!("z was {} ", z); 41 | z = 10; 42 | println!("but is now {}", z); 43 | 44 | let freezing_temp: f64 = -2.4; 45 | println!("freezing_temp is {}", freezing_temp); 46 | 47 | let is_zero_remainder: bool = 10 % 4 != 0; 48 | println!("is_zero_remainder is {}", is_zero_remainder); 49 | 50 | let my_char: char = 'z'; 51 | println!("my_char is {}", my_char); 52 | 53 | let emoji_char: char = '😎'; 54 | println!("emoji_char is {}", emoji_char); 55 | 56 | let my_floats: [f32; 10] = [0.0; 10]; 57 | println!("my_floats is {:?}", my_floats); 58 | 59 | let my_floats_new: [f32; 10] = my_floats.map(|n| n + 2.0); 60 | println!("my_floats_new is {:?}", my_floats_new); 61 | 62 | let name: &str = "Shaun"; 63 | println!("name is {:?}", name); 64 | 65 | let dynamic_name: String = String::from("Shaun McDonogh"); 66 | println!("dynamic_name is {:?}", dynamic_name); 67 | println!("my dynamic_name stored in memory {:p}", &dynamic_name); 68 | 69 | let str_slice: &str = &dynamic_name[0..5]; 70 | println!("str_slice is {:?}", str_slice); 71 | 72 | let mut chars: Vec = Vec::new(); 73 | chars.insert(0, 'h'); 74 | chars.insert(1, 'e'); 75 | chars.insert(2, 'l'); 76 | chars.push('l'); 77 | chars.push('o'); 78 | chars.push('.'); 79 | println!("chars is {:?}", chars); 80 | dbg!(&chars); 81 | 82 | let removed_char: char = chars.pop().unwrap(); 83 | println!("removed_char is {:?}", removed_char); 84 | println!("chars is {:?}", chars); 85 | 86 | // chars.iter().for_each(|c| print!("{}", c)); 87 | 88 | let chars_again: Vec = vec!('h','e','l','l','o'); 89 | dbg!(&chars_again); 90 | 91 | let collected: String = chars_again.iter().collect(); 92 | dbg!(collected); 93 | 94 | for c in chars_again { 95 | print!("{}", c); 96 | if c == 'o' { 97 | println!(", world!"); 98 | } 99 | } 100 | 101 | // Closures 102 | let num: i32 = 5; 103 | let add_num = |x: i32| x + num; 104 | let new_num: i32 = add_num(7); 105 | dbg!(new_num); 106 | 107 | // Number Literals (from Rust Book) 108 | println!("Big Number is {}", 98_222_000); 109 | println!("Hex is {}", 0xff); 110 | println!("Octal is {}", 0o77); 111 | println!("Binary is {}", 0b1111_0000); 112 | println!("Bytes 'A' is {}", b'A'); 113 | 114 | // Raw - String Literal 115 | let text: &str = r#"{\"message" : "Rust is Awesome"}"#; 116 | dbg!(text); 117 | 118 | // Binary 119 | let a: u8 = 0b_1010_1010; 120 | let b: u8 = 0b_0101_1010; 121 | println!("a's value is {}", a); 122 | println!("b's value is {}", b); 123 | 124 | println!("a in binary {:08b}", a); 125 | println!("b in binary {:08b}", b); 126 | 127 | // Logic Gates 128 | println!("AND {:08b}", a & b); 129 | println!("OR {:08b}", a | b); 130 | println!("XOR {:08b}", a ^ b); 131 | println!("NOT {:08b}", !a); 132 | 133 | // Bitwise Operations 134 | println!("a << 1 {:08b}", a << 1); 135 | println!("a << 1 {}", a << 1); 136 | println!("a >> 1 {:08b}", a >> 1); 137 | println!("a >> 1 {}", a >> 1); 138 | 139 | // Little Endian or Big Endian 140 | let n: u16 = 0x1234; 141 | println!("n is: {:?}", n); 142 | 143 | let big_endian = n.to_be_bytes(); 144 | let little_endian = n.to_le_bytes(); 145 | 146 | println!("n in big endian: {:02X}{:02X}", big_endian[0], big_endian[1]); 147 | println!("n in little endian: {:02X}{:02X}", little_endian[0], little_endian[1]); 148 | } 149 | -------------------------------------------------------------------------------- /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 = "adler" 17 | version = "1.0.2" 18 | source = "registry+https://github.com/rust-lang/crates.io-index" 19 | checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 20 | 21 | [[package]] 22 | name = "aes" 23 | version = "0.8.2" 24 | source = "registry+https://github.com/rust-lang/crates.io-index" 25 | checksum = "433cfd6710c9986c576a25ca913c39d66a6474107b406f34f91d4a8923395241" 26 | dependencies = [ 27 | "cfg-if", 28 | "cipher", 29 | "cpufeatures", 30 | ] 31 | 32 | [[package]] 33 | name = "aho-corasick" 34 | version = "1.0.1" 35 | source = "registry+https://github.com/rust-lang/crates.io-index" 36 | checksum = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04" 37 | dependencies = [ 38 | "memchr", 39 | ] 40 | 41 | [[package]] 42 | name = "ai_functions" 43 | version = "0.1.1" 44 | source = "registry+https://github.com/rust-lang/crates.io-index" 45 | checksum = "911649227e07403a6c53676f9d15bf919e6541ffaad3a6d5ba5c3f6beed3d11b" 46 | dependencies = [ 47 | "proc-macro2", 48 | "quote", 49 | "syn 2.0.18", 50 | ] 51 | 52 | [[package]] 53 | name = "android-tzdata" 54 | version = "0.1.1" 55 | source = "registry+https://github.com/rust-lang/crates.io-index" 56 | checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" 57 | 58 | [[package]] 59 | name = "arrayvec" 60 | version = "0.7.2" 61 | source = "registry+https://github.com/rust-lang/crates.io-index" 62 | checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" 63 | 64 | [[package]] 65 | name = "ascii-canvas" 66 | version = "3.0.0" 67 | source = "registry+https://github.com/rust-lang/crates.io-index" 68 | checksum = "8824ecca2e851cec16968d54a01dd372ef8f95b244fb84b84e70128be347c3c6" 69 | dependencies = [ 70 | "term", 71 | ] 72 | 73 | [[package]] 74 | name = "async-trait" 75 | version = "0.1.68" 76 | source = "registry+https://github.com/rust-lang/crates.io-index" 77 | checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" 78 | dependencies = [ 79 | "proc-macro2", 80 | "quote", 81 | "syn 2.0.18", 82 | ] 83 | 84 | [[package]] 85 | name = "async_io_stream" 86 | version = "0.3.3" 87 | source = "registry+https://github.com/rust-lang/crates.io-index" 88 | checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c" 89 | dependencies = [ 90 | "futures", 91 | "pharos", 92 | "rustc_version", 93 | ] 94 | 95 | [[package]] 96 | name = "auto_impl" 97 | version = "1.1.0" 98 | source = "registry+https://github.com/rust-lang/crates.io-index" 99 | checksum = "fee3da8ef1276b0bee5dd1c7258010d8fffd31801447323115a25560e1327b89" 100 | dependencies = [ 101 | "proc-macro-error", 102 | "proc-macro2", 103 | "quote", 104 | "syn 1.0.109", 105 | ] 106 | 107 | [[package]] 108 | name = "autocfg" 109 | version = "1.1.0" 110 | source = "registry+https://github.com/rust-lang/crates.io-index" 111 | checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 112 | 113 | [[package]] 114 | name = "base16ct" 115 | version = "0.2.0" 116 | source = "registry+https://github.com/rust-lang/crates.io-index" 117 | checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" 118 | 119 | [[package]] 120 | name = "base64" 121 | version = "0.13.1" 122 | source = "registry+https://github.com/rust-lang/crates.io-index" 123 | checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" 124 | 125 | [[package]] 126 | name = "base64" 127 | version = "0.21.2" 128 | source = "registry+https://github.com/rust-lang/crates.io-index" 129 | checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" 130 | 131 | [[package]] 132 | name = "base64ct" 133 | version = "1.6.0" 134 | source = "registry+https://github.com/rust-lang/crates.io-index" 135 | checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" 136 | 137 | [[package]] 138 | name = "bech32" 139 | version = "0.7.3" 140 | source = "registry+https://github.com/rust-lang/crates.io-index" 141 | checksum = "2dabbe35f96fb9507f7330793dc490461b2962659ac5d427181e451a623751d1" 142 | 143 | [[package]] 144 | name = "bincode" 145 | version = "1.3.3" 146 | source = "registry+https://github.com/rust-lang/crates.io-index" 147 | checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" 148 | dependencies = [ 149 | "serde", 150 | ] 151 | 152 | [[package]] 153 | name = "bit-set" 154 | version = "0.5.3" 155 | source = "registry+https://github.com/rust-lang/crates.io-index" 156 | checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" 157 | dependencies = [ 158 | "bit-vec", 159 | ] 160 | 161 | [[package]] 162 | name = "bit-vec" 163 | version = "0.6.3" 164 | source = "registry+https://github.com/rust-lang/crates.io-index" 165 | checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" 166 | 167 | [[package]] 168 | name = "bitflags" 169 | version = "1.3.2" 170 | source = "registry+https://github.com/rust-lang/crates.io-index" 171 | checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 172 | 173 | [[package]] 174 | name = "bitvec" 175 | version = "0.17.4" 176 | source = "registry+https://github.com/rust-lang/crates.io-index" 177 | checksum = "41262f11d771fd4a61aa3ce019fca363b4b6c282fca9da2a31186d3965a47a5c" 178 | dependencies = [ 179 | "either", 180 | "radium 0.3.0", 181 | ] 182 | 183 | [[package]] 184 | name = "bitvec" 185 | version = "1.0.1" 186 | source = "registry+https://github.com/rust-lang/crates.io-index" 187 | checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" 188 | dependencies = [ 189 | "funty", 190 | "radium 0.7.0", 191 | "tap", 192 | "wyz", 193 | ] 194 | 195 | [[package]] 196 | name = "block-buffer" 197 | version = "0.9.0" 198 | source = "registry+https://github.com/rust-lang/crates.io-index" 199 | checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" 200 | dependencies = [ 201 | "generic-array", 202 | ] 203 | 204 | [[package]] 205 | name = "block-buffer" 206 | version = "0.10.4" 207 | source = "registry+https://github.com/rust-lang/crates.io-index" 208 | checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 209 | dependencies = [ 210 | "generic-array", 211 | ] 212 | 213 | [[package]] 214 | name = "bs58" 215 | version = "0.4.0" 216 | source = "registry+https://github.com/rust-lang/crates.io-index" 217 | checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" 218 | dependencies = [ 219 | "sha2 0.9.9", 220 | ] 221 | 222 | [[package]] 223 | name = "bumpalo" 224 | version = "3.13.0" 225 | source = "registry+https://github.com/rust-lang/crates.io-index" 226 | checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" 227 | 228 | [[package]] 229 | name = "byte-slice-cast" 230 | version = "1.2.2" 231 | source = "registry+https://github.com/rust-lang/crates.io-index" 232 | checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" 233 | 234 | [[package]] 235 | name = "byteorder" 236 | version = "1.4.3" 237 | source = "registry+https://github.com/rust-lang/crates.io-index" 238 | checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" 239 | 240 | [[package]] 241 | name = "bytes" 242 | version = "1.4.0" 243 | source = "registry+https://github.com/rust-lang/crates.io-index" 244 | checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" 245 | dependencies = [ 246 | "serde", 247 | ] 248 | 249 | [[package]] 250 | name = "bzip2" 251 | version = "0.4.4" 252 | source = "registry+https://github.com/rust-lang/crates.io-index" 253 | checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" 254 | dependencies = [ 255 | "bzip2-sys", 256 | "libc", 257 | ] 258 | 259 | [[package]] 260 | name = "bzip2-sys" 261 | version = "0.1.11+1.0.8" 262 | source = "registry+https://github.com/rust-lang/crates.io-index" 263 | checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" 264 | dependencies = [ 265 | "cc", 266 | "libc", 267 | "pkg-config", 268 | ] 269 | 270 | [[package]] 271 | name = "camino" 272 | version = "1.1.4" 273 | source = "registry+https://github.com/rust-lang/crates.io-index" 274 | checksum = "c530edf18f37068ac2d977409ed5cd50d53d73bc653c7647b48eb78976ac9ae2" 275 | dependencies = [ 276 | "serde", 277 | ] 278 | 279 | [[package]] 280 | name = "cargo-platform" 281 | version = "0.1.2" 282 | source = "registry+https://github.com/rust-lang/crates.io-index" 283 | checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27" 284 | dependencies = [ 285 | "serde", 286 | ] 287 | 288 | [[package]] 289 | name = "cargo_metadata" 290 | version = "0.15.4" 291 | source = "registry+https://github.com/rust-lang/crates.io-index" 292 | checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" 293 | dependencies = [ 294 | "camino", 295 | "cargo-platform", 296 | "semver", 297 | "serde", 298 | "serde_json", 299 | "thiserror", 300 | ] 301 | 302 | [[package]] 303 | name = "cc" 304 | version = "1.0.79" 305 | source = "registry+https://github.com/rust-lang/crates.io-index" 306 | checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" 307 | dependencies = [ 308 | "jobserver", 309 | ] 310 | 311 | [[package]] 312 | name = "cfg-if" 313 | version = "1.0.0" 314 | source = "registry+https://github.com/rust-lang/crates.io-index" 315 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 316 | 317 | [[package]] 318 | name = "chrono" 319 | version = "0.4.26" 320 | source = "registry+https://github.com/rust-lang/crates.io-index" 321 | checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" 322 | dependencies = [ 323 | "android-tzdata", 324 | "num-traits", 325 | ] 326 | 327 | [[package]] 328 | name = "cipher" 329 | version = "0.4.4" 330 | source = "registry+https://github.com/rust-lang/crates.io-index" 331 | checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" 332 | dependencies = [ 333 | "crypto-common", 334 | "inout", 335 | ] 336 | 337 | [[package]] 338 | name = "coins-bip32" 339 | version = "0.8.3" 340 | source = "registry+https://github.com/rust-lang/crates.io-index" 341 | checksum = "b30a84aab436fcb256a2ab3c80663d8aec686e6bae12827bb05fef3e1e439c9f" 342 | dependencies = [ 343 | "bincode", 344 | "bs58", 345 | "coins-core", 346 | "digest 0.10.7", 347 | "getrandom", 348 | "hmac", 349 | "k256", 350 | "lazy_static", 351 | "serde", 352 | "sha2 0.10.6", 353 | "thiserror", 354 | ] 355 | 356 | [[package]] 357 | name = "coins-bip39" 358 | version = "0.8.6" 359 | source = "registry+https://github.com/rust-lang/crates.io-index" 360 | checksum = "84f4d04ee18e58356accd644896aeb2094ddeafb6a713e056cef0c0a8e468c15" 361 | dependencies = [ 362 | "bitvec 0.17.4", 363 | "coins-bip32", 364 | "getrandom", 365 | "hmac", 366 | "once_cell", 367 | "pbkdf2 0.12.1", 368 | "rand", 369 | "sha2 0.10.6", 370 | "thiserror", 371 | ] 372 | 373 | [[package]] 374 | name = "coins-core" 375 | version = "0.8.3" 376 | source = "registry+https://github.com/rust-lang/crates.io-index" 377 | checksum = "9b949a1c63fb7eb591eb7ba438746326aedf0ae843e51ec92ba6bec5bb382c4f" 378 | dependencies = [ 379 | "base64 0.21.2", 380 | "bech32", 381 | "bs58", 382 | "digest 0.10.7", 383 | "generic-array", 384 | "hex", 385 | "ripemd", 386 | "serde", 387 | "serde_derive", 388 | "sha2 0.10.6", 389 | "sha3", 390 | "thiserror", 391 | ] 392 | 393 | [[package]] 394 | name = "const-oid" 395 | version = "0.9.2" 396 | source = "registry+https://github.com/rust-lang/crates.io-index" 397 | checksum = "520fbf3c07483f94e3e3ca9d0cfd913d7718ef2483d2cfd91c0d9e91474ab913" 398 | 399 | [[package]] 400 | name = "constant_time_eq" 401 | version = "0.1.5" 402 | source = "registry+https://github.com/rust-lang/crates.io-index" 403 | checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" 404 | 405 | [[package]] 406 | name = "core-foundation" 407 | version = "0.9.3" 408 | source = "registry+https://github.com/rust-lang/crates.io-index" 409 | checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" 410 | dependencies = [ 411 | "core-foundation-sys", 412 | "libc", 413 | ] 414 | 415 | [[package]] 416 | name = "core-foundation-sys" 417 | version = "0.8.4" 418 | source = "registry+https://github.com/rust-lang/crates.io-index" 419 | checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" 420 | 421 | [[package]] 422 | name = "cpufeatures" 423 | version = "0.2.7" 424 | source = "registry+https://github.com/rust-lang/crates.io-index" 425 | checksum = "3e4c1eaa2012c47becbbad2ab175484c2a84d1185b566fb2cc5b8707343dfe58" 426 | dependencies = [ 427 | "libc", 428 | ] 429 | 430 | [[package]] 431 | name = "crc32fast" 432 | version = "1.3.2" 433 | source = "registry+https://github.com/rust-lang/crates.io-index" 434 | checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" 435 | dependencies = [ 436 | "cfg-if", 437 | ] 438 | 439 | [[package]] 440 | name = "crossbeam-channel" 441 | version = "0.5.8" 442 | source = "registry+https://github.com/rust-lang/crates.io-index" 443 | checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" 444 | dependencies = [ 445 | "cfg-if", 446 | "crossbeam-utils", 447 | ] 448 | 449 | [[package]] 450 | name = "crossbeam-deque" 451 | version = "0.8.3" 452 | source = "registry+https://github.com/rust-lang/crates.io-index" 453 | checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" 454 | dependencies = [ 455 | "cfg-if", 456 | "crossbeam-epoch", 457 | "crossbeam-utils", 458 | ] 459 | 460 | [[package]] 461 | name = "crossbeam-epoch" 462 | version = "0.9.14" 463 | source = "registry+https://github.com/rust-lang/crates.io-index" 464 | checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695" 465 | dependencies = [ 466 | "autocfg", 467 | "cfg-if", 468 | "crossbeam-utils", 469 | "memoffset", 470 | "scopeguard", 471 | ] 472 | 473 | [[package]] 474 | name = "crossbeam-utils" 475 | version = "0.8.15" 476 | source = "registry+https://github.com/rust-lang/crates.io-index" 477 | checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b" 478 | dependencies = [ 479 | "cfg-if", 480 | ] 481 | 482 | [[package]] 483 | name = "crunchy" 484 | version = "0.2.2" 485 | source = "registry+https://github.com/rust-lang/crates.io-index" 486 | checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" 487 | 488 | [[package]] 489 | name = "crypto-bigint" 490 | version = "0.5.2" 491 | source = "registry+https://github.com/rust-lang/crates.io-index" 492 | checksum = "cf4c2f4e1afd912bc40bfd6fed5d9dc1f288e0ba01bfcc835cc5bc3eb13efe15" 493 | dependencies = [ 494 | "generic-array", 495 | "rand_core", 496 | "subtle", 497 | "zeroize", 498 | ] 499 | 500 | [[package]] 501 | name = "crypto-common" 502 | version = "0.1.6" 503 | source = "registry+https://github.com/rust-lang/crates.io-index" 504 | checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 505 | dependencies = [ 506 | "generic-array", 507 | "typenum", 508 | ] 509 | 510 | [[package]] 511 | name = "ctr" 512 | version = "0.9.2" 513 | source = "registry+https://github.com/rust-lang/crates.io-index" 514 | checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" 515 | dependencies = [ 516 | "cipher", 517 | ] 518 | 519 | [[package]] 520 | name = "data-encoding" 521 | version = "2.4.0" 522 | source = "registry+https://github.com/rust-lang/crates.io-index" 523 | checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" 524 | 525 | [[package]] 526 | name = "der" 527 | version = "0.7.6" 528 | source = "registry+https://github.com/rust-lang/crates.io-index" 529 | checksum = "56acb310e15652100da43d130af8d97b509e95af61aab1c5a7939ef24337ee17" 530 | dependencies = [ 531 | "const-oid", 532 | "zeroize", 533 | ] 534 | 535 | [[package]] 536 | name = "derive_more" 537 | version = "0.99.17" 538 | source = "registry+https://github.com/rust-lang/crates.io-index" 539 | checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" 540 | dependencies = [ 541 | "proc-macro2", 542 | "quote", 543 | "syn 1.0.109", 544 | ] 545 | 546 | [[package]] 547 | name = "diff" 548 | version = "0.1.13" 549 | source = "registry+https://github.com/rust-lang/crates.io-index" 550 | checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" 551 | 552 | [[package]] 553 | name = "digest" 554 | version = "0.9.0" 555 | source = "registry+https://github.com/rust-lang/crates.io-index" 556 | checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" 557 | dependencies = [ 558 | "generic-array", 559 | ] 560 | 561 | [[package]] 562 | name = "digest" 563 | version = "0.10.7" 564 | source = "registry+https://github.com/rust-lang/crates.io-index" 565 | checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 566 | dependencies = [ 567 | "block-buffer 0.10.4", 568 | "const-oid", 569 | "crypto-common", 570 | "subtle", 571 | ] 572 | 573 | [[package]] 574 | name = "dirs-next" 575 | version = "2.0.0" 576 | source = "registry+https://github.com/rust-lang/crates.io-index" 577 | checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" 578 | dependencies = [ 579 | "cfg-if", 580 | "dirs-sys-next", 581 | ] 582 | 583 | [[package]] 584 | name = "dirs-sys-next" 585 | version = "0.1.2" 586 | source = "registry+https://github.com/rust-lang/crates.io-index" 587 | checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" 588 | dependencies = [ 589 | "libc", 590 | "redox_users", 591 | "winapi", 592 | ] 593 | 594 | [[package]] 595 | name = "dunce" 596 | version = "1.0.4" 597 | source = "registry+https://github.com/rust-lang/crates.io-index" 598 | checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" 599 | 600 | [[package]] 601 | name = "ecdsa" 602 | version = "0.16.7" 603 | source = "registry+https://github.com/rust-lang/crates.io-index" 604 | checksum = "0997c976637b606099b9985693efa3581e84e41f5c11ba5255f88711058ad428" 605 | dependencies = [ 606 | "der", 607 | "digest 0.10.7", 608 | "elliptic-curve", 609 | "rfc6979", 610 | "signature", 611 | "spki", 612 | ] 613 | 614 | [[package]] 615 | name = "either" 616 | version = "1.8.1" 617 | source = "registry+https://github.com/rust-lang/crates.io-index" 618 | checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" 619 | 620 | [[package]] 621 | name = "elliptic-curve" 622 | version = "0.13.5" 623 | source = "registry+https://github.com/rust-lang/crates.io-index" 624 | checksum = "968405c8fdc9b3bf4df0a6638858cc0b52462836ab6b1c87377785dd09cf1c0b" 625 | dependencies = [ 626 | "base16ct", 627 | "crypto-bigint", 628 | "digest 0.10.7", 629 | "ff", 630 | "generic-array", 631 | "group", 632 | "pkcs8", 633 | "rand_core", 634 | "sec1", 635 | "subtle", 636 | "zeroize", 637 | ] 638 | 639 | [[package]] 640 | name = "ena" 641 | version = "0.14.2" 642 | source = "registry+https://github.com/rust-lang/crates.io-index" 643 | checksum = "c533630cf40e9caa44bd91aadc88a75d75a4c3a12b4cfde353cbed41daa1e1f1" 644 | dependencies = [ 645 | "log", 646 | ] 647 | 648 | [[package]] 649 | name = "encoding_rs" 650 | version = "0.8.32" 651 | source = "registry+https://github.com/rust-lang/crates.io-index" 652 | checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" 653 | dependencies = [ 654 | "cfg-if", 655 | ] 656 | 657 | [[package]] 658 | name = "enr" 659 | version = "0.8.1" 660 | source = "registry+https://github.com/rust-lang/crates.io-index" 661 | checksum = "cf56acd72bb22d2824e66ae8e9e5ada4d0de17a69c7fd35569dde2ada8ec9116" 662 | dependencies = [ 663 | "base64 0.13.1", 664 | "bytes", 665 | "hex", 666 | "k256", 667 | "log", 668 | "rand", 669 | "rlp", 670 | "serde", 671 | "sha3", 672 | "zeroize", 673 | ] 674 | 675 | [[package]] 676 | name = "errno" 677 | version = "0.3.1" 678 | source = "registry+https://github.com/rust-lang/crates.io-index" 679 | checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" 680 | dependencies = [ 681 | "errno-dragonfly", 682 | "libc", 683 | "windows-sys 0.48.0", 684 | ] 685 | 686 | [[package]] 687 | name = "errno-dragonfly" 688 | version = "0.1.2" 689 | source = "registry+https://github.com/rust-lang/crates.io-index" 690 | checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" 691 | dependencies = [ 692 | "cc", 693 | "libc", 694 | ] 695 | 696 | [[package]] 697 | name = "eth-keystore" 698 | version = "0.5.0" 699 | source = "registry+https://github.com/rust-lang/crates.io-index" 700 | checksum = "1fda3bf123be441da5260717e0661c25a2fd9cb2b2c1d20bf2e05580047158ab" 701 | dependencies = [ 702 | "aes", 703 | "ctr", 704 | "digest 0.10.7", 705 | "hex", 706 | "hmac", 707 | "pbkdf2 0.11.0", 708 | "rand", 709 | "scrypt", 710 | "serde", 711 | "serde_json", 712 | "sha2 0.10.6", 713 | "sha3", 714 | "thiserror", 715 | "uuid", 716 | ] 717 | 718 | [[package]] 719 | name = "ethabi" 720 | version = "18.0.0" 721 | source = "registry+https://github.com/rust-lang/crates.io-index" 722 | checksum = "7413c5f74cc903ea37386a8965a936cbeb334bd270862fdece542c1b2dcbc898" 723 | dependencies = [ 724 | "ethereum-types", 725 | "hex", 726 | "once_cell", 727 | "regex", 728 | "serde", 729 | "serde_json", 730 | "sha3", 731 | "thiserror", 732 | "uint", 733 | ] 734 | 735 | [[package]] 736 | name = "ethbloom" 737 | version = "0.13.0" 738 | source = "registry+https://github.com/rust-lang/crates.io-index" 739 | checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60" 740 | dependencies = [ 741 | "crunchy", 742 | "fixed-hash", 743 | "impl-codec", 744 | "impl-rlp", 745 | "impl-serde", 746 | "scale-info", 747 | "tiny-keccak", 748 | ] 749 | 750 | [[package]] 751 | name = "ethereum-types" 752 | version = "0.14.1" 753 | source = "registry+https://github.com/rust-lang/crates.io-index" 754 | checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee" 755 | dependencies = [ 756 | "ethbloom", 757 | "fixed-hash", 758 | "impl-codec", 759 | "impl-rlp", 760 | "impl-serde", 761 | "primitive-types", 762 | "scale-info", 763 | "uint", 764 | ] 765 | 766 | [[package]] 767 | name = "ethers" 768 | version = "2.0.6" 769 | source = "registry+https://github.com/rust-lang/crates.io-index" 770 | checksum = "9c3a2483be182a1deacc9b7daa727594c8977f4d6c6df2d762eac3280cfa67c5" 771 | dependencies = [ 772 | "ethers-addressbook", 773 | "ethers-contract", 774 | "ethers-core", 775 | "ethers-etherscan", 776 | "ethers-middleware", 777 | "ethers-providers", 778 | "ethers-signers", 779 | "ethers-solc", 780 | ] 781 | 782 | [[package]] 783 | name = "ethers-addressbook" 784 | version = "2.0.6" 785 | source = "registry+https://github.com/rust-lang/crates.io-index" 786 | checksum = "b4a57fb532a6833eaa086a72049a5638a3baf593b2687e7ad726d983f793fb18" 787 | dependencies = [ 788 | "ethers-core", 789 | "once_cell", 790 | "serde", 791 | "serde_json", 792 | ] 793 | 794 | [[package]] 795 | name = "ethers-contract" 796 | version = "2.0.6" 797 | source = "registry+https://github.com/rust-lang/crates.io-index" 798 | checksum = "80ef33619fb0732617a84e05a02da32a1b212239a4bdba3af5e57aa9caf55929" 799 | dependencies = [ 800 | "ethers-contract-abigen", 801 | "ethers-contract-derive", 802 | "ethers-core", 803 | "ethers-providers", 804 | "futures-util", 805 | "hex", 806 | "once_cell", 807 | "pin-project", 808 | "serde", 809 | "serde_json", 810 | "thiserror", 811 | ] 812 | 813 | [[package]] 814 | name = "ethers-contract-abigen" 815 | version = "2.0.6" 816 | source = "registry+https://github.com/rust-lang/crates.io-index" 817 | checksum = "b284d9fb6f654f8a12f46e85d14f7f6f867f5bbb7de5780cdda45d39e75809c0" 818 | dependencies = [ 819 | "Inflector", 820 | "dunce", 821 | "ethers-core", 822 | "ethers-etherscan", 823 | "eyre", 824 | "hex", 825 | "prettyplease", 826 | "proc-macro2", 827 | "quote", 828 | "regex", 829 | "reqwest", 830 | "serde", 831 | "serde_json", 832 | "syn 2.0.18", 833 | "toml", 834 | "walkdir", 835 | ] 836 | 837 | [[package]] 838 | name = "ethers-contract-derive" 839 | version = "2.0.6" 840 | source = "registry+https://github.com/rust-lang/crates.io-index" 841 | checksum = "542b65f2d45be9ae1676ba129baba60d76d440acb6e933e76b0b6dcada266415" 842 | dependencies = [ 843 | "Inflector", 844 | "ethers-contract-abigen", 845 | "ethers-core", 846 | "hex", 847 | "proc-macro2", 848 | "quote", 849 | "serde_json", 850 | "syn 2.0.18", 851 | ] 852 | 853 | [[package]] 854 | name = "ethers-core" 855 | version = "2.0.6" 856 | source = "registry+https://github.com/rust-lang/crates.io-index" 857 | checksum = "949df06c5bdc23361f12f58af748e62839d579fd650ce734bff2ccaedec992a9" 858 | dependencies = [ 859 | "arrayvec", 860 | "bytes", 861 | "cargo_metadata", 862 | "chrono", 863 | "elliptic-curve", 864 | "ethabi", 865 | "generic-array", 866 | "hex", 867 | "k256", 868 | "num_enum", 869 | "once_cell", 870 | "open-fastrlp", 871 | "rand", 872 | "rlp", 873 | "serde", 874 | "serde_json", 875 | "strum", 876 | "syn 2.0.18", 877 | "tempfile", 878 | "thiserror", 879 | "tiny-keccak", 880 | "unicode-xid", 881 | ] 882 | 883 | [[package]] 884 | name = "ethers-etherscan" 885 | version = "2.0.6" 886 | source = "registry+https://github.com/rust-lang/crates.io-index" 887 | checksum = "f93971f8de6430ce591f6e8af3a6c0a64d3ee5cd2efa384ebc0d662ac6d9da10" 888 | dependencies = [ 889 | "ethers-core", 890 | "reqwest", 891 | "semver", 892 | "serde", 893 | "serde_json", 894 | "thiserror", 895 | "tracing", 896 | ] 897 | 898 | [[package]] 899 | name = "ethers-middleware" 900 | version = "2.0.6" 901 | source = "registry+https://github.com/rust-lang/crates.io-index" 902 | checksum = "b47e5929cec99aa8cb4b93fd13d990d6d243ba389a803fbfd4806d69ad6d7980" 903 | dependencies = [ 904 | "async-trait", 905 | "auto_impl", 906 | "ethers-contract", 907 | "ethers-core", 908 | "ethers-etherscan", 909 | "ethers-providers", 910 | "ethers-signers", 911 | "futures-channel", 912 | "futures-locks", 913 | "futures-util", 914 | "instant", 915 | "reqwest", 916 | "serde", 917 | "serde_json", 918 | "thiserror", 919 | "tokio", 920 | "tracing", 921 | "tracing-futures", 922 | "url", 923 | ] 924 | 925 | [[package]] 926 | name = "ethers-providers" 927 | version = "2.0.6" 928 | source = "registry+https://github.com/rust-lang/crates.io-index" 929 | checksum = "e9a404215845d474defb3c0466ec3e695ce6122702158e87343f4308c026de81" 930 | dependencies = [ 931 | "async-trait", 932 | "auto_impl", 933 | "base64 0.21.2", 934 | "bytes", 935 | "enr", 936 | "ethers-core", 937 | "futures-core", 938 | "futures-timer", 939 | "futures-util", 940 | "hashers", 941 | "hex", 942 | "http", 943 | "instant", 944 | "once_cell", 945 | "pin-project", 946 | "reqwest", 947 | "serde", 948 | "serde_json", 949 | "thiserror", 950 | "tokio", 951 | "tokio-tungstenite", 952 | "tracing", 953 | "tracing-futures", 954 | "url", 955 | "wasm-bindgen", 956 | "wasm-bindgen-futures", 957 | "web-sys", 958 | "ws_stream_wasm", 959 | ] 960 | 961 | [[package]] 962 | name = "ethers-signers" 963 | version = "2.0.6" 964 | source = "registry+https://github.com/rust-lang/crates.io-index" 965 | checksum = "97d849cf868651243a26442af8a5b8a63cd4c85f4e8d5c5f72994a702abc3fd9" 966 | dependencies = [ 967 | "async-trait", 968 | "coins-bip32", 969 | "coins-bip39", 970 | "elliptic-curve", 971 | "eth-keystore", 972 | "ethers-core", 973 | "hex", 974 | "rand", 975 | "sha2 0.10.6", 976 | "thiserror", 977 | "tracing", 978 | ] 979 | 980 | [[package]] 981 | name = "ethers-solc" 982 | version = "2.0.6" 983 | source = "registry+https://github.com/rust-lang/crates.io-index" 984 | checksum = "8aa3fd8abbcc84013d8199524d3b89bf123d7a48ed984b00b80c72ef1a47b691" 985 | dependencies = [ 986 | "cfg-if", 987 | "dunce", 988 | "ethers-core", 989 | "glob", 990 | "hex", 991 | "home", 992 | "md-5", 993 | "num_cpus", 994 | "once_cell", 995 | "path-slash", 996 | "rayon", 997 | "regex", 998 | "semver", 999 | "serde", 1000 | "serde_json", 1001 | "solang-parser", 1002 | "svm-rs", 1003 | "thiserror", 1004 | "tiny-keccak", 1005 | "tokio", 1006 | "tracing", 1007 | "walkdir", 1008 | "yansi", 1009 | ] 1010 | 1011 | [[package]] 1012 | name = "eyre" 1013 | version = "0.6.8" 1014 | source = "registry+https://github.com/rust-lang/crates.io-index" 1015 | checksum = "4c2b6b5a29c02cdc822728b7d7b8ae1bab3e3b05d44522770ddd49722eeac7eb" 1016 | dependencies = [ 1017 | "indenter", 1018 | "once_cell", 1019 | ] 1020 | 1021 | [[package]] 1022 | name = "fastrand" 1023 | version = "1.9.0" 1024 | source = "registry+https://github.com/rust-lang/crates.io-index" 1025 | checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" 1026 | dependencies = [ 1027 | "instant", 1028 | ] 1029 | 1030 | [[package]] 1031 | name = "ff" 1032 | version = "0.13.0" 1033 | source = "registry+https://github.com/rust-lang/crates.io-index" 1034 | checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" 1035 | dependencies = [ 1036 | "rand_core", 1037 | "subtle", 1038 | ] 1039 | 1040 | [[package]] 1041 | name = "fixed-hash" 1042 | version = "0.8.0" 1043 | source = "registry+https://github.com/rust-lang/crates.io-index" 1044 | checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" 1045 | dependencies = [ 1046 | "byteorder", 1047 | "rand", 1048 | "rustc-hex", 1049 | "static_assertions", 1050 | ] 1051 | 1052 | [[package]] 1053 | name = "fixedbitset" 1054 | version = "0.4.2" 1055 | source = "registry+https://github.com/rust-lang/crates.io-index" 1056 | checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" 1057 | 1058 | [[package]] 1059 | name = "flate2" 1060 | version = "1.0.26" 1061 | source = "registry+https://github.com/rust-lang/crates.io-index" 1062 | checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" 1063 | dependencies = [ 1064 | "crc32fast", 1065 | "miniz_oxide", 1066 | ] 1067 | 1068 | [[package]] 1069 | name = "fnv" 1070 | version = "1.0.7" 1071 | source = "registry+https://github.com/rust-lang/crates.io-index" 1072 | checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 1073 | 1074 | [[package]] 1075 | name = "foreign-types" 1076 | version = "0.3.2" 1077 | source = "registry+https://github.com/rust-lang/crates.io-index" 1078 | checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" 1079 | dependencies = [ 1080 | "foreign-types-shared", 1081 | ] 1082 | 1083 | [[package]] 1084 | name = "foreign-types-shared" 1085 | version = "0.1.1" 1086 | source = "registry+https://github.com/rust-lang/crates.io-index" 1087 | checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" 1088 | 1089 | [[package]] 1090 | name = "form_urlencoded" 1091 | version = "1.1.0" 1092 | source = "registry+https://github.com/rust-lang/crates.io-index" 1093 | checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" 1094 | dependencies = [ 1095 | "percent-encoding", 1096 | ] 1097 | 1098 | [[package]] 1099 | name = "fs2" 1100 | version = "0.4.3" 1101 | source = "registry+https://github.com/rust-lang/crates.io-index" 1102 | checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" 1103 | dependencies = [ 1104 | "libc", 1105 | "winapi", 1106 | ] 1107 | 1108 | [[package]] 1109 | name = "funty" 1110 | version = "2.0.0" 1111 | source = "registry+https://github.com/rust-lang/crates.io-index" 1112 | checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" 1113 | 1114 | [[package]] 1115 | name = "futures" 1116 | version = "0.3.28" 1117 | source = "registry+https://github.com/rust-lang/crates.io-index" 1118 | checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" 1119 | dependencies = [ 1120 | "futures-channel", 1121 | "futures-core", 1122 | "futures-executor", 1123 | "futures-io", 1124 | "futures-sink", 1125 | "futures-task", 1126 | "futures-util", 1127 | ] 1128 | 1129 | [[package]] 1130 | name = "futures-channel" 1131 | version = "0.3.28" 1132 | source = "registry+https://github.com/rust-lang/crates.io-index" 1133 | checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" 1134 | dependencies = [ 1135 | "futures-core", 1136 | "futures-sink", 1137 | ] 1138 | 1139 | [[package]] 1140 | name = "futures-core" 1141 | version = "0.3.28" 1142 | source = "registry+https://github.com/rust-lang/crates.io-index" 1143 | checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" 1144 | 1145 | [[package]] 1146 | name = "futures-executor" 1147 | version = "0.3.28" 1148 | source = "registry+https://github.com/rust-lang/crates.io-index" 1149 | checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" 1150 | dependencies = [ 1151 | "futures-core", 1152 | "futures-task", 1153 | "futures-util", 1154 | ] 1155 | 1156 | [[package]] 1157 | name = "futures-io" 1158 | version = "0.3.28" 1159 | source = "registry+https://github.com/rust-lang/crates.io-index" 1160 | checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" 1161 | 1162 | [[package]] 1163 | name = "futures-locks" 1164 | version = "0.7.1" 1165 | source = "registry+https://github.com/rust-lang/crates.io-index" 1166 | checksum = "45ec6fe3675af967e67c5536c0b9d44e34e6c52f86bedc4ea49c5317b8e94d06" 1167 | dependencies = [ 1168 | "futures-channel", 1169 | "futures-task", 1170 | ] 1171 | 1172 | [[package]] 1173 | name = "futures-macro" 1174 | version = "0.3.28" 1175 | source = "registry+https://github.com/rust-lang/crates.io-index" 1176 | checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" 1177 | dependencies = [ 1178 | "proc-macro2", 1179 | "quote", 1180 | "syn 2.0.18", 1181 | ] 1182 | 1183 | [[package]] 1184 | name = "futures-sink" 1185 | version = "0.3.28" 1186 | source = "registry+https://github.com/rust-lang/crates.io-index" 1187 | checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" 1188 | 1189 | [[package]] 1190 | name = "futures-task" 1191 | version = "0.3.28" 1192 | source = "registry+https://github.com/rust-lang/crates.io-index" 1193 | checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" 1194 | 1195 | [[package]] 1196 | name = "futures-timer" 1197 | version = "3.0.2" 1198 | source = "registry+https://github.com/rust-lang/crates.io-index" 1199 | checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" 1200 | dependencies = [ 1201 | "gloo-timers", 1202 | "send_wrapper 0.4.0", 1203 | ] 1204 | 1205 | [[package]] 1206 | name = "futures-util" 1207 | version = "0.3.28" 1208 | source = "registry+https://github.com/rust-lang/crates.io-index" 1209 | checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" 1210 | dependencies = [ 1211 | "futures-channel", 1212 | "futures-core", 1213 | "futures-io", 1214 | "futures-macro", 1215 | "futures-sink", 1216 | "futures-task", 1217 | "memchr", 1218 | "pin-project-lite", 1219 | "pin-utils", 1220 | "slab", 1221 | ] 1222 | 1223 | [[package]] 1224 | name = "fxhash" 1225 | version = "0.2.1" 1226 | source = "registry+https://github.com/rust-lang/crates.io-index" 1227 | checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" 1228 | dependencies = [ 1229 | "byteorder", 1230 | ] 1231 | 1232 | [[package]] 1233 | name = "generic-array" 1234 | version = "0.14.7" 1235 | source = "registry+https://github.com/rust-lang/crates.io-index" 1236 | checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 1237 | dependencies = [ 1238 | "typenum", 1239 | "version_check", 1240 | "zeroize", 1241 | ] 1242 | 1243 | [[package]] 1244 | name = "getrandom" 1245 | version = "0.2.9" 1246 | source = "registry+https://github.com/rust-lang/crates.io-index" 1247 | checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" 1248 | dependencies = [ 1249 | "cfg-if", 1250 | "js-sys", 1251 | "libc", 1252 | "wasi", 1253 | "wasm-bindgen", 1254 | ] 1255 | 1256 | [[package]] 1257 | name = "glob" 1258 | version = "0.3.1" 1259 | source = "registry+https://github.com/rust-lang/crates.io-index" 1260 | checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" 1261 | 1262 | [[package]] 1263 | name = "gloo-timers" 1264 | version = "0.2.6" 1265 | source = "registry+https://github.com/rust-lang/crates.io-index" 1266 | checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" 1267 | dependencies = [ 1268 | "futures-channel", 1269 | "futures-core", 1270 | "js-sys", 1271 | "wasm-bindgen", 1272 | ] 1273 | 1274 | [[package]] 1275 | name = "group" 1276 | version = "0.13.0" 1277 | source = "registry+https://github.com/rust-lang/crates.io-index" 1278 | checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" 1279 | dependencies = [ 1280 | "ff", 1281 | "rand_core", 1282 | "subtle", 1283 | ] 1284 | 1285 | [[package]] 1286 | name = "h2" 1287 | version = "0.3.19" 1288 | source = "registry+https://github.com/rust-lang/crates.io-index" 1289 | checksum = "d357c7ae988e7d2182f7d7871d0b963962420b0678b0997ce7de72001aeab782" 1290 | dependencies = [ 1291 | "bytes", 1292 | "fnv", 1293 | "futures-core", 1294 | "futures-sink", 1295 | "futures-util", 1296 | "http", 1297 | "indexmap", 1298 | "slab", 1299 | "tokio", 1300 | "tokio-util", 1301 | "tracing", 1302 | ] 1303 | 1304 | [[package]] 1305 | name = "hashbrown" 1306 | version = "0.12.3" 1307 | source = "registry+https://github.com/rust-lang/crates.io-index" 1308 | checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 1309 | 1310 | [[package]] 1311 | name = "hashers" 1312 | version = "1.0.1" 1313 | source = "registry+https://github.com/rust-lang/crates.io-index" 1314 | checksum = "b2bca93b15ea5a746f220e56587f71e73c6165eab783df9e26590069953e3c30" 1315 | dependencies = [ 1316 | "fxhash", 1317 | ] 1318 | 1319 | [[package]] 1320 | name = "heck" 1321 | version = "0.4.1" 1322 | source = "registry+https://github.com/rust-lang/crates.io-index" 1323 | checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 1324 | 1325 | [[package]] 1326 | name = "hermit-abi" 1327 | version = "0.2.6" 1328 | source = "registry+https://github.com/rust-lang/crates.io-index" 1329 | checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" 1330 | dependencies = [ 1331 | "libc", 1332 | ] 1333 | 1334 | [[package]] 1335 | name = "hermit-abi" 1336 | version = "0.3.1" 1337 | source = "registry+https://github.com/rust-lang/crates.io-index" 1338 | checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" 1339 | 1340 | [[package]] 1341 | name = "hex" 1342 | version = "0.4.3" 1343 | source = "registry+https://github.com/rust-lang/crates.io-index" 1344 | checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 1345 | 1346 | [[package]] 1347 | name = "hmac" 1348 | version = "0.12.1" 1349 | source = "registry+https://github.com/rust-lang/crates.io-index" 1350 | checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" 1351 | dependencies = [ 1352 | "digest 0.10.7", 1353 | ] 1354 | 1355 | [[package]] 1356 | name = "home" 1357 | version = "0.5.5" 1358 | source = "registry+https://github.com/rust-lang/crates.io-index" 1359 | checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" 1360 | dependencies = [ 1361 | "windows-sys 0.48.0", 1362 | ] 1363 | 1364 | [[package]] 1365 | name = "http" 1366 | version = "0.2.9" 1367 | source = "registry+https://github.com/rust-lang/crates.io-index" 1368 | checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" 1369 | dependencies = [ 1370 | "bytes", 1371 | "fnv", 1372 | "itoa", 1373 | ] 1374 | 1375 | [[package]] 1376 | name = "http-body" 1377 | version = "0.4.5" 1378 | source = "registry+https://github.com/rust-lang/crates.io-index" 1379 | checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" 1380 | dependencies = [ 1381 | "bytes", 1382 | "http", 1383 | "pin-project-lite", 1384 | ] 1385 | 1386 | [[package]] 1387 | name = "httparse" 1388 | version = "1.8.0" 1389 | source = "registry+https://github.com/rust-lang/crates.io-index" 1390 | checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" 1391 | 1392 | [[package]] 1393 | name = "httpdate" 1394 | version = "1.0.2" 1395 | source = "registry+https://github.com/rust-lang/crates.io-index" 1396 | checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" 1397 | 1398 | [[package]] 1399 | name = "hyper" 1400 | version = "0.14.26" 1401 | source = "registry+https://github.com/rust-lang/crates.io-index" 1402 | checksum = "ab302d72a6f11a3b910431ff93aae7e773078c769f0a3ef15fb9ec692ed147d4" 1403 | dependencies = [ 1404 | "bytes", 1405 | "futures-channel", 1406 | "futures-core", 1407 | "futures-util", 1408 | "h2", 1409 | "http", 1410 | "http-body", 1411 | "httparse", 1412 | "httpdate", 1413 | "itoa", 1414 | "pin-project-lite", 1415 | "socket2", 1416 | "tokio", 1417 | "tower-service", 1418 | "tracing", 1419 | "want", 1420 | ] 1421 | 1422 | [[package]] 1423 | name = "hyper-rustls" 1424 | version = "0.24.0" 1425 | source = "registry+https://github.com/rust-lang/crates.io-index" 1426 | checksum = "0646026eb1b3eea4cd9ba47912ea5ce9cc07713d105b1a14698f4e6433d348b7" 1427 | dependencies = [ 1428 | "http", 1429 | "hyper", 1430 | "rustls", 1431 | "tokio", 1432 | "tokio-rustls", 1433 | ] 1434 | 1435 | [[package]] 1436 | name = "hyper-tls" 1437 | version = "0.5.0" 1438 | source = "registry+https://github.com/rust-lang/crates.io-index" 1439 | checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" 1440 | dependencies = [ 1441 | "bytes", 1442 | "hyper", 1443 | "native-tls", 1444 | "tokio", 1445 | "tokio-native-tls", 1446 | ] 1447 | 1448 | [[package]] 1449 | name = "idna" 1450 | version = "0.3.0" 1451 | source = "registry+https://github.com/rust-lang/crates.io-index" 1452 | checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" 1453 | dependencies = [ 1454 | "unicode-bidi", 1455 | "unicode-normalization", 1456 | ] 1457 | 1458 | [[package]] 1459 | name = "impl-codec" 1460 | version = "0.6.0" 1461 | source = "registry+https://github.com/rust-lang/crates.io-index" 1462 | checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" 1463 | dependencies = [ 1464 | "parity-scale-codec", 1465 | ] 1466 | 1467 | [[package]] 1468 | name = "impl-rlp" 1469 | version = "0.3.0" 1470 | source = "registry+https://github.com/rust-lang/crates.io-index" 1471 | checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" 1472 | dependencies = [ 1473 | "rlp", 1474 | ] 1475 | 1476 | [[package]] 1477 | name = "impl-serde" 1478 | version = "0.4.0" 1479 | source = "registry+https://github.com/rust-lang/crates.io-index" 1480 | checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd" 1481 | dependencies = [ 1482 | "serde", 1483 | ] 1484 | 1485 | [[package]] 1486 | name = "impl-trait-for-tuples" 1487 | version = "0.2.2" 1488 | source = "registry+https://github.com/rust-lang/crates.io-index" 1489 | checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" 1490 | dependencies = [ 1491 | "proc-macro2", 1492 | "quote", 1493 | "syn 1.0.109", 1494 | ] 1495 | 1496 | [[package]] 1497 | name = "indenter" 1498 | version = "0.3.3" 1499 | source = "registry+https://github.com/rust-lang/crates.io-index" 1500 | checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" 1501 | 1502 | [[package]] 1503 | name = "indexmap" 1504 | version = "1.9.3" 1505 | source = "registry+https://github.com/rust-lang/crates.io-index" 1506 | checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" 1507 | dependencies = [ 1508 | "autocfg", 1509 | "hashbrown", 1510 | ] 1511 | 1512 | [[package]] 1513 | name = "inout" 1514 | version = "0.1.3" 1515 | source = "registry+https://github.com/rust-lang/crates.io-index" 1516 | checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" 1517 | dependencies = [ 1518 | "generic-array", 1519 | ] 1520 | 1521 | [[package]] 1522 | name = "instant" 1523 | version = "0.1.12" 1524 | source = "registry+https://github.com/rust-lang/crates.io-index" 1525 | checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" 1526 | dependencies = [ 1527 | "cfg-if", 1528 | ] 1529 | 1530 | [[package]] 1531 | name = "io-lifetimes" 1532 | version = "1.0.11" 1533 | source = "registry+https://github.com/rust-lang/crates.io-index" 1534 | checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" 1535 | dependencies = [ 1536 | "hermit-abi 0.3.1", 1537 | "libc", 1538 | "windows-sys 0.48.0", 1539 | ] 1540 | 1541 | [[package]] 1542 | name = "ipnet" 1543 | version = "2.7.2" 1544 | source = "registry+https://github.com/rust-lang/crates.io-index" 1545 | checksum = "12b6ee2129af8d4fb011108c73d99a1b83a85977f23b82460c0ae2e25bb4b57f" 1546 | 1547 | [[package]] 1548 | name = "is-terminal" 1549 | version = "0.4.7" 1550 | source = "registry+https://github.com/rust-lang/crates.io-index" 1551 | checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" 1552 | dependencies = [ 1553 | "hermit-abi 0.3.1", 1554 | "io-lifetimes", 1555 | "rustix", 1556 | "windows-sys 0.48.0", 1557 | ] 1558 | 1559 | [[package]] 1560 | name = "itertools" 1561 | version = "0.10.5" 1562 | source = "registry+https://github.com/rust-lang/crates.io-index" 1563 | checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" 1564 | dependencies = [ 1565 | "either", 1566 | ] 1567 | 1568 | [[package]] 1569 | name = "itoa" 1570 | version = "1.0.6" 1571 | source = "registry+https://github.com/rust-lang/crates.io-index" 1572 | checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" 1573 | 1574 | [[package]] 1575 | name = "jobserver" 1576 | version = "0.1.26" 1577 | source = "registry+https://github.com/rust-lang/crates.io-index" 1578 | checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" 1579 | dependencies = [ 1580 | "libc", 1581 | ] 1582 | 1583 | [[package]] 1584 | name = "js-sys" 1585 | version = "0.3.63" 1586 | source = "registry+https://github.com/rust-lang/crates.io-index" 1587 | checksum = "2f37a4a5928311ac501dee68b3c7613a1037d0edb30c8e5427bd832d55d1b790" 1588 | dependencies = [ 1589 | "wasm-bindgen", 1590 | ] 1591 | 1592 | [[package]] 1593 | name = "k256" 1594 | version = "0.13.1" 1595 | source = "registry+https://github.com/rust-lang/crates.io-index" 1596 | checksum = "cadb76004ed8e97623117f3df85b17aaa6626ab0b0831e6573f104df16cd1bcc" 1597 | dependencies = [ 1598 | "cfg-if", 1599 | "ecdsa", 1600 | "elliptic-curve", 1601 | "once_cell", 1602 | "sha2 0.10.6", 1603 | "signature", 1604 | ] 1605 | 1606 | [[package]] 1607 | name = "keccak" 1608 | version = "0.1.4" 1609 | source = "registry+https://github.com/rust-lang/crates.io-index" 1610 | checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" 1611 | dependencies = [ 1612 | "cpufeatures", 1613 | ] 1614 | 1615 | [[package]] 1616 | name = "lalrpop" 1617 | version = "0.19.12" 1618 | source = "registry+https://github.com/rust-lang/crates.io-index" 1619 | checksum = "0a1cbf952127589f2851ab2046af368fd20645491bb4b376f04b7f94d7a9837b" 1620 | dependencies = [ 1621 | "ascii-canvas", 1622 | "bit-set", 1623 | "diff", 1624 | "ena", 1625 | "is-terminal", 1626 | "itertools", 1627 | "lalrpop-util", 1628 | "petgraph", 1629 | "regex", 1630 | "regex-syntax 0.6.29", 1631 | "string_cache", 1632 | "term", 1633 | "tiny-keccak", 1634 | "unicode-xid", 1635 | ] 1636 | 1637 | [[package]] 1638 | name = "lalrpop-util" 1639 | version = "0.19.12" 1640 | source = "registry+https://github.com/rust-lang/crates.io-index" 1641 | checksum = "d3c48237b9604c5a4702de6b824e02006c3214327564636aef27c1028a8fa0ed" 1642 | 1643 | [[package]] 1644 | name = "lazy_static" 1645 | version = "1.4.0" 1646 | source = "registry+https://github.com/rust-lang/crates.io-index" 1647 | checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 1648 | 1649 | [[package]] 1650 | name = "libc" 1651 | version = "0.2.144" 1652 | source = "registry+https://github.com/rust-lang/crates.io-index" 1653 | checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" 1654 | 1655 | [[package]] 1656 | name = "linux-raw-sys" 1657 | version = "0.3.8" 1658 | source = "registry+https://github.com/rust-lang/crates.io-index" 1659 | checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" 1660 | 1661 | [[package]] 1662 | name = "lock_api" 1663 | version = "0.4.9" 1664 | source = "registry+https://github.com/rust-lang/crates.io-index" 1665 | checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" 1666 | dependencies = [ 1667 | "autocfg", 1668 | "scopeguard", 1669 | ] 1670 | 1671 | [[package]] 1672 | name = "log" 1673 | version = "0.4.18" 1674 | source = "registry+https://github.com/rust-lang/crates.io-index" 1675 | checksum = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de" 1676 | 1677 | [[package]] 1678 | name = "md-5" 1679 | version = "0.10.5" 1680 | source = "registry+https://github.com/rust-lang/crates.io-index" 1681 | checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca" 1682 | dependencies = [ 1683 | "digest 0.10.7", 1684 | ] 1685 | 1686 | [[package]] 1687 | name = "memchr" 1688 | version = "2.5.0" 1689 | source = "registry+https://github.com/rust-lang/crates.io-index" 1690 | checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" 1691 | 1692 | [[package]] 1693 | name = "memoffset" 1694 | version = "0.8.0" 1695 | source = "registry+https://github.com/rust-lang/crates.io-index" 1696 | checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" 1697 | dependencies = [ 1698 | "autocfg", 1699 | ] 1700 | 1701 | [[package]] 1702 | name = "mime" 1703 | version = "0.3.17" 1704 | source = "registry+https://github.com/rust-lang/crates.io-index" 1705 | checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 1706 | 1707 | [[package]] 1708 | name = "miniz_oxide" 1709 | version = "0.7.1" 1710 | source = "registry+https://github.com/rust-lang/crates.io-index" 1711 | checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" 1712 | dependencies = [ 1713 | "adler", 1714 | ] 1715 | 1716 | [[package]] 1717 | name = "mio" 1718 | version = "0.8.8" 1719 | source = "registry+https://github.com/rust-lang/crates.io-index" 1720 | checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" 1721 | dependencies = [ 1722 | "libc", 1723 | "wasi", 1724 | "windows-sys 0.48.0", 1725 | ] 1726 | 1727 | [[package]] 1728 | name = "my_proc_macro" 1729 | version = "0.1.0" 1730 | dependencies = [ 1731 | "proc-macro2", 1732 | "quote", 1733 | "syn 2.0.18", 1734 | ] 1735 | 1736 | [[package]] 1737 | name = "native-tls" 1738 | version = "0.2.11" 1739 | source = "registry+https://github.com/rust-lang/crates.io-index" 1740 | checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" 1741 | dependencies = [ 1742 | "lazy_static", 1743 | "libc", 1744 | "log", 1745 | "openssl", 1746 | "openssl-probe", 1747 | "openssl-sys", 1748 | "schannel", 1749 | "security-framework", 1750 | "security-framework-sys", 1751 | "tempfile", 1752 | ] 1753 | 1754 | [[package]] 1755 | name = "new_debug_unreachable" 1756 | version = "1.0.4" 1757 | source = "registry+https://github.com/rust-lang/crates.io-index" 1758 | checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" 1759 | 1760 | [[package]] 1761 | name = "num-traits" 1762 | version = "0.2.15" 1763 | source = "registry+https://github.com/rust-lang/crates.io-index" 1764 | checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" 1765 | dependencies = [ 1766 | "autocfg", 1767 | ] 1768 | 1769 | [[package]] 1770 | name = "num_cpus" 1771 | version = "1.15.0" 1772 | source = "registry+https://github.com/rust-lang/crates.io-index" 1773 | checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" 1774 | dependencies = [ 1775 | "hermit-abi 0.2.6", 1776 | "libc", 1777 | ] 1778 | 1779 | [[package]] 1780 | name = "num_enum" 1781 | version = "0.6.1" 1782 | source = "registry+https://github.com/rust-lang/crates.io-index" 1783 | checksum = "7a015b430d3c108a207fd776d2e2196aaf8b1cf8cf93253e3a097ff3085076a1" 1784 | dependencies = [ 1785 | "num_enum_derive", 1786 | ] 1787 | 1788 | [[package]] 1789 | name = "num_enum_derive" 1790 | version = "0.6.1" 1791 | source = "registry+https://github.com/rust-lang/crates.io-index" 1792 | checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6" 1793 | dependencies = [ 1794 | "proc-macro-crate", 1795 | "proc-macro2", 1796 | "quote", 1797 | "syn 2.0.18", 1798 | ] 1799 | 1800 | [[package]] 1801 | name = "once_cell" 1802 | version = "1.17.2" 1803 | source = "registry+https://github.com/rust-lang/crates.io-index" 1804 | checksum = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b" 1805 | 1806 | [[package]] 1807 | name = "opaque-debug" 1808 | version = "0.3.0" 1809 | source = "registry+https://github.com/rust-lang/crates.io-index" 1810 | checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" 1811 | 1812 | [[package]] 1813 | name = "open-fastrlp" 1814 | version = "0.1.4" 1815 | source = "registry+https://github.com/rust-lang/crates.io-index" 1816 | checksum = "786393f80485445794f6043fd3138854dd109cc6c4bd1a6383db304c9ce9b9ce" 1817 | dependencies = [ 1818 | "arrayvec", 1819 | "auto_impl", 1820 | "bytes", 1821 | "ethereum-types", 1822 | "open-fastrlp-derive", 1823 | ] 1824 | 1825 | [[package]] 1826 | name = "open-fastrlp-derive" 1827 | version = "0.1.1" 1828 | source = "registry+https://github.com/rust-lang/crates.io-index" 1829 | checksum = "003b2be5c6c53c1cfeb0a238b8a1c3915cd410feb684457a36c10038f764bb1c" 1830 | dependencies = [ 1831 | "bytes", 1832 | "proc-macro2", 1833 | "quote", 1834 | "syn 1.0.109", 1835 | ] 1836 | 1837 | [[package]] 1838 | name = "openssl" 1839 | version = "0.10.54" 1840 | source = "registry+https://github.com/rust-lang/crates.io-index" 1841 | checksum = "69b3f656a17a6cbc115b5c7a40c616947d213ba182135b014d6051b73ab6f019" 1842 | dependencies = [ 1843 | "bitflags", 1844 | "cfg-if", 1845 | "foreign-types", 1846 | "libc", 1847 | "once_cell", 1848 | "openssl-macros", 1849 | "openssl-sys", 1850 | ] 1851 | 1852 | [[package]] 1853 | name = "openssl-macros" 1854 | version = "0.1.1" 1855 | source = "registry+https://github.com/rust-lang/crates.io-index" 1856 | checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" 1857 | dependencies = [ 1858 | "proc-macro2", 1859 | "quote", 1860 | "syn 2.0.18", 1861 | ] 1862 | 1863 | [[package]] 1864 | name = "openssl-probe" 1865 | version = "0.1.5" 1866 | source = "registry+https://github.com/rust-lang/crates.io-index" 1867 | checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" 1868 | 1869 | [[package]] 1870 | name = "openssl-sys" 1871 | version = "0.9.88" 1872 | source = "registry+https://github.com/rust-lang/crates.io-index" 1873 | checksum = "c2ce0f250f34a308dcfdbb351f511359857d4ed2134ba715a4eadd46e1ffd617" 1874 | dependencies = [ 1875 | "cc", 1876 | "libc", 1877 | "pkg-config", 1878 | "vcpkg", 1879 | ] 1880 | 1881 | [[package]] 1882 | name = "parity-scale-codec" 1883 | version = "3.5.0" 1884 | source = "registry+https://github.com/rust-lang/crates.io-index" 1885 | checksum = "5ddb756ca205bd108aee3c62c6d3c994e1df84a59b9d6d4a5ea42ee1fd5a9a28" 1886 | dependencies = [ 1887 | "arrayvec", 1888 | "bitvec 1.0.1", 1889 | "byte-slice-cast", 1890 | "impl-trait-for-tuples", 1891 | "parity-scale-codec-derive", 1892 | "serde", 1893 | ] 1894 | 1895 | [[package]] 1896 | name = "parity-scale-codec-derive" 1897 | version = "3.1.4" 1898 | source = "registry+https://github.com/rust-lang/crates.io-index" 1899 | checksum = "86b26a931f824dd4eca30b3e43bb4f31cd5f0d3a403c5f5ff27106b805bfde7b" 1900 | dependencies = [ 1901 | "proc-macro-crate", 1902 | "proc-macro2", 1903 | "quote", 1904 | "syn 1.0.109", 1905 | ] 1906 | 1907 | [[package]] 1908 | name = "parking_lot" 1909 | version = "0.12.1" 1910 | source = "registry+https://github.com/rust-lang/crates.io-index" 1911 | checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 1912 | dependencies = [ 1913 | "lock_api", 1914 | "parking_lot_core", 1915 | ] 1916 | 1917 | [[package]] 1918 | name = "parking_lot_core" 1919 | version = "0.9.7" 1920 | source = "registry+https://github.com/rust-lang/crates.io-index" 1921 | checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521" 1922 | dependencies = [ 1923 | "cfg-if", 1924 | "libc", 1925 | "redox_syscall 0.2.16", 1926 | "smallvec", 1927 | "windows-sys 0.45.0", 1928 | ] 1929 | 1930 | [[package]] 1931 | name = "password-hash" 1932 | version = "0.4.2" 1933 | source = "registry+https://github.com/rust-lang/crates.io-index" 1934 | checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700" 1935 | dependencies = [ 1936 | "base64ct", 1937 | "rand_core", 1938 | "subtle", 1939 | ] 1940 | 1941 | [[package]] 1942 | name = "path-slash" 1943 | version = "0.2.1" 1944 | source = "registry+https://github.com/rust-lang/crates.io-index" 1945 | checksum = "1e91099d4268b0e11973f036e885d652fb0b21fedcf69738c627f94db6a44f42" 1946 | 1947 | [[package]] 1948 | name = "pbkdf2" 1949 | version = "0.11.0" 1950 | source = "registry+https://github.com/rust-lang/crates.io-index" 1951 | checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" 1952 | dependencies = [ 1953 | "digest 0.10.7", 1954 | "hmac", 1955 | "password-hash", 1956 | "sha2 0.10.6", 1957 | ] 1958 | 1959 | [[package]] 1960 | name = "pbkdf2" 1961 | version = "0.12.1" 1962 | source = "registry+https://github.com/rust-lang/crates.io-index" 1963 | checksum = "f0ca0b5a68607598bf3bad68f32227a8164f6254833f84eafaac409cd6746c31" 1964 | dependencies = [ 1965 | "digest 0.10.7", 1966 | "hmac", 1967 | ] 1968 | 1969 | [[package]] 1970 | name = "percent-encoding" 1971 | version = "2.2.0" 1972 | source = "registry+https://github.com/rust-lang/crates.io-index" 1973 | checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" 1974 | 1975 | [[package]] 1976 | name = "petgraph" 1977 | version = "0.6.3" 1978 | source = "registry+https://github.com/rust-lang/crates.io-index" 1979 | checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" 1980 | dependencies = [ 1981 | "fixedbitset", 1982 | "indexmap", 1983 | ] 1984 | 1985 | [[package]] 1986 | name = "pharos" 1987 | version = "0.5.3" 1988 | source = "registry+https://github.com/rust-lang/crates.io-index" 1989 | checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414" 1990 | dependencies = [ 1991 | "futures", 1992 | "rustc_version", 1993 | ] 1994 | 1995 | [[package]] 1996 | name = "phf" 1997 | version = "0.11.1" 1998 | source = "registry+https://github.com/rust-lang/crates.io-index" 1999 | checksum = "928c6535de93548188ef63bb7c4036bd415cd8f36ad25af44b9789b2ee72a48c" 2000 | dependencies = [ 2001 | "phf_macros", 2002 | "phf_shared 0.11.1", 2003 | ] 2004 | 2005 | [[package]] 2006 | name = "phf_generator" 2007 | version = "0.11.1" 2008 | source = "registry+https://github.com/rust-lang/crates.io-index" 2009 | checksum = "b1181c94580fa345f50f19d738aaa39c0ed30a600d95cb2d3e23f94266f14fbf" 2010 | dependencies = [ 2011 | "phf_shared 0.11.1", 2012 | "rand", 2013 | ] 2014 | 2015 | [[package]] 2016 | name = "phf_macros" 2017 | version = "0.11.1" 2018 | source = "registry+https://github.com/rust-lang/crates.io-index" 2019 | checksum = "92aacdc5f16768709a569e913f7451034034178b05bdc8acda226659a3dccc66" 2020 | dependencies = [ 2021 | "phf_generator", 2022 | "phf_shared 0.11.1", 2023 | "proc-macro2", 2024 | "quote", 2025 | "syn 1.0.109", 2026 | ] 2027 | 2028 | [[package]] 2029 | name = "phf_shared" 2030 | version = "0.10.0" 2031 | source = "registry+https://github.com/rust-lang/crates.io-index" 2032 | checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" 2033 | dependencies = [ 2034 | "siphasher", 2035 | ] 2036 | 2037 | [[package]] 2038 | name = "phf_shared" 2039 | version = "0.11.1" 2040 | source = "registry+https://github.com/rust-lang/crates.io-index" 2041 | checksum = "e1fb5f6f826b772a8d4c0394209441e7d37cbbb967ae9c7e0e8134365c9ee676" 2042 | dependencies = [ 2043 | "siphasher", 2044 | ] 2045 | 2046 | [[package]] 2047 | name = "pin-project" 2048 | version = "1.1.0" 2049 | source = "registry+https://github.com/rust-lang/crates.io-index" 2050 | checksum = "c95a7476719eab1e366eaf73d0260af3021184f18177925b07f54b30089ceead" 2051 | dependencies = [ 2052 | "pin-project-internal", 2053 | ] 2054 | 2055 | [[package]] 2056 | name = "pin-project-internal" 2057 | version = "1.1.0" 2058 | source = "registry+https://github.com/rust-lang/crates.io-index" 2059 | checksum = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07" 2060 | dependencies = [ 2061 | "proc-macro2", 2062 | "quote", 2063 | "syn 2.0.18", 2064 | ] 2065 | 2066 | [[package]] 2067 | name = "pin-project-lite" 2068 | version = "0.2.9" 2069 | source = "registry+https://github.com/rust-lang/crates.io-index" 2070 | checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" 2071 | 2072 | [[package]] 2073 | name = "pin-utils" 2074 | version = "0.1.0" 2075 | source = "registry+https://github.com/rust-lang/crates.io-index" 2076 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 2077 | 2078 | [[package]] 2079 | name = "pkcs8" 2080 | version = "0.10.2" 2081 | source = "registry+https://github.com/rust-lang/crates.io-index" 2082 | checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" 2083 | dependencies = [ 2084 | "der", 2085 | "spki", 2086 | ] 2087 | 2088 | [[package]] 2089 | name = "pkg-config" 2090 | version = "0.3.27" 2091 | source = "registry+https://github.com/rust-lang/crates.io-index" 2092 | checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" 2093 | 2094 | [[package]] 2095 | name = "playaround" 2096 | version = "0.1.0" 2097 | dependencies = [ 2098 | "ai_functions", 2099 | "ethers", 2100 | "my_proc_macro", 2101 | "reqwest", 2102 | "serde_json", 2103 | "tokio", 2104 | ] 2105 | 2106 | [[package]] 2107 | name = "ppv-lite86" 2108 | version = "0.2.17" 2109 | source = "registry+https://github.com/rust-lang/crates.io-index" 2110 | checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" 2111 | 2112 | [[package]] 2113 | name = "precomputed-hash" 2114 | version = "0.1.1" 2115 | source = "registry+https://github.com/rust-lang/crates.io-index" 2116 | checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" 2117 | 2118 | [[package]] 2119 | name = "prettyplease" 2120 | version = "0.2.6" 2121 | source = "registry+https://github.com/rust-lang/crates.io-index" 2122 | checksum = "3b69d39aab54d069e7f2fe8cb970493e7834601ca2d8c65fd7bbd183578080d1" 2123 | dependencies = [ 2124 | "proc-macro2", 2125 | "syn 2.0.18", 2126 | ] 2127 | 2128 | [[package]] 2129 | name = "primitive-types" 2130 | version = "0.12.1" 2131 | source = "registry+https://github.com/rust-lang/crates.io-index" 2132 | checksum = "9f3486ccba82358b11a77516035647c34ba167dfa53312630de83b12bd4f3d66" 2133 | dependencies = [ 2134 | "fixed-hash", 2135 | "impl-codec", 2136 | "impl-rlp", 2137 | "impl-serde", 2138 | "scale-info", 2139 | "uint", 2140 | ] 2141 | 2142 | [[package]] 2143 | name = "proc-macro-crate" 2144 | version = "1.3.1" 2145 | source = "registry+https://github.com/rust-lang/crates.io-index" 2146 | checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" 2147 | dependencies = [ 2148 | "once_cell", 2149 | "toml_edit", 2150 | ] 2151 | 2152 | [[package]] 2153 | name = "proc-macro-error" 2154 | version = "1.0.4" 2155 | source = "registry+https://github.com/rust-lang/crates.io-index" 2156 | checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" 2157 | dependencies = [ 2158 | "proc-macro-error-attr", 2159 | "proc-macro2", 2160 | "quote", 2161 | "syn 1.0.109", 2162 | "version_check", 2163 | ] 2164 | 2165 | [[package]] 2166 | name = "proc-macro-error-attr" 2167 | version = "1.0.4" 2168 | source = "registry+https://github.com/rust-lang/crates.io-index" 2169 | checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" 2170 | dependencies = [ 2171 | "proc-macro2", 2172 | "quote", 2173 | "version_check", 2174 | ] 2175 | 2176 | [[package]] 2177 | name = "proc-macro2" 2178 | version = "1.0.59" 2179 | source = "registry+https://github.com/rust-lang/crates.io-index" 2180 | checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b" 2181 | dependencies = [ 2182 | "unicode-ident", 2183 | ] 2184 | 2185 | [[package]] 2186 | name = "quote" 2187 | version = "1.0.28" 2188 | source = "registry+https://github.com/rust-lang/crates.io-index" 2189 | checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488" 2190 | dependencies = [ 2191 | "proc-macro2", 2192 | ] 2193 | 2194 | [[package]] 2195 | name = "radium" 2196 | version = "0.3.0" 2197 | source = "registry+https://github.com/rust-lang/crates.io-index" 2198 | checksum = "def50a86306165861203e7f84ecffbbdfdea79f0e51039b33de1e952358c47ac" 2199 | 2200 | [[package]] 2201 | name = "radium" 2202 | version = "0.7.0" 2203 | source = "registry+https://github.com/rust-lang/crates.io-index" 2204 | checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" 2205 | 2206 | [[package]] 2207 | name = "rand" 2208 | version = "0.8.5" 2209 | source = "registry+https://github.com/rust-lang/crates.io-index" 2210 | checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 2211 | dependencies = [ 2212 | "libc", 2213 | "rand_chacha", 2214 | "rand_core", 2215 | ] 2216 | 2217 | [[package]] 2218 | name = "rand_chacha" 2219 | version = "0.3.1" 2220 | source = "registry+https://github.com/rust-lang/crates.io-index" 2221 | checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 2222 | dependencies = [ 2223 | "ppv-lite86", 2224 | "rand_core", 2225 | ] 2226 | 2227 | [[package]] 2228 | name = "rand_core" 2229 | version = "0.6.4" 2230 | source = "registry+https://github.com/rust-lang/crates.io-index" 2231 | checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 2232 | dependencies = [ 2233 | "getrandom", 2234 | ] 2235 | 2236 | [[package]] 2237 | name = "rayon" 2238 | version = "1.7.0" 2239 | source = "registry+https://github.com/rust-lang/crates.io-index" 2240 | checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" 2241 | dependencies = [ 2242 | "either", 2243 | "rayon-core", 2244 | ] 2245 | 2246 | [[package]] 2247 | name = "rayon-core" 2248 | version = "1.11.0" 2249 | source = "registry+https://github.com/rust-lang/crates.io-index" 2250 | checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" 2251 | dependencies = [ 2252 | "crossbeam-channel", 2253 | "crossbeam-deque", 2254 | "crossbeam-utils", 2255 | "num_cpus", 2256 | ] 2257 | 2258 | [[package]] 2259 | name = "redox_syscall" 2260 | version = "0.2.16" 2261 | source = "registry+https://github.com/rust-lang/crates.io-index" 2262 | checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" 2263 | dependencies = [ 2264 | "bitflags", 2265 | ] 2266 | 2267 | [[package]] 2268 | name = "redox_syscall" 2269 | version = "0.3.5" 2270 | source = "registry+https://github.com/rust-lang/crates.io-index" 2271 | checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" 2272 | dependencies = [ 2273 | "bitflags", 2274 | ] 2275 | 2276 | [[package]] 2277 | name = "redox_users" 2278 | version = "0.4.3" 2279 | source = "registry+https://github.com/rust-lang/crates.io-index" 2280 | checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" 2281 | dependencies = [ 2282 | "getrandom", 2283 | "redox_syscall 0.2.16", 2284 | "thiserror", 2285 | ] 2286 | 2287 | [[package]] 2288 | name = "regex" 2289 | version = "1.8.3" 2290 | source = "registry+https://github.com/rust-lang/crates.io-index" 2291 | checksum = "81ca098a9821bd52d6b24fd8b10bd081f47d39c22778cafaa75a2857a62c6390" 2292 | dependencies = [ 2293 | "aho-corasick", 2294 | "memchr", 2295 | "regex-syntax 0.7.2", 2296 | ] 2297 | 2298 | [[package]] 2299 | name = "regex-syntax" 2300 | version = "0.6.29" 2301 | source = "registry+https://github.com/rust-lang/crates.io-index" 2302 | checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" 2303 | 2304 | [[package]] 2305 | name = "regex-syntax" 2306 | version = "0.7.2" 2307 | source = "registry+https://github.com/rust-lang/crates.io-index" 2308 | checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" 2309 | 2310 | [[package]] 2311 | name = "reqwest" 2312 | version = "0.11.18" 2313 | source = "registry+https://github.com/rust-lang/crates.io-index" 2314 | checksum = "cde824a14b7c14f85caff81225f411faacc04a2013f41670f41443742b1c1c55" 2315 | dependencies = [ 2316 | "base64 0.21.2", 2317 | "bytes", 2318 | "encoding_rs", 2319 | "futures-core", 2320 | "futures-util", 2321 | "h2", 2322 | "http", 2323 | "http-body", 2324 | "hyper", 2325 | "hyper-rustls", 2326 | "hyper-tls", 2327 | "ipnet", 2328 | "js-sys", 2329 | "log", 2330 | "mime", 2331 | "native-tls", 2332 | "once_cell", 2333 | "percent-encoding", 2334 | "pin-project-lite", 2335 | "rustls", 2336 | "rustls-pemfile", 2337 | "serde", 2338 | "serde_json", 2339 | "serde_urlencoded", 2340 | "tokio", 2341 | "tokio-native-tls", 2342 | "tokio-rustls", 2343 | "tower-service", 2344 | "url", 2345 | "wasm-bindgen", 2346 | "wasm-bindgen-futures", 2347 | "web-sys", 2348 | "webpki-roots 0.22.6", 2349 | "winreg", 2350 | ] 2351 | 2352 | [[package]] 2353 | name = "rfc6979" 2354 | version = "0.4.0" 2355 | source = "registry+https://github.com/rust-lang/crates.io-index" 2356 | checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" 2357 | dependencies = [ 2358 | "hmac", 2359 | "subtle", 2360 | ] 2361 | 2362 | [[package]] 2363 | name = "ring" 2364 | version = "0.16.20" 2365 | source = "registry+https://github.com/rust-lang/crates.io-index" 2366 | checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" 2367 | dependencies = [ 2368 | "cc", 2369 | "libc", 2370 | "once_cell", 2371 | "spin", 2372 | "untrusted", 2373 | "web-sys", 2374 | "winapi", 2375 | ] 2376 | 2377 | [[package]] 2378 | name = "ripemd" 2379 | version = "0.1.3" 2380 | source = "registry+https://github.com/rust-lang/crates.io-index" 2381 | checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" 2382 | dependencies = [ 2383 | "digest 0.10.7", 2384 | ] 2385 | 2386 | [[package]] 2387 | name = "rlp" 2388 | version = "0.5.2" 2389 | source = "registry+https://github.com/rust-lang/crates.io-index" 2390 | checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" 2391 | dependencies = [ 2392 | "bytes", 2393 | "rlp-derive", 2394 | "rustc-hex", 2395 | ] 2396 | 2397 | [[package]] 2398 | name = "rlp-derive" 2399 | version = "0.1.0" 2400 | source = "registry+https://github.com/rust-lang/crates.io-index" 2401 | checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a" 2402 | dependencies = [ 2403 | "proc-macro2", 2404 | "quote", 2405 | "syn 1.0.109", 2406 | ] 2407 | 2408 | [[package]] 2409 | name = "rustc-hex" 2410 | version = "2.1.0" 2411 | source = "registry+https://github.com/rust-lang/crates.io-index" 2412 | checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" 2413 | 2414 | [[package]] 2415 | name = "rustc_version" 2416 | version = "0.4.0" 2417 | source = "registry+https://github.com/rust-lang/crates.io-index" 2418 | checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" 2419 | dependencies = [ 2420 | "semver", 2421 | ] 2422 | 2423 | [[package]] 2424 | name = "rustix" 2425 | version = "0.37.19" 2426 | source = "registry+https://github.com/rust-lang/crates.io-index" 2427 | checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d" 2428 | dependencies = [ 2429 | "bitflags", 2430 | "errno", 2431 | "io-lifetimes", 2432 | "libc", 2433 | "linux-raw-sys", 2434 | "windows-sys 0.48.0", 2435 | ] 2436 | 2437 | [[package]] 2438 | name = "rustls" 2439 | version = "0.21.1" 2440 | source = "registry+https://github.com/rust-lang/crates.io-index" 2441 | checksum = "c911ba11bc8433e811ce56fde130ccf32f5127cab0e0194e9c68c5a5b671791e" 2442 | dependencies = [ 2443 | "log", 2444 | "ring", 2445 | "rustls-webpki", 2446 | "sct", 2447 | ] 2448 | 2449 | [[package]] 2450 | name = "rustls-pemfile" 2451 | version = "1.0.2" 2452 | source = "registry+https://github.com/rust-lang/crates.io-index" 2453 | checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" 2454 | dependencies = [ 2455 | "base64 0.21.2", 2456 | ] 2457 | 2458 | [[package]] 2459 | name = "rustls-webpki" 2460 | version = "0.100.1" 2461 | source = "registry+https://github.com/rust-lang/crates.io-index" 2462 | checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b" 2463 | dependencies = [ 2464 | "ring", 2465 | "untrusted", 2466 | ] 2467 | 2468 | [[package]] 2469 | name = "rustversion" 2470 | version = "1.0.12" 2471 | source = "registry+https://github.com/rust-lang/crates.io-index" 2472 | checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" 2473 | 2474 | [[package]] 2475 | name = "ryu" 2476 | version = "1.0.13" 2477 | source = "registry+https://github.com/rust-lang/crates.io-index" 2478 | checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" 2479 | 2480 | [[package]] 2481 | name = "salsa20" 2482 | version = "0.10.2" 2483 | source = "registry+https://github.com/rust-lang/crates.io-index" 2484 | checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" 2485 | dependencies = [ 2486 | "cipher", 2487 | ] 2488 | 2489 | [[package]] 2490 | name = "same-file" 2491 | version = "1.0.6" 2492 | source = "registry+https://github.com/rust-lang/crates.io-index" 2493 | checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 2494 | dependencies = [ 2495 | "winapi-util", 2496 | ] 2497 | 2498 | [[package]] 2499 | name = "scale-info" 2500 | version = "2.7.0" 2501 | source = "registry+https://github.com/rust-lang/crates.io-index" 2502 | checksum = "b569c32c806ec3abdf3b5869fb8bf1e0d275a7c1c9b0b05603d9464632649edf" 2503 | dependencies = [ 2504 | "cfg-if", 2505 | "derive_more", 2506 | "parity-scale-codec", 2507 | "scale-info-derive", 2508 | ] 2509 | 2510 | [[package]] 2511 | name = "scale-info-derive" 2512 | version = "2.6.0" 2513 | source = "registry+https://github.com/rust-lang/crates.io-index" 2514 | checksum = "53012eae69e5aa5c14671942a5dd47de59d4cdcff8532a6dd0e081faf1119482" 2515 | dependencies = [ 2516 | "proc-macro-crate", 2517 | "proc-macro2", 2518 | "quote", 2519 | "syn 1.0.109", 2520 | ] 2521 | 2522 | [[package]] 2523 | name = "schannel" 2524 | version = "0.1.21" 2525 | source = "registry+https://github.com/rust-lang/crates.io-index" 2526 | checksum = "713cfb06c7059f3588fb8044c0fad1d09e3c01d225e25b9220dbfdcf16dbb1b3" 2527 | dependencies = [ 2528 | "windows-sys 0.42.0", 2529 | ] 2530 | 2531 | [[package]] 2532 | name = "scopeguard" 2533 | version = "1.1.0" 2534 | source = "registry+https://github.com/rust-lang/crates.io-index" 2535 | checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 2536 | 2537 | [[package]] 2538 | name = "scrypt" 2539 | version = "0.10.0" 2540 | source = "registry+https://github.com/rust-lang/crates.io-index" 2541 | checksum = "9f9e24d2b632954ded8ab2ef9fea0a0c769ea56ea98bddbafbad22caeeadf45d" 2542 | dependencies = [ 2543 | "hmac", 2544 | "pbkdf2 0.11.0", 2545 | "salsa20", 2546 | "sha2 0.10.6", 2547 | ] 2548 | 2549 | [[package]] 2550 | name = "sct" 2551 | version = "0.7.0" 2552 | source = "registry+https://github.com/rust-lang/crates.io-index" 2553 | checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" 2554 | dependencies = [ 2555 | "ring", 2556 | "untrusted", 2557 | ] 2558 | 2559 | [[package]] 2560 | name = "sec1" 2561 | version = "0.7.2" 2562 | source = "registry+https://github.com/rust-lang/crates.io-index" 2563 | checksum = "f0aec48e813d6b90b15f0b8948af3c63483992dee44c03e9930b3eebdabe046e" 2564 | dependencies = [ 2565 | "base16ct", 2566 | "der", 2567 | "generic-array", 2568 | "pkcs8", 2569 | "subtle", 2570 | "zeroize", 2571 | ] 2572 | 2573 | [[package]] 2574 | name = "security-framework" 2575 | version = "2.9.1" 2576 | source = "registry+https://github.com/rust-lang/crates.io-index" 2577 | checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8" 2578 | dependencies = [ 2579 | "bitflags", 2580 | "core-foundation", 2581 | "core-foundation-sys", 2582 | "libc", 2583 | "security-framework-sys", 2584 | ] 2585 | 2586 | [[package]] 2587 | name = "security-framework-sys" 2588 | version = "2.9.0" 2589 | source = "registry+https://github.com/rust-lang/crates.io-index" 2590 | checksum = "f51d0c0d83bec45f16480d0ce0058397a69e48fcdc52d1dc8855fb68acbd31a7" 2591 | dependencies = [ 2592 | "core-foundation-sys", 2593 | "libc", 2594 | ] 2595 | 2596 | [[package]] 2597 | name = "semver" 2598 | version = "1.0.17" 2599 | source = "registry+https://github.com/rust-lang/crates.io-index" 2600 | checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" 2601 | dependencies = [ 2602 | "serde", 2603 | ] 2604 | 2605 | [[package]] 2606 | name = "send_wrapper" 2607 | version = "0.4.0" 2608 | source = "registry+https://github.com/rust-lang/crates.io-index" 2609 | checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" 2610 | 2611 | [[package]] 2612 | name = "send_wrapper" 2613 | version = "0.6.0" 2614 | source = "registry+https://github.com/rust-lang/crates.io-index" 2615 | checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" 2616 | 2617 | [[package]] 2618 | name = "serde" 2619 | version = "1.0.163" 2620 | source = "registry+https://github.com/rust-lang/crates.io-index" 2621 | checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2" 2622 | dependencies = [ 2623 | "serde_derive", 2624 | ] 2625 | 2626 | [[package]] 2627 | name = "serde_derive" 2628 | version = "1.0.163" 2629 | source = "registry+https://github.com/rust-lang/crates.io-index" 2630 | checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" 2631 | dependencies = [ 2632 | "proc-macro2", 2633 | "quote", 2634 | "syn 2.0.18", 2635 | ] 2636 | 2637 | [[package]] 2638 | name = "serde_json" 2639 | version = "1.0.96" 2640 | source = "registry+https://github.com/rust-lang/crates.io-index" 2641 | checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1" 2642 | dependencies = [ 2643 | "itoa", 2644 | "ryu", 2645 | "serde", 2646 | ] 2647 | 2648 | [[package]] 2649 | name = "serde_spanned" 2650 | version = "0.6.2" 2651 | source = "registry+https://github.com/rust-lang/crates.io-index" 2652 | checksum = "93107647184f6027e3b7dcb2e11034cf95ffa1e3a682c67951963ac69c1c007d" 2653 | dependencies = [ 2654 | "serde", 2655 | ] 2656 | 2657 | [[package]] 2658 | name = "serde_urlencoded" 2659 | version = "0.7.1" 2660 | source = "registry+https://github.com/rust-lang/crates.io-index" 2661 | checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" 2662 | dependencies = [ 2663 | "form_urlencoded", 2664 | "itoa", 2665 | "ryu", 2666 | "serde", 2667 | ] 2668 | 2669 | [[package]] 2670 | name = "sha1" 2671 | version = "0.10.5" 2672 | source = "registry+https://github.com/rust-lang/crates.io-index" 2673 | checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" 2674 | dependencies = [ 2675 | "cfg-if", 2676 | "cpufeatures", 2677 | "digest 0.10.7", 2678 | ] 2679 | 2680 | [[package]] 2681 | name = "sha2" 2682 | version = "0.9.9" 2683 | source = "registry+https://github.com/rust-lang/crates.io-index" 2684 | checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" 2685 | dependencies = [ 2686 | "block-buffer 0.9.0", 2687 | "cfg-if", 2688 | "cpufeatures", 2689 | "digest 0.9.0", 2690 | "opaque-debug", 2691 | ] 2692 | 2693 | [[package]] 2694 | name = "sha2" 2695 | version = "0.10.6" 2696 | source = "registry+https://github.com/rust-lang/crates.io-index" 2697 | checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" 2698 | dependencies = [ 2699 | "cfg-if", 2700 | "cpufeatures", 2701 | "digest 0.10.7", 2702 | ] 2703 | 2704 | [[package]] 2705 | name = "sha3" 2706 | version = "0.10.8" 2707 | source = "registry+https://github.com/rust-lang/crates.io-index" 2708 | checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" 2709 | dependencies = [ 2710 | "digest 0.10.7", 2711 | "keccak", 2712 | ] 2713 | 2714 | [[package]] 2715 | name = "signal-hook-registry" 2716 | version = "1.4.1" 2717 | source = "registry+https://github.com/rust-lang/crates.io-index" 2718 | checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" 2719 | dependencies = [ 2720 | "libc", 2721 | ] 2722 | 2723 | [[package]] 2724 | name = "signature" 2725 | version = "2.1.0" 2726 | source = "registry+https://github.com/rust-lang/crates.io-index" 2727 | checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" 2728 | dependencies = [ 2729 | "digest 0.10.7", 2730 | "rand_core", 2731 | ] 2732 | 2733 | [[package]] 2734 | name = "siphasher" 2735 | version = "0.3.10" 2736 | source = "registry+https://github.com/rust-lang/crates.io-index" 2737 | checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" 2738 | 2739 | [[package]] 2740 | name = "slab" 2741 | version = "0.4.8" 2742 | source = "registry+https://github.com/rust-lang/crates.io-index" 2743 | checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" 2744 | dependencies = [ 2745 | "autocfg", 2746 | ] 2747 | 2748 | [[package]] 2749 | name = "smallvec" 2750 | version = "1.10.0" 2751 | source = "registry+https://github.com/rust-lang/crates.io-index" 2752 | checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" 2753 | 2754 | [[package]] 2755 | name = "socket2" 2756 | version = "0.4.9" 2757 | source = "registry+https://github.com/rust-lang/crates.io-index" 2758 | checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" 2759 | dependencies = [ 2760 | "libc", 2761 | "winapi", 2762 | ] 2763 | 2764 | [[package]] 2765 | name = "solang-parser" 2766 | version = "0.3.0" 2767 | source = "registry+https://github.com/rust-lang/crates.io-index" 2768 | checksum = "4a94494913728908efa7a25a2dd2e4f037e714897985c24273c40596638ed909" 2769 | dependencies = [ 2770 | "itertools", 2771 | "lalrpop", 2772 | "lalrpop-util", 2773 | "phf", 2774 | "thiserror", 2775 | "unicode-xid", 2776 | ] 2777 | 2778 | [[package]] 2779 | name = "spin" 2780 | version = "0.5.2" 2781 | source = "registry+https://github.com/rust-lang/crates.io-index" 2782 | checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" 2783 | 2784 | [[package]] 2785 | name = "spki" 2786 | version = "0.7.2" 2787 | source = "registry+https://github.com/rust-lang/crates.io-index" 2788 | checksum = "9d1e996ef02c474957d681f1b05213dfb0abab947b446a62d37770b23500184a" 2789 | dependencies = [ 2790 | "base64ct", 2791 | "der", 2792 | ] 2793 | 2794 | [[package]] 2795 | name = "static_assertions" 2796 | version = "1.1.0" 2797 | source = "registry+https://github.com/rust-lang/crates.io-index" 2798 | checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 2799 | 2800 | [[package]] 2801 | name = "string_cache" 2802 | version = "0.8.7" 2803 | source = "registry+https://github.com/rust-lang/crates.io-index" 2804 | checksum = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b" 2805 | dependencies = [ 2806 | "new_debug_unreachable", 2807 | "once_cell", 2808 | "parking_lot", 2809 | "phf_shared 0.10.0", 2810 | "precomputed-hash", 2811 | ] 2812 | 2813 | [[package]] 2814 | name = "strum" 2815 | version = "0.24.1" 2816 | source = "registry+https://github.com/rust-lang/crates.io-index" 2817 | checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" 2818 | dependencies = [ 2819 | "strum_macros", 2820 | ] 2821 | 2822 | [[package]] 2823 | name = "strum_macros" 2824 | version = "0.24.3" 2825 | source = "registry+https://github.com/rust-lang/crates.io-index" 2826 | checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" 2827 | dependencies = [ 2828 | "heck", 2829 | "proc-macro2", 2830 | "quote", 2831 | "rustversion", 2832 | "syn 1.0.109", 2833 | ] 2834 | 2835 | [[package]] 2836 | name = "subtle" 2837 | version = "2.5.0" 2838 | source = "registry+https://github.com/rust-lang/crates.io-index" 2839 | checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" 2840 | 2841 | [[package]] 2842 | name = "svm-rs" 2843 | version = "0.2.23" 2844 | source = "registry+https://github.com/rust-lang/crates.io-index" 2845 | checksum = "3a04fc4f5cd35c700153b233f5575ccb3237e0f941fa5049d9e98254d10bf2fe" 2846 | dependencies = [ 2847 | "fs2", 2848 | "hex", 2849 | "home", 2850 | "once_cell", 2851 | "reqwest", 2852 | "semver", 2853 | "serde", 2854 | "serde_json", 2855 | "sha2 0.10.6", 2856 | "thiserror", 2857 | "url", 2858 | "zip", 2859 | ] 2860 | 2861 | [[package]] 2862 | name = "syn" 2863 | version = "1.0.109" 2864 | source = "registry+https://github.com/rust-lang/crates.io-index" 2865 | checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 2866 | dependencies = [ 2867 | "proc-macro2", 2868 | "quote", 2869 | "unicode-ident", 2870 | ] 2871 | 2872 | [[package]] 2873 | name = "syn" 2874 | version = "2.0.18" 2875 | source = "registry+https://github.com/rust-lang/crates.io-index" 2876 | checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e" 2877 | dependencies = [ 2878 | "proc-macro2", 2879 | "quote", 2880 | "unicode-ident", 2881 | ] 2882 | 2883 | [[package]] 2884 | name = "tap" 2885 | version = "1.0.1" 2886 | source = "registry+https://github.com/rust-lang/crates.io-index" 2887 | checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" 2888 | 2889 | [[package]] 2890 | name = "tempfile" 2891 | version = "3.5.0" 2892 | source = "registry+https://github.com/rust-lang/crates.io-index" 2893 | checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998" 2894 | dependencies = [ 2895 | "cfg-if", 2896 | "fastrand", 2897 | "redox_syscall 0.3.5", 2898 | "rustix", 2899 | "windows-sys 0.45.0", 2900 | ] 2901 | 2902 | [[package]] 2903 | name = "term" 2904 | version = "0.7.0" 2905 | source = "registry+https://github.com/rust-lang/crates.io-index" 2906 | checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f" 2907 | dependencies = [ 2908 | "dirs-next", 2909 | "rustversion", 2910 | "winapi", 2911 | ] 2912 | 2913 | [[package]] 2914 | name = "thiserror" 2915 | version = "1.0.40" 2916 | source = "registry+https://github.com/rust-lang/crates.io-index" 2917 | checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" 2918 | dependencies = [ 2919 | "thiserror-impl", 2920 | ] 2921 | 2922 | [[package]] 2923 | name = "thiserror-impl" 2924 | version = "1.0.40" 2925 | source = "registry+https://github.com/rust-lang/crates.io-index" 2926 | checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" 2927 | dependencies = [ 2928 | "proc-macro2", 2929 | "quote", 2930 | "syn 2.0.18", 2931 | ] 2932 | 2933 | [[package]] 2934 | name = "time" 2935 | version = "0.3.21" 2936 | source = "registry+https://github.com/rust-lang/crates.io-index" 2937 | checksum = "8f3403384eaacbca9923fa06940178ac13e4edb725486d70e8e15881d0c836cc" 2938 | dependencies = [ 2939 | "serde", 2940 | "time-core", 2941 | ] 2942 | 2943 | [[package]] 2944 | name = "time-core" 2945 | version = "0.1.1" 2946 | source = "registry+https://github.com/rust-lang/crates.io-index" 2947 | checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" 2948 | 2949 | [[package]] 2950 | name = "tiny-keccak" 2951 | version = "2.0.2" 2952 | source = "registry+https://github.com/rust-lang/crates.io-index" 2953 | checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" 2954 | dependencies = [ 2955 | "crunchy", 2956 | ] 2957 | 2958 | [[package]] 2959 | name = "tinyvec" 2960 | version = "1.6.0" 2961 | source = "registry+https://github.com/rust-lang/crates.io-index" 2962 | checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" 2963 | dependencies = [ 2964 | "tinyvec_macros", 2965 | ] 2966 | 2967 | [[package]] 2968 | name = "tinyvec_macros" 2969 | version = "0.1.1" 2970 | source = "registry+https://github.com/rust-lang/crates.io-index" 2971 | checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 2972 | 2973 | [[package]] 2974 | name = "tokio" 2975 | version = "1.28.2" 2976 | source = "registry+https://github.com/rust-lang/crates.io-index" 2977 | checksum = "94d7b1cfd2aa4011f2de74c2c4c63665e27a71006b0a192dcd2710272e73dfa2" 2978 | dependencies = [ 2979 | "autocfg", 2980 | "bytes", 2981 | "libc", 2982 | "mio", 2983 | "num_cpus", 2984 | "parking_lot", 2985 | "pin-project-lite", 2986 | "signal-hook-registry", 2987 | "socket2", 2988 | "tokio-macros", 2989 | "windows-sys 0.48.0", 2990 | ] 2991 | 2992 | [[package]] 2993 | name = "tokio-macros" 2994 | version = "2.1.0" 2995 | source = "registry+https://github.com/rust-lang/crates.io-index" 2996 | checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" 2997 | dependencies = [ 2998 | "proc-macro2", 2999 | "quote", 3000 | "syn 2.0.18", 3001 | ] 3002 | 3003 | [[package]] 3004 | name = "tokio-native-tls" 3005 | version = "0.3.1" 3006 | source = "registry+https://github.com/rust-lang/crates.io-index" 3007 | checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" 3008 | dependencies = [ 3009 | "native-tls", 3010 | "tokio", 3011 | ] 3012 | 3013 | [[package]] 3014 | name = "tokio-rustls" 3015 | version = "0.24.0" 3016 | source = "registry+https://github.com/rust-lang/crates.io-index" 3017 | checksum = "e0d409377ff5b1e3ca6437aa86c1eb7d40c134bfec254e44c830defa92669db5" 3018 | dependencies = [ 3019 | "rustls", 3020 | "tokio", 3021 | ] 3022 | 3023 | [[package]] 3024 | name = "tokio-tungstenite" 3025 | version = "0.19.0" 3026 | source = "registry+https://github.com/rust-lang/crates.io-index" 3027 | checksum = "ec509ac96e9a0c43427c74f003127d953a265737636129424288d27cb5c4b12c" 3028 | dependencies = [ 3029 | "futures-util", 3030 | "log", 3031 | "rustls", 3032 | "tokio", 3033 | "tokio-rustls", 3034 | "tungstenite", 3035 | "webpki-roots 0.23.1", 3036 | ] 3037 | 3038 | [[package]] 3039 | name = "tokio-util" 3040 | version = "0.7.8" 3041 | source = "registry+https://github.com/rust-lang/crates.io-index" 3042 | checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" 3043 | dependencies = [ 3044 | "bytes", 3045 | "futures-core", 3046 | "futures-sink", 3047 | "pin-project-lite", 3048 | "tokio", 3049 | "tracing", 3050 | ] 3051 | 3052 | [[package]] 3053 | name = "toml" 3054 | version = "0.7.4" 3055 | source = "registry+https://github.com/rust-lang/crates.io-index" 3056 | checksum = "d6135d499e69981f9ff0ef2167955a5333c35e36f6937d382974566b3d5b94ec" 3057 | dependencies = [ 3058 | "serde", 3059 | "serde_spanned", 3060 | "toml_datetime", 3061 | "toml_edit", 3062 | ] 3063 | 3064 | [[package]] 3065 | name = "toml_datetime" 3066 | version = "0.6.2" 3067 | source = "registry+https://github.com/rust-lang/crates.io-index" 3068 | checksum = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f" 3069 | dependencies = [ 3070 | "serde", 3071 | ] 3072 | 3073 | [[package]] 3074 | name = "toml_edit" 3075 | version = "0.19.10" 3076 | source = "registry+https://github.com/rust-lang/crates.io-index" 3077 | checksum = "2380d56e8670370eee6566b0bfd4265f65b3f432e8c6d85623f728d4fa31f739" 3078 | dependencies = [ 3079 | "indexmap", 3080 | "serde", 3081 | "serde_spanned", 3082 | "toml_datetime", 3083 | "winnow", 3084 | ] 3085 | 3086 | [[package]] 3087 | name = "tower-service" 3088 | version = "0.3.2" 3089 | source = "registry+https://github.com/rust-lang/crates.io-index" 3090 | checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" 3091 | 3092 | [[package]] 3093 | name = "tracing" 3094 | version = "0.1.37" 3095 | source = "registry+https://github.com/rust-lang/crates.io-index" 3096 | checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" 3097 | dependencies = [ 3098 | "cfg-if", 3099 | "pin-project-lite", 3100 | "tracing-attributes", 3101 | "tracing-core", 3102 | ] 3103 | 3104 | [[package]] 3105 | name = "tracing-attributes" 3106 | version = "0.1.24" 3107 | source = "registry+https://github.com/rust-lang/crates.io-index" 3108 | checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74" 3109 | dependencies = [ 3110 | "proc-macro2", 3111 | "quote", 3112 | "syn 2.0.18", 3113 | ] 3114 | 3115 | [[package]] 3116 | name = "tracing-core" 3117 | version = "0.1.31" 3118 | source = "registry+https://github.com/rust-lang/crates.io-index" 3119 | checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" 3120 | dependencies = [ 3121 | "once_cell", 3122 | ] 3123 | 3124 | [[package]] 3125 | name = "tracing-futures" 3126 | version = "0.2.5" 3127 | source = "registry+https://github.com/rust-lang/crates.io-index" 3128 | checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" 3129 | dependencies = [ 3130 | "pin-project", 3131 | "tracing", 3132 | ] 3133 | 3134 | [[package]] 3135 | name = "try-lock" 3136 | version = "0.2.4" 3137 | source = "registry+https://github.com/rust-lang/crates.io-index" 3138 | checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" 3139 | 3140 | [[package]] 3141 | name = "tungstenite" 3142 | version = "0.19.0" 3143 | source = "registry+https://github.com/rust-lang/crates.io-index" 3144 | checksum = "15fba1a6d6bb030745759a9a2a588bfe8490fc8b4751a277db3a0be1c9ebbf67" 3145 | dependencies = [ 3146 | "byteorder", 3147 | "bytes", 3148 | "data-encoding", 3149 | "http", 3150 | "httparse", 3151 | "log", 3152 | "rand", 3153 | "rustls", 3154 | "sha1", 3155 | "thiserror", 3156 | "url", 3157 | "utf-8", 3158 | "webpki", 3159 | ] 3160 | 3161 | [[package]] 3162 | name = "typenum" 3163 | version = "1.16.0" 3164 | source = "registry+https://github.com/rust-lang/crates.io-index" 3165 | checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" 3166 | 3167 | [[package]] 3168 | name = "uint" 3169 | version = "0.9.5" 3170 | source = "registry+https://github.com/rust-lang/crates.io-index" 3171 | checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" 3172 | dependencies = [ 3173 | "byteorder", 3174 | "crunchy", 3175 | "hex", 3176 | "static_assertions", 3177 | ] 3178 | 3179 | [[package]] 3180 | name = "unicode-bidi" 3181 | version = "0.3.13" 3182 | source = "registry+https://github.com/rust-lang/crates.io-index" 3183 | checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" 3184 | 3185 | [[package]] 3186 | name = "unicode-ident" 3187 | version = "1.0.9" 3188 | source = "registry+https://github.com/rust-lang/crates.io-index" 3189 | checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0" 3190 | 3191 | [[package]] 3192 | name = "unicode-normalization" 3193 | version = "0.1.22" 3194 | source = "registry+https://github.com/rust-lang/crates.io-index" 3195 | checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" 3196 | dependencies = [ 3197 | "tinyvec", 3198 | ] 3199 | 3200 | [[package]] 3201 | name = "unicode-xid" 3202 | version = "0.2.4" 3203 | source = "registry+https://github.com/rust-lang/crates.io-index" 3204 | checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" 3205 | 3206 | [[package]] 3207 | name = "untrusted" 3208 | version = "0.7.1" 3209 | source = "registry+https://github.com/rust-lang/crates.io-index" 3210 | checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" 3211 | 3212 | [[package]] 3213 | name = "url" 3214 | version = "2.3.1" 3215 | source = "registry+https://github.com/rust-lang/crates.io-index" 3216 | checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" 3217 | dependencies = [ 3218 | "form_urlencoded", 3219 | "idna", 3220 | "percent-encoding", 3221 | ] 3222 | 3223 | [[package]] 3224 | name = "utf-8" 3225 | version = "0.7.6" 3226 | source = "registry+https://github.com/rust-lang/crates.io-index" 3227 | checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" 3228 | 3229 | [[package]] 3230 | name = "uuid" 3231 | version = "0.8.2" 3232 | source = "registry+https://github.com/rust-lang/crates.io-index" 3233 | checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" 3234 | dependencies = [ 3235 | "getrandom", 3236 | "serde", 3237 | ] 3238 | 3239 | [[package]] 3240 | name = "vcpkg" 3241 | version = "0.2.15" 3242 | source = "registry+https://github.com/rust-lang/crates.io-index" 3243 | checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" 3244 | 3245 | [[package]] 3246 | name = "version_check" 3247 | version = "0.9.4" 3248 | source = "registry+https://github.com/rust-lang/crates.io-index" 3249 | checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 3250 | 3251 | [[package]] 3252 | name = "walkdir" 3253 | version = "2.3.3" 3254 | source = "registry+https://github.com/rust-lang/crates.io-index" 3255 | checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" 3256 | dependencies = [ 3257 | "same-file", 3258 | "winapi-util", 3259 | ] 3260 | 3261 | [[package]] 3262 | name = "want" 3263 | version = "0.3.0" 3264 | source = "registry+https://github.com/rust-lang/crates.io-index" 3265 | checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" 3266 | dependencies = [ 3267 | "log", 3268 | "try-lock", 3269 | ] 3270 | 3271 | [[package]] 3272 | name = "wasi" 3273 | version = "0.11.0+wasi-snapshot-preview1" 3274 | source = "registry+https://github.com/rust-lang/crates.io-index" 3275 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 3276 | 3277 | [[package]] 3278 | name = "wasm-bindgen" 3279 | version = "0.2.86" 3280 | source = "registry+https://github.com/rust-lang/crates.io-index" 3281 | checksum = "5bba0e8cb82ba49ff4e229459ff22a191bbe9a1cb3a341610c9c33efc27ddf73" 3282 | dependencies = [ 3283 | "cfg-if", 3284 | "wasm-bindgen-macro", 3285 | ] 3286 | 3287 | [[package]] 3288 | name = "wasm-bindgen-backend" 3289 | version = "0.2.86" 3290 | source = "registry+https://github.com/rust-lang/crates.io-index" 3291 | checksum = "19b04bc93f9d6bdee709f6bd2118f57dd6679cf1176a1af464fca3ab0d66d8fb" 3292 | dependencies = [ 3293 | "bumpalo", 3294 | "log", 3295 | "once_cell", 3296 | "proc-macro2", 3297 | "quote", 3298 | "syn 2.0.18", 3299 | "wasm-bindgen-shared", 3300 | ] 3301 | 3302 | [[package]] 3303 | name = "wasm-bindgen-futures" 3304 | version = "0.4.36" 3305 | source = "registry+https://github.com/rust-lang/crates.io-index" 3306 | checksum = "2d1985d03709c53167ce907ff394f5316aa22cb4e12761295c5dc57dacb6297e" 3307 | dependencies = [ 3308 | "cfg-if", 3309 | "js-sys", 3310 | "wasm-bindgen", 3311 | "web-sys", 3312 | ] 3313 | 3314 | [[package]] 3315 | name = "wasm-bindgen-macro" 3316 | version = "0.2.86" 3317 | source = "registry+https://github.com/rust-lang/crates.io-index" 3318 | checksum = "14d6b024f1a526bb0234f52840389927257beb670610081360e5a03c5df9c258" 3319 | dependencies = [ 3320 | "quote", 3321 | "wasm-bindgen-macro-support", 3322 | ] 3323 | 3324 | [[package]] 3325 | name = "wasm-bindgen-macro-support" 3326 | version = "0.2.86" 3327 | source = "registry+https://github.com/rust-lang/crates.io-index" 3328 | checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8" 3329 | dependencies = [ 3330 | "proc-macro2", 3331 | "quote", 3332 | "syn 2.0.18", 3333 | "wasm-bindgen-backend", 3334 | "wasm-bindgen-shared", 3335 | ] 3336 | 3337 | [[package]] 3338 | name = "wasm-bindgen-shared" 3339 | version = "0.2.86" 3340 | source = "registry+https://github.com/rust-lang/crates.io-index" 3341 | checksum = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93" 3342 | 3343 | [[package]] 3344 | name = "web-sys" 3345 | version = "0.3.63" 3346 | source = "registry+https://github.com/rust-lang/crates.io-index" 3347 | checksum = "3bdd9ef4e984da1187bf8110c5cf5b845fbc87a23602cdf912386a76fcd3a7c2" 3348 | dependencies = [ 3349 | "js-sys", 3350 | "wasm-bindgen", 3351 | ] 3352 | 3353 | [[package]] 3354 | name = "webpki" 3355 | version = "0.22.0" 3356 | source = "registry+https://github.com/rust-lang/crates.io-index" 3357 | checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" 3358 | dependencies = [ 3359 | "ring", 3360 | "untrusted", 3361 | ] 3362 | 3363 | [[package]] 3364 | name = "webpki-roots" 3365 | version = "0.22.6" 3366 | source = "registry+https://github.com/rust-lang/crates.io-index" 3367 | checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" 3368 | dependencies = [ 3369 | "webpki", 3370 | ] 3371 | 3372 | [[package]] 3373 | name = "webpki-roots" 3374 | version = "0.23.1" 3375 | source = "registry+https://github.com/rust-lang/crates.io-index" 3376 | checksum = "b03058f88386e5ff5310d9111d53f48b17d732b401aeb83a8d5190f2ac459338" 3377 | dependencies = [ 3378 | "rustls-webpki", 3379 | ] 3380 | 3381 | [[package]] 3382 | name = "winapi" 3383 | version = "0.3.9" 3384 | source = "registry+https://github.com/rust-lang/crates.io-index" 3385 | checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 3386 | dependencies = [ 3387 | "winapi-i686-pc-windows-gnu", 3388 | "winapi-x86_64-pc-windows-gnu", 3389 | ] 3390 | 3391 | [[package]] 3392 | name = "winapi-i686-pc-windows-gnu" 3393 | version = "0.4.0" 3394 | source = "registry+https://github.com/rust-lang/crates.io-index" 3395 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 3396 | 3397 | [[package]] 3398 | name = "winapi-util" 3399 | version = "0.1.5" 3400 | source = "registry+https://github.com/rust-lang/crates.io-index" 3401 | checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" 3402 | dependencies = [ 3403 | "winapi", 3404 | ] 3405 | 3406 | [[package]] 3407 | name = "winapi-x86_64-pc-windows-gnu" 3408 | version = "0.4.0" 3409 | source = "registry+https://github.com/rust-lang/crates.io-index" 3410 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 3411 | 3412 | [[package]] 3413 | name = "windows-sys" 3414 | version = "0.42.0" 3415 | source = "registry+https://github.com/rust-lang/crates.io-index" 3416 | checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" 3417 | dependencies = [ 3418 | "windows_aarch64_gnullvm 0.42.2", 3419 | "windows_aarch64_msvc 0.42.2", 3420 | "windows_i686_gnu 0.42.2", 3421 | "windows_i686_msvc 0.42.2", 3422 | "windows_x86_64_gnu 0.42.2", 3423 | "windows_x86_64_gnullvm 0.42.2", 3424 | "windows_x86_64_msvc 0.42.2", 3425 | ] 3426 | 3427 | [[package]] 3428 | name = "windows-sys" 3429 | version = "0.45.0" 3430 | source = "registry+https://github.com/rust-lang/crates.io-index" 3431 | checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" 3432 | dependencies = [ 3433 | "windows-targets 0.42.2", 3434 | ] 3435 | 3436 | [[package]] 3437 | name = "windows-sys" 3438 | version = "0.48.0" 3439 | source = "registry+https://github.com/rust-lang/crates.io-index" 3440 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 3441 | dependencies = [ 3442 | "windows-targets 0.48.0", 3443 | ] 3444 | 3445 | [[package]] 3446 | name = "windows-targets" 3447 | version = "0.42.2" 3448 | source = "registry+https://github.com/rust-lang/crates.io-index" 3449 | checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 3450 | dependencies = [ 3451 | "windows_aarch64_gnullvm 0.42.2", 3452 | "windows_aarch64_msvc 0.42.2", 3453 | "windows_i686_gnu 0.42.2", 3454 | "windows_i686_msvc 0.42.2", 3455 | "windows_x86_64_gnu 0.42.2", 3456 | "windows_x86_64_gnullvm 0.42.2", 3457 | "windows_x86_64_msvc 0.42.2", 3458 | ] 3459 | 3460 | [[package]] 3461 | name = "windows-targets" 3462 | version = "0.48.0" 3463 | source = "registry+https://github.com/rust-lang/crates.io-index" 3464 | checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" 3465 | dependencies = [ 3466 | "windows_aarch64_gnullvm 0.48.0", 3467 | "windows_aarch64_msvc 0.48.0", 3468 | "windows_i686_gnu 0.48.0", 3469 | "windows_i686_msvc 0.48.0", 3470 | "windows_x86_64_gnu 0.48.0", 3471 | "windows_x86_64_gnullvm 0.48.0", 3472 | "windows_x86_64_msvc 0.48.0", 3473 | ] 3474 | 3475 | [[package]] 3476 | name = "windows_aarch64_gnullvm" 3477 | version = "0.42.2" 3478 | source = "registry+https://github.com/rust-lang/crates.io-index" 3479 | checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 3480 | 3481 | [[package]] 3482 | name = "windows_aarch64_gnullvm" 3483 | version = "0.48.0" 3484 | source = "registry+https://github.com/rust-lang/crates.io-index" 3485 | checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" 3486 | 3487 | [[package]] 3488 | name = "windows_aarch64_msvc" 3489 | version = "0.42.2" 3490 | source = "registry+https://github.com/rust-lang/crates.io-index" 3491 | checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 3492 | 3493 | [[package]] 3494 | name = "windows_aarch64_msvc" 3495 | version = "0.48.0" 3496 | source = "registry+https://github.com/rust-lang/crates.io-index" 3497 | checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" 3498 | 3499 | [[package]] 3500 | name = "windows_i686_gnu" 3501 | version = "0.42.2" 3502 | source = "registry+https://github.com/rust-lang/crates.io-index" 3503 | checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 3504 | 3505 | [[package]] 3506 | name = "windows_i686_gnu" 3507 | version = "0.48.0" 3508 | source = "registry+https://github.com/rust-lang/crates.io-index" 3509 | checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" 3510 | 3511 | [[package]] 3512 | name = "windows_i686_msvc" 3513 | version = "0.42.2" 3514 | source = "registry+https://github.com/rust-lang/crates.io-index" 3515 | checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 3516 | 3517 | [[package]] 3518 | name = "windows_i686_msvc" 3519 | version = "0.48.0" 3520 | source = "registry+https://github.com/rust-lang/crates.io-index" 3521 | checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" 3522 | 3523 | [[package]] 3524 | name = "windows_x86_64_gnu" 3525 | version = "0.42.2" 3526 | source = "registry+https://github.com/rust-lang/crates.io-index" 3527 | checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 3528 | 3529 | [[package]] 3530 | name = "windows_x86_64_gnu" 3531 | version = "0.48.0" 3532 | source = "registry+https://github.com/rust-lang/crates.io-index" 3533 | checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" 3534 | 3535 | [[package]] 3536 | name = "windows_x86_64_gnullvm" 3537 | version = "0.42.2" 3538 | source = "registry+https://github.com/rust-lang/crates.io-index" 3539 | checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 3540 | 3541 | [[package]] 3542 | name = "windows_x86_64_gnullvm" 3543 | version = "0.48.0" 3544 | source = "registry+https://github.com/rust-lang/crates.io-index" 3545 | checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" 3546 | 3547 | [[package]] 3548 | name = "windows_x86_64_msvc" 3549 | version = "0.42.2" 3550 | source = "registry+https://github.com/rust-lang/crates.io-index" 3551 | checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" 3552 | 3553 | [[package]] 3554 | name = "windows_x86_64_msvc" 3555 | version = "0.48.0" 3556 | source = "registry+https://github.com/rust-lang/crates.io-index" 3557 | checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" 3558 | 3559 | [[package]] 3560 | name = "winnow" 3561 | version = "0.4.6" 3562 | source = "registry+https://github.com/rust-lang/crates.io-index" 3563 | checksum = "61de7bac303dc551fe038e2b3cef0f571087a47571ea6e79a87692ac99b99699" 3564 | dependencies = [ 3565 | "memchr", 3566 | ] 3567 | 3568 | [[package]] 3569 | name = "winreg" 3570 | version = "0.10.1" 3571 | source = "registry+https://github.com/rust-lang/crates.io-index" 3572 | checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" 3573 | dependencies = [ 3574 | "winapi", 3575 | ] 3576 | 3577 | [[package]] 3578 | name = "ws_stream_wasm" 3579 | version = "0.7.4" 3580 | source = "registry+https://github.com/rust-lang/crates.io-index" 3581 | checksum = "7999f5f4217fe3818726b66257a4475f71e74ffd190776ad053fa159e50737f5" 3582 | dependencies = [ 3583 | "async_io_stream", 3584 | "futures", 3585 | "js-sys", 3586 | "log", 3587 | "pharos", 3588 | "rustc_version", 3589 | "send_wrapper 0.6.0", 3590 | "thiserror", 3591 | "wasm-bindgen", 3592 | "wasm-bindgen-futures", 3593 | "web-sys", 3594 | ] 3595 | 3596 | [[package]] 3597 | name = "wyz" 3598 | version = "0.5.1" 3599 | source = "registry+https://github.com/rust-lang/crates.io-index" 3600 | checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" 3601 | dependencies = [ 3602 | "tap", 3603 | ] 3604 | 3605 | [[package]] 3606 | name = "yansi" 3607 | version = "0.5.1" 3608 | source = "registry+https://github.com/rust-lang/crates.io-index" 3609 | checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" 3610 | 3611 | [[package]] 3612 | name = "zeroize" 3613 | version = "1.6.0" 3614 | source = "registry+https://github.com/rust-lang/crates.io-index" 3615 | checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" 3616 | 3617 | [[package]] 3618 | name = "zip" 3619 | version = "0.6.6" 3620 | source = "registry+https://github.com/rust-lang/crates.io-index" 3621 | checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" 3622 | dependencies = [ 3623 | "aes", 3624 | "byteorder", 3625 | "bzip2", 3626 | "constant_time_eq", 3627 | "crc32fast", 3628 | "crossbeam-utils", 3629 | "flate2", 3630 | "hmac", 3631 | "pbkdf2 0.11.0", 3632 | "sha1", 3633 | "time", 3634 | "zstd", 3635 | ] 3636 | 3637 | [[package]] 3638 | name = "zstd" 3639 | version = "0.11.2+zstd.1.5.2" 3640 | source = "registry+https://github.com/rust-lang/crates.io-index" 3641 | checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" 3642 | dependencies = [ 3643 | "zstd-safe", 3644 | ] 3645 | 3646 | [[package]] 3647 | name = "zstd-safe" 3648 | version = "5.0.2+zstd.1.5.2" 3649 | source = "registry+https://github.com/rust-lang/crates.io-index" 3650 | checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" 3651 | dependencies = [ 3652 | "libc", 3653 | "zstd-sys", 3654 | ] 3655 | 3656 | [[package]] 3657 | name = "zstd-sys" 3658 | version = "2.0.8+zstd.1.5.5" 3659 | source = "registry+https://github.com/rust-lang/crates.io-index" 3660 | checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c" 3661 | dependencies = [ 3662 | "cc", 3663 | "libc", 3664 | "pkg-config", 3665 | ] 3666 | --------------------------------------------------------------------------------