| Crates.io | dmrc-rs |
| lib.rs | dmrc-rs |
| version | 0.1.0 |
| created_at | 2026-01-14 17:11:16.910333+00 |
| updated_at | 2026-01-14 17:11:16.910333+00 |
| description | Delhi Metro route planner with precomputed journeys embedded at build time |
| homepage | |
| repository | https://github.com/keogami/dmrc-rs |
| max_upload_size | |
| id | 2043253 |
| size | 6,703,009 |
Rust SDK-esque crate for Delhi Metro (DMRC) route planning.
All possible journeys on the DMRC network are precomputed during build using the RAPTOR algorithm and embedded directly into your binary via rkyv zero-copy serialization.
use dmrc_rs::load_routes;
// read from the data section of _your_ binary
let data = load_routes();
// Fuzzy search stops by name
let matches = data.fuzzy_search("rajiv");
// Access precomputed journey data
// Key: (source_idx << 16) | target_idx
Work in progress. API is a chaos, but the proof of concept is ready. Will be open for contributions soon.
Apache-2.0