{"id":33936654,"url":"https://github.com/ryanfowler/cgo-rs","last_synced_at":"2026-04-07T15:31:20.811Z","repository":{"id":172922896,"uuid":"649772599","full_name":"ryanfowler/cgo-rs","owner":"ryanfowler","description":"A library to compile Go into a Rust library or application","archived":false,"fork":false,"pushed_at":"2025-08-07T13:41:41.000Z","size":27,"stargazers_count":8,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-14T02:29:45.472Z","etag":null,"topics":["build","cargo","cgo","cgo-rust","go","golang","rust"],"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/ryanfowler.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-06-05T15:46:12.000Z","updated_at":"2025-08-07T13:41:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"410f3f31-81ae-4bf7-89f2-6d64ca08177e","html_url":"https://github.com/ryanfowler/cgo-rs","commit_stats":null,"previous_names":["ryanfowler/cgo-rs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanfowler/cgo-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfowler%2Fcgo-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfowler%2Fcgo-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfowler%2Fcgo-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfowler%2Fcgo-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanfowler","download_url":"https://codeload.github.com/ryanfowler/cgo-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfowler%2Fcgo-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31518404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"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":["build","cargo","cgo","cgo-rust","go","golang","rust"],"created_at":"2025-12-12T14:27:54.139Z","updated_at":"2026-04-07T15:31:20.806Z","avatar_url":"https://github.com/ryanfowler.png","language":"Rust","readme":"# cgo-rs\n\n[![](https://img.shields.io/crates/v/cgo.svg)](https://crates.io/crates/cgo)\n\nA library for build scripts to compile custom Go code, inspired by the\nexcellent [cc](https://docs.rs/cc/latest/cc) crate.\n\nIt is intended that you use this library from within your `build.rs` file by\nadding the cgo crate to your [`build-dependencies`](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#build-dependencies):\n\n```toml\n[build-dependencies]\ncgo = \"*\"\n```\n\n# Examples\n\nThe following example will statically compile the Go package and instruct\ncargo to link the resulting library (`libexample`).\n\n```rust\nfn main() {\n    cgo::Build::new()\n        .package(\"pkg/example/main.go\")\n        .build(\"example\");\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanfowler%2Fcgo-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanfowler%2Fcgo-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanfowler%2Fcgo-rs/lists"}