| Crates.io | asninfo |
| lib.rs | asninfo |
| version | 0.3.4 |
| created_at | 2025-02-21 20:22:37.387871+00 |
| updated_at | 2025-09-11 00:56:30.726387+00 |
| description | A utility tool to export ASN information to JSON files. |
| homepage | |
| repository | https://github.com/bgpkit/asninfo |
| max_upload_size | |
| id | 1564668 |
| size | 82,244 |
Fetch the latest ASN information and export to JSON, JSONL, or CSV. Optionally upload to an S3-compatible target when configured via environment variables.
cargocargo install asninfo
homebrew on macOSbrew install bgpkit/tap/asninfo
cargo-binstallcargo install cargo-binstall
cargo binstall asninfo
Usage: asninfo [OPTIONS] [PATH]
Arguments:
[PATH] Export data path [default: ./asninfo.jsonl]
Format is inferred from file extension: .json, .jsonl, or .csv
Options:
-s, --simplified Export simplified fields (implied for .csv)
-h, --help Print help
-V, --version Print version
Notes
Required for S3/R2 upload (when ASNINFO_UPLOAD_PATH is set):
Optional: