[package]
edition = "2024"
rust-version = "1.85"
name = "internetdata"
version = "2.2.2"
authors = ["InternetData <dev@internetdata.io>"]
build = false
exclude = [
"/spec",
"/scripts",
"/.github",
"/integration",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The official Rust client library for the InternetData API: download and verify the published IP intelligence databases."
homepage = "https://internetdata.io"
documentation = "https://docs.rs/internetdata"
readme = "README.md"
keywords = [
"ip",
"geoip",
"mmdb",
"dataset",
"api",
]
categories = [
"api-bindings",
"network-programming",
]
license = "MIT"
repository = "https://github.com/internetdata/sdk-rust"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["rustls-tls"]
native-tls = ["reqwest/default-tls"]
rustls-tls = [
"reqwest/rustls",
"reqwest/rustls-native-certs",
]
[lib]
name = "internetdata"
path = "src/lib.rs"
[[test]]
name = "client"
path = "tests/client.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "download"
path = "tests/download.rs"
[[test]]
name = "live"
path = "tests/live.rs"
[[test]]
name = "oauth"
path = "tests/oauth.rs"
[[test]]
name = "readme"
path = "tests/readme.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.reqwest]
version = "0.13"
features = [
"form",
"query",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"fs",
"io-util",
"time",
]
[dev-dependencies.serde_urlencoded]
version = "0.7"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"net",
"time",
]