{"id":16489805,"url":"https://github.com/aarkue/rust-bridge-template","last_synced_at":"2026-06-09T12:31:43.534Z","repository":{"id":212362164,"uuid":"731321711","full_name":"aarkue/rust-bridge-template","owner":"aarkue","description":"This repository serves as a template to easily start developing a shared library in Rust with bindings to Python and Java","archived":false,"fork":false,"pushed_at":"2024-02-07T13:27:56.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T04:26:57.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aarkue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2023-12-13T20:25:33.000Z","updated_at":"2024-10-28T02:54:36.000Z","dependencies_parsed_at":"2023-12-13T22:07:31.995Z","dependency_job_id":"114d52de-ac36-46f1-8bb7-0db11799f896","html_url":"https://github.com/aarkue/rust-bridge-template","commit_stats":null,"previous_names":["aarkue/rust-bridge-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/aarkue/rust-bridge-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarkue%2Frust-bridge-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarkue%2Frust-bridge-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarkue%2Frust-bridge-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarkue%2Frust-bridge-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aarkue","download_url":"https://codeload.github.com/aarkue/rust-bridge-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarkue%2Frust-bridge-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34107865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-10-11T13:45:28.390Z","updated_at":"2026-06-09T12:31:43.518Z","avatar_url":"https://github.com/aarkue.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Bridge Template\n\nThis repository serves as a template to easily start developing a shared library in __Rust__ with __bindings__ to __Python__ and __Java__.\n\n\n## Getting Started\n1. Clone this repository template\n2. Install Rust (see https://www.rust-lang.org/tools/install and https://www.rust-lang.org/learn/get-started)\n3. Build all Rust projects parts by executing `cargo build --release`\n4. Try running any of the sample programs or bindings listed below\n\n\n## Parts \u0026 How to Run them\n- `main_library` is the main Rust library with all the shared functionality\n  - This library is used and automatically compiled in any of the following use cases\n  - You can also compile it manually by navigating to `main_library/` and executing `cargo build --release`\n- `executable` is a Rust binary (meaning it can be executed directly)\n  - Navigating to the `executable/` directory and running `cargo run --release`\n- `java_bridge` is a Rust library with Java bindings. It can be used from Java programs using JNI.\n  - Navigate to the `java_bridge/` directory, build the library using `cargo build --release`\n  - Next, enter the `java_wrapper/` subdirectory and run `javac RustBridge.java`\n  - Finally, run `java -Djava.library.path=../../target/release/ RustBridge` to execute the compiled Java program \n- `python_bridge` is a Rust library with Python bindings. It can be used to easily create a Python package with native Rust parts\n  - Navigate to the `python_bridge/` directory, create a virtual environment (e.g., `python -m venv .env`) and activate it\n  - Install `maturin` (https://www.maturin.rs/) in this environment (`pip install maturin`)\n  - Finally, develop build and install the python library using `maturin develop --release` and then execute the `test.py` file using `python ./python_wrapper/test.py`\n\n## LICENSE\nThis project is licensed under either Apache License Version 2.0 or MIT License at your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faarkue%2Frust-bridge-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faarkue%2Frust-bridge-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faarkue%2Frust-bridge-template/lists"}