http-ip 0.1.2

Utilities to determine HTTP client IP
Documentation
[dependencies.axum08]
default-features = false
features = ["tokio"]
optional = true
package = "axum"
version = "0.8"

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

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

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

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

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

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

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

[[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"]