Cargo Features

[dependencies]
db_ip = { version = "0.3.8", default-features = false, features = ["region", "ipv4", "ipv6", "serde", "nightly", "download-country-lite", "include-country-code-lite", "include-region-lite", "csv"] }
default = include-country-code-lite, include-region-lite, ipv4, ipv6

These default features are set whenever db_ip is added without default-features = false somewhere in the dependency tree.

region include-region-lite

Enables region of db_ip_core

ipv4 default

Enables ipv4 of db_ip_core

ipv6 default

Enables ipv6 of db_ip_core

serde include-country-code-lite include-region-lite

Enables db_ip_core

nightly
download-country-lite include-country-code-lite include-region-lite = bincode, chrono, flate2, reqwest
include-country-code-lite default = download-country-lite, serde, serde_1

Enables bincode of db_ip_core

Affects db_ip::COUNTRY_CODE_LITE_BYTES

include-region-lite default = download-country-lite, region, serde, serde_1

Enables bincode of db_ip_core

Affects db_ip::REGION_LITE_BYTES

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

csv implicit feature

Enables csv

csv:

Fast CSV parsing with support for serde

bincode download-country-lite?
reqwest build download-country-lite?

Enables reqwest ^0.11

flate2 build download-country-lite?
chrono build download-country-lite?
serde_1 build include-country-code-lite include-region-lite

Enables serde