{"id":19212442,"url":"https://github.com/fasterthanlime/whatever","last_synced_at":"2025-05-12T20:39:59.499Z","repository":{"id":66881817,"uuid":"381438980","full_name":"fasterthanlime/whatever","owner":"fasterthanlime","description":"Rust / C / Cgo example","archived":false,"fork":false,"pushed_at":"2021-06-29T17:05:31.000Z","size":1262,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T03:13:25.835Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fasterthanlime.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-06-29T17:02:48.000Z","updated_at":"2022-06-21T16:38:11.000Z","dependencies_parsed_at":"2023-02-23T14:16:00.003Z","dependency_job_id":null,"html_url":"https://github.com/fasterthanlime/whatever","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasterthanlime%2Fwhatever","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasterthanlime%2Fwhatever/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasterthanlime%2Fwhatever/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasterthanlime%2Fwhatever/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fasterthanlime","download_url":"https://codeload.github.com/fasterthanlime/whatever/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249933562,"owners_count":21347699,"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-11-09T13:47:01.002Z","updated_at":"2025-04-20T17:33:25.842Z","avatar_url":"https://github.com/fasterthanlime.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# whatever\n\n## How to build\n\n(This has been tested on Linux \u0026 macOS)\n\nBuild the Rust code:\n\n```shell\n$ cargo build\n```\n\nThe library is in `./target/debug/libwhatever.a`\n\nBuild the Go code:\n\n```shell\n$ cd go-code/\n$ go clean\n$ go build -v -x .\n```\n\nRun the Go code:\n\n```shell\n$ ./whatever\n```\n\nIt should print something like:\n\n```\n2021/06/29 19:01:51 Hello from Go\nHello from Rust or whatever. Your string is: The moonlight 🦜\n2021/06/29 19:01:51 Rust gave us this string: Yeah allocations, sure\n2021/06/29 19:01:51 Rust took back this string: P/, sure\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasterthanlime%2Fwhatever","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffasterthanlime%2Fwhatever","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasterthanlime%2Fwhatever/lists"}