{"id":16866967,"url":"https://github.com/webern/rs_poc_wrapper","last_synced_at":"2025-03-18T17:49:48.643Z","repository":{"id":88144444,"uuid":"559437350","full_name":"webern/rs_poc_wrapper","owner":"webern","description":"A proof of concept of a trait for use in the Bottlerocket model","archived":false,"fork":false,"pushed_at":"2022-11-03T16:59:13.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-24T21:25:10.915Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webern.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":"2022-10-30T05:22:38.000Z","updated_at":"2023-03-08T16:23:18.000Z","dependencies_parsed_at":"2023-07-23T19:46:30.948Z","dependency_job_id":null,"html_url":"https://github.com/webern/rs_poc_wrapper","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/webern%2Frs_poc_wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webern%2Frs_poc_wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webern%2Frs_poc_wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webern%2Frs_poc_wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webern","download_url":"https://codeload.github.com/webern/rs_poc_wrapper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244273968,"owners_count":20427024,"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-13T14:52:16.849Z","updated_at":"2025-03-18T17:49:48.619Z","avatar_url":"https://github.com/webern.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Wrapped\n\nThis is prep work for fixing Bottlerocket https://github.com/bottlerocket-os/bottlerocket/issues/2257.\nIn this POC I've demonstrated for myself a way to use a `Wrapped` trait to represent what is currently always...\n\n```rust\nstruct Something {\n    inner: String\n}\n```\n\n...in Bottlerocket.\n\nThe idea is to replace `String` with any type `T` (with some trait bounds).\n\nCurrently, I do the \"impls\" with macro_rules because that is *way* easier than a procedural macro.\n\nAlso, there are some follow-ups, like getting `AsRef\u003cstr\u003e` to work when the inner type is `AsRef\u003cstr\u003e`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebern%2Frs_poc_wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebern%2Frs_poc_wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebern%2Frs_poc_wrapper/lists"}