Parse ipv6 addresses

resolves #4
This commit is contained in:
Keivan-sf
2025-07-10 20:43:48 +03:30
parent 9bfba9a405
commit fd5afbfe94
3 changed files with 41 additions and 14 deletions

24
Cargo.lock generated
View File

@@ -59,6 +59,12 @@ dependencies = [
"windows-sys",
]
[[package]]
name = "bytes"
version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
[[package]]
name = "clap"
version = "4.4.6"
@@ -105,12 +111,29 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
[[package]]
name = "fnv"
version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
[[package]]
name = "heck"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
[[package]]
name = "http"
version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565"
dependencies = [
"bytes",
"fnv",
"itoa",
]
[[package]]
name = "itoa"
version = "1.0.9"
@@ -253,6 +276,7 @@ name = "v2parser"
version = "0.1.0"
dependencies = [
"clap",
"http",
"querystring",
"regex",
"serde",