geosite-rs 0.1.6

A simple crate that parses geosite.dat file format
Documentation

A simple crate that parses geosite.dat or geoip.dat file format defined in https://github.com/v2fly/v2ray-core/blob/master/app/router/routercommon/common.proto

dat files can be found at https://github.com/Loyalsoldier/v2ray-rules-dat and https://github.com/v2fly/domain-list-community

The crate is designed to be compatible with the crate "clash_rules".

commented out code in build.rs shows how to generate the protobuf rust code.