#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

#693 in Web programming

Download history 1/week @ 2024-11-13 3/week @ 2024-12-04 5/week @ 2024-12-11 210/week @ 2025-01-15 26/week @ 2025-01-22 21/week @ 2025-01-29 28/week @ 2025-02-05 30/week @ 2025-02-12 7/week @ 2025-02-19 13/week @ 2025-02-26

80 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
~135K SLoC