Crates.io | geosite-rs |
lib.rs | geosite-rs |
version | |
source | src |
created_at | 2025-02-12 12:53:14.531689+00 |
updated_at | 2025-02-19 09:37:47.055555+00 |
description | A simple crate that parses geosite.dat file format |
homepage | https://github.com/e1732a364fed/geosite-rs |
repository | https://github.com/e1732a364fed/geosite-rs |
max_upload_size | |
id | 1552970 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.