external-ip 7.0.0

Asynchronous library to retrieve the system external IP
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "external-ip"
version = "7.0.0"
authors = ["Dario Meloni <mellon85@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Asynchronous library to retrieve the system external IP
"""
readme = "README.md"
license = "MIT"
repository = "https://github.com/mellon85/external-ip"

[features]
default = ["discover_igd"]
discover_igd = ["igd"]

[lib]
name = "external_ip"
path = "src/lib.rs"

[[test]]
name = "all_sources"
path = "tests/all_sources.rs"

[[test]]
name = "dns_sources"
path = "tests/dns_sources.rs"

[[test]]
name = "http_sources"
path = "tests/http_sources.rs"

[[test]]
name = "igd_sources"
path = "tests/igd_sources.rs"

[dependencies.futures]
version = "0.3"

[dependencies.hickory-resolver]
version = "0.26"

[dependencies.igd]
version = "0.12.1"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.reqwest]
version = "0.13"

[dependencies.thiserror]
version = "2"

[dev-dependencies.mockall]
version = "0.14"

[dev-dependencies.tokio-test]
version = "0.4"