{"id":34856713,"url":"https://github.com/untrustedmodders/plugify-module-rust","last_synced_at":"2026-01-13T19:32:48.322Z","repository":{"id":328533879,"uuid":"1111985714","full_name":"untrustedmodders/plugify-module-rust","owner":"untrustedmodders","description":"Rust Language Module","archived":false,"fork":false,"pushed_at":"2025-12-13T19:39:40.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-15T14:33:26.078Z","etag":null,"topics":["language-module","plugify","plugify-module","rust","rust-lang"],"latest_commit_sha":null,"homepage":"","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/untrustedmodders.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-08T01:34:35.000Z","updated_at":"2025-12-13T19:39:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/untrustedmodders/plugify-module-rust","commit_stats":null,"previous_names":["untrustedmodders/plugify-module-rust"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/untrustedmodders/plugify-module-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untrustedmodders%2Fplugify-module-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untrustedmodders%2Fplugify-module-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untrustedmodders%2Fplugify-module-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untrustedmodders%2Fplugify-module-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/untrustedmodders","download_url":"https://codeload.github.com/untrustedmodders/plugify-module-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untrustedmodders%2Fplugify-module-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28397826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: 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":["language-module","plugify","plugify-module","rust","rust-lang"],"created_at":"2025-12-25T20:03:29.786Z","updated_at":"2026-01-13T19:32:48.317Z","avatar_url":"https://github.com/untrustedmodders.png","language":"Rust","readme":"[![Русский](https://img.shields.io/badge/Русский-%F0%9F%87%B7%F0%9F%87%BA-green?style=for-the-badge)](README_ru.md)\n\n# Rust Language Module for Plugify\n\nThe Rust Language Module for Plugify enables developers to write plugins in Rust for the Plugify framework. This module provides a seamless integration for Rust plugins, allowing them to be dynamically loaded and managed by the Plugify core.\n\n## Features\n\n- **Rust Plugin Support**: Write your plugins in Rust and integrate them effortlessly with the Plugify framework.\n- **Automatic Exporting**: Easily export and import methods between plugins and the language module.\n- **Initialization and Cleanup**: Handle plugin initialization, startup, and cleanup with dedicated module events.\n- **Interoperability**: Communicate with plugins written in other languages through auto-generated interfaces.\n\n## Getting Started\n\n### Prerequisites\n\n- Rust Compiler\n- Plugify Framework Installed\n\n### Installation\n\n#### Option 1: Install via Plugify Plugin Manager\n\nYou can install the C++ Language Module using the Mamba package manager by running the following command:\n\n```bash\nmamba install -n your_env_name -c https://untrustedmodders.github.io/plugify-module-rust/ plugify-module-rust\n```\n\n#### Option 2: Manual Installation\n\n1. Install dependencies:  \n\n   a. Windows\n   \u003e Setting up [CMake tools with Visual Studio Installer](https://learn.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio#installation)\n\n   b. Linux:\n   ```sh\n   sudo apt-get install -y build-essential cmake ninja-build\n   ```\n   \n   c. Mac:\n   ```sh\n   brew install cmake ninja\n   ```\n\n2. Clone this repository:\n\n    ```bash\n    git clone https://github.com/untrustedmodders/plugify-module-rust.git --recursive\n    cd plugify-module-rust\n    ```\n\n3. Build the Rust language module:\n\n    ```bash\n    mkdir build \u0026\u0026 cd build\n    cmake ..\n    cmake --build .\n    ```\n\n### Usage\n\n1. **Integration with Plugify**\n\n   Ensure that your Rust language module is available in the same directory as your Plugify setup.\n\n2. **Write Rust Plugins**\n\n   Develop your plugins in Rust using the Plugify Rust API. Refer to the [Plugify Rust Plugin Guide](https://untrustedmodders.github.io/languages/rust/first-plugin) for detailed instructions.\n\n3. **Build and Install Plugins**\n\n   Compile your Rust plugins and place the shared libraries in a directory accessible to the Plugify core.\n\n4. **Run Plugify**\n\n   Start the Plugify framework, and it will dynamically load your Rust plugins.\n\n## Example\n\n### Initialize your module\n\n```sh\ncargo new my-rust-plugin\n```\n\n### Specify cdylib crate type\n\n```toml\n[lib]\ncrate-type = [\"cdylib\"]\n```\n\n### Get the rust-plugify module\n\nNote that you need to include the v in the version tag.\n\n```toml\n[dependencies]\nplugify = { git = \"https://github.com/untrustedmodders/rust-plugify\" }\n```\n\n```rust\nuse plugify::{register_plugin};\n\nfn on_plugin_start() {\n    println!(\"Rust: on_plugin_start\")\n}\n\nfn on_plugin_update(_dt: f32) {\n    println!(\"Rust: on_plugin_update\")\n}\n\nfn on_plugin_end() {\n    println!(\"Rust: on_plugin_end\")\n}\n\nregister_plugin!(\n    start: on_plugin_start,\n    update: on_plugin_update,\n    end: on_plugin_end\n);\n```\n\n## Documentation\n\nFor comprehensive documentation on writing plugins in Rust using the Plugify framework, refer to the [Plugify Documentation](https://untrustedmodders.github.io).\n\n## Contributing\n\nFeel free to contribute by opening issues or submitting pull requests. We welcome your feedback and ideas!\n\n## License\n\nThis Rust Language Module for Plugify is licensed under the [MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funtrustedmodders%2Fplugify-module-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funtrustedmodders%2Fplugify-module-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funtrustedmodders%2Fplugify-module-rust/lists"}