Crate geosite_rs

Source

Modules§

domain
Nested message and enum types in Domain.

Structs§

Cidr
IP for routing decision, in CIDR form.
Domain
Domain for routing decision.
GeoIp
GeoIpList
GeoSite
GeoSiteList
the final dat file has this type

Functions§

decode_geoip
parse dat data (which has protobuf format)
decode_geosite
parse dat data (which has protobuf format)
encode_geoip
save to the dat format (which has protobuf format)
encode_geosite
save to the dat format (which has protobuf format)
geoip_to_hashmap
covert to a hashmap that is compatible with the one in crate ‘clash_rules’
geosite_to_hashmap
covert to a hashmap that is compatible with the one in crate ‘clash_rules’