{"id":16839076,"url":"https://github.com/fathyb/po6","last_synced_at":"2025-03-18T03:44:56.663Z","repository":{"id":192502731,"uuid":"686856460","full_name":"fathyb/po6","owner":"fathyb","description":"A C POSIX library in Rust","archived":false,"fork":false,"pushed_at":"2023-09-06T10:30:58.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T15:51:49.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/fathyb.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}},"created_at":"2023-09-04T05:06:11.000Z","updated_at":"2023-10-26T05:59:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"679ad2ea-0ccb-48fe-a14b-29661a2cea1c","html_url":"https://github.com/fathyb/po6","commit_stats":null,"previous_names":["fathyb/po6"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fathyb%2Fpo6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fathyb%2Fpo6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fathyb%2Fpo6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fathyb%2Fpo6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fathyb","download_url":"https://codeload.github.com/fathyb/po6/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244153308,"owners_count":20406996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-13T12:28:45.446Z","updated_at":"2025-03-18T03:44:56.644Z","avatar_url":"https://github.com/fathyb.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `po6`\n\nA C POSIX library in Rust meant for building C libraries in environments\nwithout one (eg. `wasm32-unknown-unknown` or Windows).\n\nMakes it possibles to build C libraries with `wasm-bindgen`, which is not\ncompatible with `emscripten`.\n\n## Usage\n\n1. Install it to your `build-dependencies`:\n   ```console\n   $ cargo add po6 --build\n   ```\n2. Use it in your `build.rs` by adding the output of `po6::build` to your include paths:\n   ```rust\n   cc::Build::new()\n     .includes(po6::build()?)\n   ```\n3. Use it in your `lib.rs` by including the generated runtime file:\n   ```rust\n   mod po6 {\n     include!(concat!(env!(\"OUT_DIR\"), \"/po6.rs\"));\n   }\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffathyb%2Fpo6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffathyb%2Fpo6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffathyb%2Fpo6/lists"}