Cargo Features

[dependencies]
clash_rules = { version = "0.1.18", default-features = false, features = ["maxminddb", "rusqlite", "serde_yaml_ng"] }
default = maxminddb, rusqlite, serde_yaml_ng

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

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.

maxminddb default

Enables maxminddb ^0.24

Affects clash_rules::get_ip_iso_by_reader, clash_rules::ClashRuleMatcher.mmdb_reader, clash_rules::ClashRuleMatcher.country_target_map, clash_rules::RuleInput.mmdb_reader

rusqlite default

Affects clash_rules::sql

serde_yaml_ng default

Affects clash_rules::load_rule_set_from_file, clash_rules::load_rule_set_from_str, clash_rules::load_rules_from_file, clash_rules::load_rules_from_str