#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

#728 in Web programming

Download history 32/week @ 2024-10-08 6/week @ 2024-10-15 49/week @ 2024-10-22 11/week @ 2024-10-29 23/week @ 2024-11-05 1/week @ 2024-11-19 1/week @ 2024-12-03 7/week @ 2024-12-10 142/week @ 2025-01-14 93/week @ 2025-01-21

235 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