{"id":19001665,"url":"https://github.com/ralfbiedert/interoptopus","last_synced_at":"2026-04-12T00:18:57.939Z","repository":{"id":37473687,"uuid":"376649929","full_name":"ralfbiedert/interoptopus","owner":"ralfbiedert","description":"Productive, performant, robust interop for Rust🐙","archived":false,"fork":false,"pushed_at":"2026-04-01T18:33:44.000Z","size":5495,"stargazers_count":458,"open_issues_count":11,"forks_count":42,"subscribers_count":8,"default_branch":"master","last_synced_at":"2026-04-02T05:04:55.984Z","etag":null,"topics":["csharp","ffi","rust"],"latest_commit_sha":null,"homepage":"https://interoptopus.rs","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/ralfbiedert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-06-13T22:13:10.000Z","updated_at":"2026-04-01T18:33:28.000Z","dependencies_parsed_at":"2024-08-15T08:39:31.799Z","dependency_job_id":"5dccd982-4fcf-46b5-9e5e-b7d52cff3ef8","html_url":"https://github.com/ralfbiedert/interoptopus","commit_stats":{"total_commits":634,"total_committers":19,"mean_commits":33.36842105263158,"dds":"0.13564668769716093","last_synced_commit":"937a45dc9a62c020f307963d1b4bc6b5ecff1af3"},"previous_names":[],"tags_count":671,"template":false,"template_full_name":null,"purl":"pkg:github/ralfbiedert/interoptopus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralfbiedert%2Finteroptopus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralfbiedert%2Finteroptopus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralfbiedert%2Finteroptopus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralfbiedert%2Finteroptopus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ralfbiedert","download_url":"https://codeload.github.com/ralfbiedert/interoptopus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralfbiedert%2Finteroptopus/sbom","scorecard":{"id":640996,"data":{"date":"2025-08-11","repo":{"name":"github.com/ralfbiedert/interoptopus","commit":"649de0cdaf49aa940bf0bca4ea333637cccb2bc6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":3,"reason":"Found 4/13 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-plz.yml:20","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-plz.yml:49","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release-plz.yml:5","Warn: no topLevel permission defined: .github/workflows/rust.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-plz.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/ralfbiedert/interoptopus/release-plz.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-plz.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/ralfbiedert/interoptopus/release-plz.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-plz.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/ralfbiedert/interoptopus/release-plz.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-plz.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/ralfbiedert/interoptopus/release-plz.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-plz.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/ralfbiedert/interoptopus/release-plz.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-plz.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/ralfbiedert/interoptopus/release-plz.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/ralfbiedert/interoptopus/rust.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/ralfbiedert/interoptopus/rust.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/ralfbiedert/interoptopus/rust.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/rust.yml:34","Warn: pipCommand not pinned by hash: .github/workflows/rust.yml:35","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T10:44:43.819Z","repository_id":37473687,"created_at":"2025-08-21T10:44:43.820Z","updated_at":"2025-08-21T10:44:43.820Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31554151,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["csharp","ffi","rust"],"created_at":"2024-11-08T18:12:16.522Z","updated_at":"2026-04-08T12:04:48.509Z","avatar_url":"https://github.com/ralfbiedert.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![crates.io-badge]][crates.io-url]\n[![docs.rs-badge]][docs.rs-url]\n![license-badge]\n[![rust-version-badge]][rust-version-url]\n[![rust-build-badge]][rust-build-url]\n\n# Interoptopus 🐙\n\nProductive, performant, robust interop for Rust. Pick three.\n\n\nWith Interoptopus you can write code like this:\n\n```rust,ignore\n#[ffi(service)]\npub struct Hello {}\n\n#[ffi]\nimpl Hello {\n    pub fn world() -\u003e Result\u003cSelf, Error\u003e { Ok(Self {}) }\n}\n```\n\nand then call it from your other language like this:\n\n```csharp\nvar service = Hello.World();\n```\n\nIts key features include:\n- Nanosecond fast.\n- Supports structs, data-enums, callbacks, services, async, idiomatic error handling, and much more ...\n- Bidirectional interop, export your Rust library, or load foreign code into your Rust app. \n- Painless workflow, no external tooling required.\n- Polyglot core, first-class support for C#, can support any other language.\n\n\n## Getting Started \n\nRead our [documentation here](https://interoptopus.rs/docs).\n\n## Feature Flags\n\nGated behind **feature flags**, these enable:\n\n- `macros` - Proc macros such as `#[ffi]`.\n- `serde` - Serde attributes on internal types.\n- `tokio` - Convenience support for async services via Tokio.\n- `unstable-plugins` - Experimental 'reverse interop' plugins. Not semver stable!\n\n\n## Supported Languages\n\n| Language | Backend Crate                                    |  Status |\n|----------|--------------------------------------------------|---------|\n| C#       | [**interoptopus_csharp**][interoptopus_csharp]   |  ✅     |\n| C        | [**interoptopus_c**][interoptopus_c]             |  ⏯️     |\n| Python   | [**interoptopus_cpython**][interoptopus_cpython] |  ⏯️     |\n| Other    | Write your own backend\u003csup\u003e1\u003c/sup\u003e               |   |\n\n\u003csup\u003e✅\u003c/sup\u003e Tier 1 target. Active maintenance and production use. Full support of all features.\u003cbr/\u003e\n\u003csup\u003e⏯️\u003c/sup\u003e Tier 2 target. Currently suspended, contributors wanted!\u003cbr/\u003e\n\u003csup\u003e1\u003c/sup\u003e You can implement basic support for a new language in just a few hours, no pull request needed.\u003cbr/\u003e\n\n\n## Performance\n\nIn essence, plain calls are near-zero overhead (1-10ns), as are most structs, enums and services. If serialization is involved it scales with payload size. Using the .NET runtime as a plugin adds ~20 MB overhead.  \n\nFor more details see [our benchmark numbers here](https://interoptopus.rs/benchmarks).\n\n\n\n## Further Reading\n\n- See our [changelog](https://interoptopus.rs/changelog).\n- Read the [FAQ](https://interoptopus.rs/faq).\n\n\n## Contributing\n\nPRs are very welcome!\n\n- Submit small bug fixes directly. Major changes should be issues first.\n- New features or patterns must be materialized in the reference project and accompanied by\n  at least a C# interop test.\n\n[crates.io-badge]: https://img.shields.io/crates/v/interoptopus.svg\n[crates.io-url]: https://crates.io/crates/interoptopus\n[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg\n[docs.rs-badge]: https://docs.rs/interoptopus/badge.svg\n[docs.rs-url]: https://docs.rs/interoptopus/\n[rust-version-badge]: https://img.shields.io/badge/rust-1.93%2B-blue.svg?maxAge=3600\n[rust-version-url]: https://github.com/ralfbiedert/interoptopus\n[rust-build-badge]: https://github.com/ralfbiedert/interoptopus/actions/workflows/rust.yml/badge.svg\n[rust-build-url]: https://github.com/ralfbiedert/interoptopus/actions/workflows/rust.yml\n[interoptopus_csharp]: https://crates.io/crates/interoptopus_csharp\n[interoptopus_c]: https://crates.io/crates/interoptopus_backend_c\n[interoptopus_cpython]: https://crates.io/crates/interoptopus_backend_cpython\n[interop-cs]: https://github.com/ralfbiedert/interoptopus/blob/master/tests/tests/csharp_reference_project/Interop.cs\n[reference-project]: https://github.com/ralfbiedert/interoptopus/tree/master/crates/reference_project/src\n[new-backends]: https://github.com/ralfbiedert/interoptopus/blob/master/FAQ.md#new-backends\n[hello-world]: https://github.com/ralfbiedert/interoptopus/tree/master/examples/hello_world\n[real-project-layout]: https://github.com/ralfbiedert/interoptopus/tree/master/examples/production_project\n[backend-c]: https://github.com/ralfbiedert/interoptopus/tree/master/crates/backend_c\n[ref-functions]: https://github.com/ralfbiedert/interoptopus/tree/master/crates/reference_project/src/functions\n[ref-types]: https://github.com/ralfbiedert/interoptopus/tree/master/crates/reference_project/src/types\n[ref-constants]: https://github.com/ralfbiedert/interoptopus/tree/master/crates/reference_project/src/constants.rs\n[ref-patterns]: https://github.com/ralfbiedert/interoptopus/tree/master/crates/reference_project/src/patterns\n[ref-services]: https://github.com/ralfbiedert/interoptopus/tree/master/crates/reference_project/src/services\n[csharp-benchmarks]: https://github.com/ralfbiedert/interoptopus/blob/master/tests/tests/csharp_benchmarks/RESULTS.md\n[cpython-benchmarks]: https://github.com/ralfbiedert/interoptopus/blob/master/tests/tests/cpython_benchmarks/RESULTS.md\n[csharp-callbacks]: https://github.com/ralfbiedert/interoptopus/blob/master/tests/tests/csharp_reference_project/Test.Pattern.Callbacks.cs\n[log-crate]: https://crates.io/crates/log\n[upgrade-instructions]: https://github.com/ralfbiedert/interoptopus/blob/master/UPGRADE_INSTRUCTIONS.md\n[faq]: https://github.com/ralfbiedert/interoptopus/blob/master/FAQ.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fralfbiedert%2Finteroptopus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fralfbiedert%2Finteroptopus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fralfbiedert%2Finteroptopus/lists"}