# 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"
rust-version = "1.93"
name = "aws-checkip"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fetch public IP address from checkip.amazonaws.com as IpNet"
homepage = "https://github.com/mbj/mrs/tree/main/aws-checkip"
readme = "README.md"
keywords = [
    "aws",
    "ip",
    "checkip",
    "network",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/mbj/mrs/tree/main/aws-checkip"

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

[dependencies.http]
version = "1.4"

[dependencies.ipnet]
version = "2"
features = ["serde"]

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "query",
    "rustls",
]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.typed-reqwest]
version = "0.0.2"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.tokio]
version = "1"
features = [
    "io-std",
    "macros",
    "rt",
    "rt",
    "macros",
]

[lints.clippy]
multiple_crate_versions = "deny"
must_use_candidate = "deny"
uninlined_format_args = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
unexpected_cfgs = "deny"
