#maxmind #geoip

bin+lib mmdb-grpc

The gRPC service that provides a query to Maxmind's GeoLite2 databases

13 releases

0.5.8 Apr 8, 2023
0.5.7 Mar 18, 2023
0.5.6 Oct 31, 2022
0.5.5 Jul 21, 2022
0.5.0 Jul 14, 2020

#99 in Geospatial

Download history 1/week @ 2023-11-06 14/week @ 2023-11-13 14/week @ 2023-11-20 41/week @ 2023-11-27 14/week @ 2023-12-18 26/week @ 2023-12-25 13/week @ 2024-01-01 1/week @ 2024-01-08 10/week @ 2024-01-15 11/week @ 2024-01-22 26/week @ 2024-01-29 3/week @ 2024-02-05 111/week @ 2024-02-12 274/week @ 2024-02-19

414 downloads per month

MIT license

25KB
567 lines

mmdb-grpc

crates.io Build Release

The gRPC service that provides a query to maxminddb

Usage

❯ cargo install mmdb-grpc
❯ mmdb-server --help
mmdb-grpc x.y.z
Takeru Sato <type.in.type@gmail.com>

USAGE:
    mmdb-server [OPTIONS]

FLAGS:
        --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -h, --host <host>                                                        [default: localhost]
        --keepalive-permit-without-calls <keepalive-permit-without-calls>
        --keepalive-time <keepalive-time>
        --keepalive-timeout <keepalive-timeout>
    -f, --file <mmdb-path>
            [default: /usr/share/GeoIP/GeoLite2-City.mmdb]

    -p, --port <port>                                                        [default: 50000]
        --slots-per-worker <slots-per-worker>
    -w, --workers <workers>                                                  [default: 1]
❯ mmdb-reload --help
mmdb-grpc x.y.z
Takeru Sato <type.in.type@gmail.com>

USAGE:
    mmdb-reload [OPTIONS]

FLAGS:
        --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -h, --host <host>             [default: localhost]
    -p, --port <port>             [default: 50000]
    -s, --schedule <schedule>

Dependencies

~35–48MB
~805K SLoC