http-ip 0.1.4

Utilities to determine HTTP client 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"
rust-version = "1.85.0"
name = "http-ip"
version = "0.1.4"
authors = ["Douman <douman@gmx.se>"]
build = false
include = [
    "**/*.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Utilities to determine HTTP client IP"
readme = "README.md"
keywords = [
    "http",
    "ip",
    "client_ip",
]
license = "BSL-1.0"
repository = "https://github.com/DoumanAsh/http-ip"

[package.metadata.docs.rs]
features = [
    "http",
    "axum08",
    "tonic014",
]

[features]
axum08 = [
    "dep:axum08",
    "http",
]
http = ["dep:http"]
ohkami024 = ["dep:ohkami024"]
tonic014 = ["dep:tonic014"]

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

[[test]]
name = "http"
path = "tests/http.rs"
required-features = ["http"]

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

[[test]]
name = "tonic014"
path = "tests/tonic014.rs"
required-features = ["tonic014"]

[dependencies.axum08]
version = "0.8"
features = ["tokio"]
optional = true
default-features = false
package = "axum"

[dependencies.http]
version = "1"
optional = true

[dependencies.ip-cidr]
version = "0.1"

[dependencies.ohkami024]
version = "0.24"
optional = true
default-features = false
package = "ohkami"

[dependencies.tonic014]
version = "0.14"
optional = true
default-features = false
package = "tonic"