Registry / other / gtfs-structures

gtfs-structures

JSON →
library0.47.0rscratesunverified

Read GTFS (public transit timetables) files into Rust data structures.

# Cargo.toml [dependencies] gtfs-structures = "0.47.0"
INSTALL
IMPORT
SIG · GTFS-STRUCTURES
G
gtfs-structures
otherrustv0.47.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Gtfs
use gtfs_structures::Gtfs;

Load a GTFS feed from a ZIP file.

use gtfs_structures::Gtfs; fn main() -> Result<(), Box<dyn std::error::Error>> { let gtfs = Gtfs::new("path/to/gtfs.zip")?; println!("Loaded {} routes", gtfs.routes.len()); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.47.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Meta
1
Resources
gtfs-structures — cargo add gtfs-structures · libregistry