#train #railway-backend #public-transport

railway-provider-hafas

Implementation of a HAFAS client in Rust

3 releases

0.1.2 Jan 19, 2025
0.1.1 Jul 24, 2024
0.1.0 Jun 12, 2024

#686 in Web programming

Download history 12/week @ 2024-10-28 25/week @ 2024-11-04 1/week @ 2024-11-18 8/week @ 2024-12-09 90/week @ 2025-01-13 144/week @ 2025-01-20 19/week @ 2025-01-27 31/week @ 2025-02-03 14/week @ 2025-02-10

298 downloads per month
Used in railway-api

AGPL-3.0-or-later OR EUPL-1.2

250KB
7.5K SLoC

Railway Hafas Provider

Implementation of a HAFAS client in Rust.

This crate is part of railway-backend. You can find a high-level documentation of railway-backend here.

This was originally forked from hafas-rs, but later heavily refactored to create a generic backend for Railway. It takes a lot of inspiration from the JavaScript hafas-client library, which is licensed under ISC.

Dependencies

~4–12MB
~128K SLoC