{"id":17484684,"url":"https://github.com/ryanmcdermott/rules_cc_embed_data","last_synced_at":"2026-03-19T01:14:26.967Z","repository":{"id":189611251,"uuid":"680959187","full_name":"ryanmcdermott/rules_cc_embed_data","owner":"ryanmcdermott","description":"Bazel rule to generate C++ header files with embedded binary data","archived":false,"fork":false,"pushed_at":"2023-12-24T05:07:52.000Z","size":74,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-21T21:09:43.429Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Starlark","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/ryanmcdermott.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-08-21T00:19:47.000Z","updated_at":"2023-08-22T03:06:44.000Z","dependencies_parsed_at":"2023-08-21T01:43:43.392Z","dependency_job_id":"3c42831c-8687-4dd6-85fd-a39898f2023f","html_url":"https://github.com/ryanmcdermott/rules_cc_embed_data","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"5f3c09bfd4af01fd1b6f1a2e25015b6aa6f98784"},"previous_names":["ryanmcdermott/rules_cc_embed_data"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Frules_cc_embed_data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Frules_cc_embed_data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Frules_cc_embed_data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Frules_cc_embed_data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanmcdermott","download_url":"https://codeload.github.com/ryanmcdermott/rules_cc_embed_data/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246045171,"owners_count":20714723,"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-19T01:05:17.404Z","updated_at":"2026-01-06T19:42:48.756Z","avatar_url":"https://github.com/ryanmcdermott.png","language":"Starlark","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rules_cc_embed_data\n\nBazel rule to generate C++ header files with embedded binary data.\n\n## Pre-Requisites\n\n* Bazel 6.0.0 or higher.\n* C++ Compiler.\n* Linux. _This rule has not been tested on other operating systems._\n\n## Usage\n\n### Workspace\n\n```\nload(\"@bazel_tools//tools/build_defs/repo:http.bzl\", \"http_archive\")\nhttp_archive(\n    name = \"rules_cc_embed_data\",\n    strip_prefix = \"rules_cc_embed_data-0.1.0\",\n    urls = [\"https://github.com/ryanmcdermott/rules_cc_embed_data/archive/refs/tags/0.1.0.tar.gz\"],\n)\n```\n\n### BUILD file\n\n```\nload(\"@rules_cc_embed_data/cc_embed_data:defs.bzl\", \"embed_data\")\n\nembed_data(\n    name = \"example_texts\",\n    srcs = [\"example1.txt\", \"example2.txt\"],\n    visibility = [\"//visibility:public\"],\n)\n```\n\n## Example\n\nSee `examples` directory in this repo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanmcdermott%2Frules_cc_embed_data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanmcdermott%2Frules_cc_embed_data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanmcdermott%2Frules_cc_embed_data/lists"}