{"id":22865301,"url":"https://github.com/traines-source/motis-nigiri-rust","last_synced_at":"2026-02-07T19:32:27.611Z","repository":{"id":215132925,"uuid":"738185293","full_name":"traines-source/motis-nigiri-rust","owner":"traines-source","description":"A Rust wrapper around motis-project/nigiri","archived":false,"fork":false,"pushed_at":"2024-10-15T17:33:14.000Z","size":55,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-05T15:15:03.516Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/traines-source.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-02T16:20:56.000Z","updated_at":"2024-12-23T22:42:19.000Z","dependencies_parsed_at":"2024-02-19T20:04:09.578Z","dependency_job_id":"46cbe680-027a-4aff-b386-8b84ca8b97e5","html_url":"https://github.com/traines-source/motis-nigiri-rust","commit_stats":null,"previous_names":["traines-source/motis-nigiri-rust"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/traines-source/motis-nigiri-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traines-source%2Fmotis-nigiri-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traines-source%2Fmotis-nigiri-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traines-source%2Fmotis-nigiri-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traines-source%2Fmotis-nigiri-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/traines-source","download_url":"https://codeload.github.com/traines-source/motis-nigiri-rust/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traines-source%2Fmotis-nigiri-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29205254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T17:44:10.191Z","status":"ssl_error","status_checked_at":"2026-02-07T17:44:07.936Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T11:35:54.721Z","updated_at":"2026-02-07T19:32:27.579Z","avatar_url":"https://github.com/traines-source.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust wrapper for MOTIS / Nigiri\nThis is a Rust wrapper for the [Nigiri core](https://github.com/motis-project/nigiri) (currently [this fork](https://github.com/traines-source/nigiri)) of the [MOTIS project](https://motis-project.de). It enables retrieving static and realtime timetable data from the various formats (e.g. GTFS/GTFS-RT) parsed by Nigiri. The `nigiri-sys` crate provides the raw, unsafe bindings, while the `motis-nigiri` crate in the root of this repository provides a safe wrapper with an abstracted API.\n\n## Building\nIt is currently not possible to completely build these crates in the Cargo build lifecycle. You will need Docker and/or the necessary build dependencies installed locally.\n\n1. Run `nigiri-sys/build-docker.sh` once. This currently probably only works on Linux. For other platforms, adapt the `nigiri-sys/build-docker.sh` or try to run `nigiri-sys/build.sh` directly on your machine. If you already have `nigiri` checked out on your machine, before running, you may want to symlink it to the `nigiri-sys` directory or adapt the build script. Note that as long as patches to nigiri are not merged upstream, you should manually clone https://github.com/traines-source/nigiri into `nigiri-sys/nigiri` and check out the `abi-journeys` branch. It will take some time to build `nigiri`.\n2. Afterwards, you should be able to build the Rust crates (`nigiri-sys` and `motis-nigiri`, which depends on the former) or depending crates as usual (`cargo build`). This requires glibc 2.34 and possibly some other C/C++ stdlib dependencies installed on your machine. Alternatively, you can run `build-docker.sh` in the root of this repository. \n\n## Using\nNote that when using the raw `nigiri-sys` bindings you must always call the respective `*_destroy_*` functions when done, otherwise memory will be leaked. When using `motis-nigiri`, this is done automatically when the respective structs are dropped.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraines-source%2Fmotis-nigiri-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftraines-source%2Fmotis-nigiri-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraines-source%2Fmotis-nigiri-rust/lists"}