#protobuf #format #domain #geosite

bin+lib geosite-rs

A simple crate that parses geosite.dat file format

7 releases

0.1.6 Feb 19, 2025
0.1.5 Feb 19, 2025

#757 in Data structures

MIT/Apache

11KB
199 lines

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.

Dependencies

~315KB