feat: add hashbrown
This commit is contained in:
		
							
								
								
									
										29
									
								
								Cargo.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										29
									
								
								Cargo.lock
									
									
									
										generated
									
									
									
								
							| @@ -2,6 +2,17 @@ | |||||||
| # It is not intended for manual editing. | # It is not intended for manual editing. | ||||||
| version = 3 | version = 3 | ||||||
|  |  | ||||||
|  | [[package]] | ||||||
|  | name = "ahash" | ||||||
|  | version = "0.8.2" | ||||||
|  | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||||
|  | checksum = "bf6ccdb167abbf410dcb915cabd428929d7f6a04980b54a11f26a39f1c7f7107" | ||||||
|  | dependencies = [ | ||||||
|  |  "cfg-if", | ||||||
|  |  "once_cell", | ||||||
|  |  "version_check", | ||||||
|  | ] | ||||||
|  |  | ||||||
| [[package]] | [[package]] | ||||||
| name = "aho-corasick" | name = "aho-corasick" | ||||||
| version = "0.7.20" | version = "0.7.20" | ||||||
| @@ -16,6 +27,7 @@ name = "aoc" | |||||||
| version = "0.1.0" | version = "0.1.0" | ||||||
| dependencies = [ | dependencies = [ | ||||||
|  "dotenv", |  "dotenv", | ||||||
|  |  "hashbrown 0.13.1", | ||||||
|  "hex-literal", |  "hex-literal", | ||||||
|  "itertools", |  "itertools", | ||||||
|  "lazy_static", |  "lazy_static", | ||||||
| @@ -228,6 +240,15 @@ version = "0.12.3" | |||||||
| source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||||
| checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" | checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" | ||||||
|  |  | ||||||
|  | [[package]] | ||||||
|  | name = "hashbrown" | ||||||
|  | version = "0.13.1" | ||||||
|  | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||||
|  | checksum = "33ff8ae62cd3a9102e5637afc8452c55acf3844001bd5374e0b0bd7b6616c038" | ||||||
|  | dependencies = [ | ||||||
|  |  "ahash", | ||||||
|  | ] | ||||||
|  |  | ||||||
| [[package]] | [[package]] | ||||||
| name = "hermit-abi" | name = "hermit-abi" | ||||||
| version = "0.1.19" | version = "0.1.19" | ||||||
| @@ -331,7 +352,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||||||
| checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" | checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" | ||||||
| dependencies = [ | dependencies = [ | ||||||
|  "autocfg", |  "autocfg", | ||||||
|  "hashbrown", |  "hashbrown 0.12.3", | ||||||
| ] | ] | ||||||
|  |  | ||||||
| [[package]] | [[package]] | ||||||
| @@ -932,6 +953,12 @@ version = "0.2.15" | |||||||
| source = "registry+https://github.com/rust-lang/crates.io-index" | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||||
| checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" | checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" | ||||||
|  |  | ||||||
|  | [[package]] | ||||||
|  | name = "version_check" | ||||||
|  | version = "0.9.4" | ||||||
|  | source = "registry+https://github.com/rust-lang/crates.io-index" | ||||||
|  | checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" | ||||||
|  |  | ||||||
| [[package]] | [[package]] | ||||||
| name = "want" | name = "want" | ||||||
| version = "0.3.0" | version = "0.3.0" | ||||||
|   | |||||||
| @@ -9,6 +9,7 @@ default-run = "aoc" | |||||||
|  |  | ||||||
| [dependencies] | [dependencies] | ||||||
| dotenv = "0.15.0" | dotenv = "0.15.0" | ||||||
|  | hashbrown = "0.13.1" | ||||||
| hex-literal = "0.3.4" | hex-literal = "0.3.4" | ||||||
| itertools = "0.10.5" | itertools = "0.10.5" | ||||||
| lazy_static = "1.4.0" | lazy_static = "1.4.0" | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| use std::collections::HashSet; | use hashbrown::HashSet; | ||||||
|  |  | ||||||
| use itertools::Itertools; | use itertools::Itertools; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| use std::collections::HashMap; | use hashbrown::HashMap; | ||||||
|  |  | ||||||
| use lazy_static::lazy_static; | use lazy_static::lazy_static; | ||||||
| use regex::Regex; | use regex::Regex; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user