#train-public-transport #public-transport #train #railway-backend

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

#1 in #railway-backend

Download history 7/week @ 2024-12-07 1/week @ 2024-12-14 228/week @ 2025-01-18 18/week @ 2025-01-25 23/week @ 2025-02-01 25/week @ 2025-02-08 25/week @ 2025-02-15 6/week @ 2025-02-22 15/week @ 2025-03-01 13/week @ 2025-03-08

64 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