-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (37 loc) · 953 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
39
40
41
42
43
[package]
name = "libloc"
description = "Read location databases in libloc format"
version = "0.1.1"
authors = ["Tobias Bucher <tobiasbucher5991@gmail.com>"]
repository = "https://github.com/tbu-/libloc-rs/"
keywords = ["geoip", "libloc"]
license = "MIT/Apache-2.0"
edition = "2021"
rust-version = "1.63"
[dependencies]
chrono = { version = "0.4.31", optional = true }
memmap2 = { version = "0.9", features = ["stable_deref_trait"] }
ipnet = "2.0"
yoke = { version = "0.7", default-features = false }
yoke-derive = { version = "0.7", optional = true }
zerocopy = "0.7.24"
zerocopy-derive = { version = "0.7.24", optional = true }
[features]
default = ["compat-0-1-1", "time"]
compat-0-1-1 = []
time = ["chrono"]
verified = ["yoke-derive", "zerocopy-derive"]
[dev-dependencies]
bencher = "0.1.5"
libc = "0.2.153"
[workspace]
members = [
".",
"tools",
]
[[bench]]
name = "locations"
harness = false
[[bench]]
name = "native"
harness = false