{"id":42771200,"url":"https://github.com/kkew3/expose-shared-library","last_synced_at":"2026-01-29T21:44:19.756Z","repository":{"id":260564211,"uuid":"872184324","full_name":"kkew3/expose-shared-library","owner":"kkew3","description":"This crate expose rust shared library to python/lua.","archived":false,"fork":false,"pushed_at":"2025-02-17T00:39:13.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T01:19:47.047Z","etag":null,"topics":["lua","python"],"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/kkew3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-10-14T01:31:48.000Z","updated_at":"2025-02-17T00:39:17.000Z","dependencies_parsed_at":"2024-11-01T03:25:02.413Z","dependency_job_id":"1dc21e76-2bcf-468d-945a-488e46af0c4e","html_url":"https://github.com/kkew3/expose-shared-library","commit_stats":null,"previous_names":["kkew3/manual-build-pyo3"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/kkew3/expose-shared-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkew3%2Fexpose-shared-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkew3%2Fexpose-shared-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkew3%2Fexpose-shared-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkew3%2Fexpose-shared-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkew3","download_url":"https://codeload.github.com/kkew3/expose-shared-library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkew3%2Fexpose-shared-library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28886617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T21:06:44.224Z","status":"ssl_error","status_checked_at":"2026-01-29T21:06:42.160Z","response_time":59,"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":["lua","python"],"created_at":"2026-01-29T21:44:19.682Z","updated_at":"2026-01-29T21:44:19.740Z","avatar_url":"https://github.com/kkew3.png","language":"Rust","readme":"# expose-shared-library\n\n[![ci](https://github.com/kkew3/expose-shared-library/actions/workflows/ci.yml/badge.svg)](https://github.com/kkew3/expose-shared-library/actions/workflows/ci.yml)\n\nThe crate originally intended to simplify manual build of pyo3 without [`maturin`][maturin], which can be useful in various circumstances.\nNow it serves to expose the shared library to both python and lua.\n\n## Functions\n\nOnly one function is provided: `expose_shared_library`.\nThis function exposes the rust shared library to python/lua side according to [pyo3 doc][pyo3-doc].\n\nFor usage, please refer to [`examples/mixed-rust-python-project/build.rs`](./examples/mixed-rust-python-project/build.rs) and [`examples/mixed-rust-lua-project/build.rs`](./examples/mixed-rust-lua-project/build.rs).\n\n## Installation\n\n```bash\ncargo add \\\n    --git https://github.com/kkew3/expose-shared-library.git \\\n    expose-shared-library \\\n    --tag 0.1.4 --build --features py\n```\n\nor\n\n```bash\ncargo add \\\n    --git https://github.com/kkew3/expose-shared-library.git \\\n    expose-shared-library \\\n    --tag 0.1.4 --build --features lua\n```\n\ndepending on the desired feature.\nOne of the features \"py\" or \"lua\" must be enabled, but not both.\n\n\n[maturin]: https://www.maturin.rs\n[pyo3-doc]: https://pyo3.rs/v0.22.2/building-and-distribution#manual-builds\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkew3%2Fexpose-shared-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkew3%2Fexpose-shared-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkew3%2Fexpose-shared-library/lists"}