geosite-rs

Crates.iogeosite-rs
lib.rsgeosite-rs
version
sourcesrc
created_at2025-02-12 12:53:14.531689+00
updated_at2025-02-19 09:37:47.055555+00
descriptionA simple crate that parses geosite.dat file format
homepagehttps://github.com/e1732a364fed/geosite-rs
repositoryhttps://github.com/e1732a364fed/geosite-rs
max_upload_size
id1552970
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`
size0
e1732a364fed (e1732a364fed)

documentation

README

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.

Commit count: 8

cargo fmt