-
Notifications
You must be signed in to change notification settings - Fork 50
/
Cargo.toml
41 lines (36 loc) · 1.05 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
41
[package]
name = "maxminddb"
version = "0.24.0"
authors = [ "Gregory J. Oschwald <[email protected]>" ]
description = "Library for reading MaxMind DB format used by GeoIP2 and GeoLite2"
readme = "README.md"
keywords = ["MaxMind", "GeoIP2", "GeoIP", "geolocation", "ip"]
categories = ["database", "network-programming"]
homepage = "https://github.com/oschwald/maxminddb-rust"
documentation = "http://oschwald.github.io/maxminddb-rust/maxminddb/struct.Reader.html"
repository = "https://github.com/oschwald/maxminddb-rust"
license = "ISC"
include = ["/Cargo.toml", "/benches/*.rs", "/src/**/*.rs", "/README.md", "/LICENSE"]
edition = "2021"
[features]
default = []
mmap = ["memmap2"]
unsafe-str-decode = []
[lib]
name ="maxminddb"
path = "src/maxminddb/lib.rs"
[dependencies]
ipnetwork = "0.20.0"
log = "0.4"
serde = { version = "1.0", features = ["derive"] }
memchr = "2.4"
memmap2 = { version = "0.9.0", optional = true }
[dev-dependencies]
env_logger = "0.11"
criterion = "0.5"
fake = "3.0"
rayon = "1.5"
serde_json = "1.0"
[[bench]]
name = "lookup"
harness = false