{"id":16703523,"url":"https://github.com/kurtbuilds/implicit-trait","last_synced_at":"2026-06-23T12:04:50.084Z","repository":{"id":65538271,"uuid":"594285094","full_name":"kurtbuilds/implicit-trait","owner":"kurtbuilds","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-28T15:25:15.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-19T13:31:40.219Z","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/kurtbuilds.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}},"created_at":"2023-01-28T03:50:27.000Z","updated_at":"2023-01-28T04:41:58.000Z","dependencies_parsed_at":"2023-02-15T17:16:08.746Z","dependency_job_id":null,"html_url":"https://github.com/kurtbuilds/implicit-trait","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kurtbuilds/implicit-trait","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurtbuilds%2Fimplicit-trait","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurtbuilds%2Fimplicit-trait/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurtbuilds%2Fimplicit-trait/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurtbuilds%2Fimplicit-trait/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kurtbuilds","download_url":"https://codeload.github.com/kurtbuilds/implicit-trait/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurtbuilds%2Fimplicit-trait/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34686748,"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":"2024-10-12T19:08:37.125Z","updated_at":"2026-06-23T12:04:50.062Z","avatar_url":"https://github.com/kurtbuilds.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `implicit-trait`\n\nCreate implicit traits to add methods to existing types.\n\n```rust\nuse implicit_trait::implicit_trait;\n\n// Assume Foo is from another crate, so we can't implement methods on it.\npub struct Foo {\n    pub bar: i32,\n    pub baz: String,\n}\n\n// Define new methods on Foo\n#[implicit_trait]\nimpl FooExt for Foo {\n    fn bar(\u0026self) -\u003e i32 {\n        self.bar\n    }\n\n    fn baz(\u0026self) -\u003e \u0026str {\n        \u0026self.baz\n    }\n}\n\n// Use the new methods\nfn main() {\n    let foo = Foo {\n        bar: 42,\n        baz: \"hello\".to_string(),\n    };\n    assert_eq!(foo.bar(), 42);\n    assert_eq!(foo.baz(), \"hello\");\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkurtbuilds%2Fimplicit-trait","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkurtbuilds%2Fimplicit-trait","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkurtbuilds%2Fimplicit-trait/lists"}