| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "maxminddb" |
| 15 |
version = "0.30.0" |
| 16 |
authors = ["Gregory J. Oschwald <[email protected]>"] |
| 17 |
build = false |
| 18 |
include = [ |
| 19 |
"/Cargo.toml", |
| 20 |
"/benches/*.rs", |
| 21 |
"/src/**/*.rs", |
| 22 |
"/README.md", |
| 23 |
"/UPGRADING.md", |
| 24 |
"/LICENSE", |
| 25 |
] |
| 26 |
autolib = false |
| 27 |
autobins = false |
| 28 |
autoexamples = false |
| 29 |
autotests = false |
| 30 |
autobenches = false |
| 31 |
description = "Library for reading MaxMind DB format used by GeoIP2 and GeoLite2" |
| 32 |
homepage = "https://github.com/oschwald/maxminddb-rust" |
| 33 |
documentation = "https://docs.rs/maxminddb" |
| 34 |
readme = "README.md" |
| 35 |
keywords = [ |
| 36 |
"MaxMind", |
| 37 |
"GeoIP2", |
| 38 |
"GeoIP", |
| 39 |
"geolocation", |
| 40 |
"ip", |
| 41 |
] |
| 42 |
categories = [ |
| 43 |
"database", |
| 44 |
"network-programming", |
| 45 |
] |
| 46 |
license = "ISC" |
| 47 |
repository = "https://github.com/oschwald/maxminddb-rust" |
| 48 |
|
| 49 |
[features] |
| 50 |
default = [] |
| 51 |
mmap = ["memmap2"] |
| 52 |
simdutf8 = ["dep:simdutf8"] |
| 53 |
unsafe-str-decode = [] |
| 54 |
|
| 55 |
[lib] |
| 56 |
name = "maxminddb" |
| 57 |
path = "src/lib.rs" |
| 58 |
|
| 59 |
[[disabled.bench]] |
| 60 |
name = "common" |
| 61 |
path = "benches/common.rs" |
| 62 |
|
| 63 |
[[disabled.bench]] |
| 64 |
name = "lookup" |
| 65 |
path = "benches/lookup.rs" |
| 66 |
harness = false |
| 67 |
|
| 68 |
[[disabled.bench]] |
| 69 |
name = "metadata" |
| 70 |
path = "benches/metadata.rs" |
| 71 |
harness = false |
| 72 |
|
| 73 |
[[disabled.bench]] |
| 74 |
name = "serde_usage" |
| 75 |
path = "benches/serde_usage.rs" |
| 76 |
harness = false |
| 77 |
|
| 78 |
[[disabled.bench]] |
| 79 |
name = "within" |
| 80 |
path = "benches/within.rs" |
| 81 |
harness = false |
| 82 |
|
| 83 |
[dependencies.ipnetwork] |
| 84 |
version = "0.21.1" |
| 85 |
|
| 86 |
[dependencies.memchr] |
| 87 |
version = "2.4" |
| 88 |
|
| 89 |
[dependencies.memmap2] |
| 90 |
version = "0.9.0" |
| 91 |
optional = true |
| 92 |
|
| 93 |
[dependencies.serde] |
| 94 |
version = "1.0" |
| 95 |
features = ["derive"] |
| 96 |
|
| 97 |
[dependencies.simdutf8] |
| 98 |
version = "0.1.5" |
| 99 |
optional = true |
| 100 |
|
| 101 |
[dependencies.thiserror] |
| 102 |
version = "2.0" |
| 103 |
|
| 104 |
[disabled.dev-dependencies.criterion] |
| 105 |
version = "0.8" |
| 106 |
|
| 107 |
[dev-dependencies.env_logger] |
| 108 |
version = "0.11" |
| 109 |
|
| 110 |
[disabled.dev-dependencies.rayon] |
| 111 |
version = "1.5" |
| 112 |
|
| 113 |
[dev-dependencies.serde_json] |
| 114 |
version = "1.0" |