-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (31 loc) · 974 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "ip-api4rs"
version = "3.0.0"
authors = ["Timon Klinkert <DenuxPlays@users.noreply.github.com>"]
description = "A Rust library for the ip-api.com API."
license = "Apache-2.0"
repository = "https://github.com/DenuxPlays/ip-api4rs"
homepage = "https://github.com/DenuxPlays/ip-api4rs"
documentation = "https://docs.rs/ip-api4rs"
readme = "README.md"
edition = "2021"
rust-version = "1.75.0"
[package.metadata.docs.rs]
all-features = true
[features]
blocking = ["reqwest/blocking"]
[dev-dependencies]
# Async runtime
tokio = { version = "1", features = ["rt", "macros", "rt-multi-thread"] }
[dependencies]
# HTTP client
reqwest = { version = "0.12", features = ["json", "blocking"], default-features = false }
# Ratelimiting
governor = "0.7"
nonzero_ext = { version = "0.3", default-features = false }
# Serialization and deserialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde-aux = "4"
# Error handling
thiserror = "2"