-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
40 lines (35 loc) · 1.39 KB
/
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
39
40
[package]
name = "db_ip"
authors = ["Finn Bear"]
version = "0.3.10"
edition = "2018"
license = "MIT OR Apache-2.0"
repository = "https://github.com/finnbear/db_ip/"
description = "An (unofficial) Rust library for querying db-ip.com data"
[features]
default = ["ipv4", "ipv6", "include-country-code-lite", "include-region-lite"]
region = ["db_ip_core/region"]
ipv4 = ["db_ip_core/ipv4"]
ipv6 = ["db_ip_core/ipv6"]
serde = ["db_ip_core/serde"]
nightly = []
download-country-lite = ["chrono", "flate2", "reqwest", "bincode"]
include-country-code-lite = ["download-country-lite", "serde", "serde_1", "db_ip_core/bincode"]
include-region-lite = ["download-country-lite", "region", "serde", "serde_1", "db_ip_core/bincode"]
[package.metadata.docs.rs]
features = ["ipv4", "ipv6", "serde", "region"]
no-default-features = true
[dependencies]
csv = {version = "1.1", optional = true}
doc-comment = "0.3"
db_ip_core = {path = "db_ip_core", version="0.3.2"}
bincode = {version = "=1.3", optional=true}
[dev-dependencies]
serde_json = "1.0"
[build-dependencies]
reqwest = {version = "0.12.5", features=["blocking", "rustls-tls"], default-features=false, optional=true}
flate2 = {version="1.0", optional=true}
chrono = {version = "0.4", optional=true}
db_ip_core = {path = "db_ip_core", version="0.3.1", features=["csv", "serde"]}
bincode = {version = "=1.3", optional=true}
serde_1 = {package = "serde", version = "1.0", optional=true}