{"id":51082994,"url":"https://github.com/kanutocd/hello_rusty_world","last_synced_at":"2026-06-23T20:00:54.968Z","repository":{"id":362206536,"uuid":"1257832969","full_name":"kanutocd/hello_rusty_world","owner":"kanutocd","description":"A Hello World ruby gem with rust extension example","archived":false,"fork":false,"pushed_at":"2026-06-03T04:52:06.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-03T06:25:35.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/kanutocd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2026-06-03T03:41:16.000Z","updated_at":"2026-06-03T04:52:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kanutocd/hello_rusty_world","commit_stats":null,"previous_names":["kanutocd/hello_rusty_world"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/kanutocd/hello_rusty_world","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanutocd%2Fhello_rusty_world","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanutocd%2Fhello_rusty_world/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanutocd%2Fhello_rusty_world/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanutocd%2Fhello_rusty_world/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kanutocd","download_url":"https://codeload.github.com/kanutocd/hello_rusty_world/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanutocd%2Fhello_rusty_world/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34704748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-23T20:00:53.182Z","updated_at":"2026-06-23T20:00:54.952Z","avatar_url":"https://github.com/kanutocd.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HelloRustyWorld\n\nHelloRustyWorld is a tiny Ruby gem with a Rust native extension.\n\nThe project goal is to make native gem development stupidly boring for two\ngroups:\n\n- Contributors get one setup command, one local check command, and one explicit\n  cross-compilation check that leaves native gems in `pkg/`.\n- Gem consumers get normal RubyGems installs backed by precompiled native gems,\n  so they should not need Rust, Cargo, or a compiler for supported platforms.\n\nThe Ruby surface lives in `lib/hello_rusty_world`. The Rust extension lives in\n`ext/hello_rusty_world`.\n\n## Installation\n\nTODO: Replace `hello_rusty_world` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.\n\nInstall the gem and add to the application's Gemfile by executing:\n\n```bash\nbundle add hello_rusty_world\n```\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n```bash\ngem install hello_rusty_world\n```\n\n## Usage\n\n```ruby\nrequire \"hello_rusty_world\"\n\nHelloRustyWorld.hello(\"world\")\n#=\u003e \"Hello world, from Rust!\"\n```\n\n## Development\n\nAfter checking out the repo, run:\n\n```bash\nbin/setup\n```\n\nThat installs Ruby dependencies and fetches Cargo dependencies.\n\nFor the normal development loop, run:\n\n```bash\nbin/dev-check\n```\n\nThis compiles the Rust extension, runs the RSpec suite, and runs RuboCop through\nthe default `rake` task.\n\nFor just the native gem package on the current platform, run:\n\n```bash\nbin/dev-check-native\n```\n\nFor the full cross-compiled native gem matrix, run:\n\n```bash\nbin/dev-check-cross\n```\n\nThat builds the source gem plus cross-compiled native gems into `pkg/`. Seeing\nthese platform gems there is the success condition for native packaging:\n\n- `hello_rusty_world-*-x86_64-linux.gem`\n- `hello_rusty_world-*-aarch64-linux.gem`\n- `hello_rusty_world-*-x86_64-darwin.gem`\n- `hello_rusty_world-*-arm64-darwin.gem`\n- `hello_rusty_world-*-x64-mingw-ucrt.gem`\n\nThe task uses the `rake native` tasks created by `RbSys::ExtensionTask` inside\n`rb-sys-dock`/`rake-compiler-dock` containers, so Docker is required.\n\nYou can also run the individual tasks directly:\n\n```bash\nbundle exec rake compile\nbundle exec rake spec\nbundle exec rake rubocop\n```\n\nThe GitHub Actions release workflow builds the source gem and the native gem\nmatrix. Local development should stay focused on `bin/dev-check` unless you are\nchanging native packaging behavior.\n\nUse `bin/console` for an interactive prompt that loads the gem.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/kanutocd/hello_rusty_world. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/kanutocd/hello_rusty_world/blob/main/CODE_OF_CONDUCT.md).\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the HelloRustyWorld project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/kanutocd/hello_rusty_world/blob/main/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanutocd%2Fhello_rusty_world","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanutocd%2Fhello_rusty_world","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanutocd%2Fhello_rusty_world/lists"}