{"id":22430715,"url":"https://github.com/drewcrawford/coregraphicsr","last_synced_at":"2026-04-27T23:39:12.403Z","repository":{"id":136803402,"uuid":"420509365","full_name":"drewcrawford/coregraphicsr","owner":"drewcrawford","description":"Rust bindings for Core Graphics","archived":false,"fork":false,"pushed_at":"2024-10-23T21:09:01.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-09T00:35:33.840Z","etag":null,"topics":["core-graphics","macos","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drewcrawford.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-10-23T19:53:13.000Z","updated_at":"2024-10-27T23:36:01.000Z","dependencies_parsed_at":"2024-07-16T01:45:08.430Z","dependency_job_id":null,"html_url":"https://github.com/drewcrawford/coregraphicsr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drewcrawford/coregraphicsr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewcrawford%2Fcoregraphicsr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewcrawford%2Fcoregraphicsr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewcrawford%2Fcoregraphicsr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewcrawford%2Fcoregraphicsr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drewcrawford","download_url":"https://codeload.github.com/drewcrawford/coregraphicsr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewcrawford%2Fcoregraphicsr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32360116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["core-graphics","macos","rust-lang"],"created_at":"2024-12-05T21:09:13.593Z","updated_at":"2026-04-27T23:39:12.374Z","avatar_url":"https://github.com/drewcrawford.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Provides select Rust bindings for Apple [Core Graphics](https://developer.apple.com/documentation/coregraphics).  May be compared to [objrs_frameworks_core_graphics](https://crates.io/crates/objrs_frameworks_core_graphics)\nand [core-graphics](https://crates.io/crates/core-graphics).\n\nPart of the [objr expanded universe](https://github.com/drewcrawford/objr#objr-expanded-universe), distinctive features of coregraphicsr:\n\n* Zero-cost abstractions.  Calling this library should perform identically to calling CoreGraphics from Swift/ObjC applications.\n    * Most of the magic happens in [objr](https://github.com/drewcrawford/objr)\n      which provide cutting-edge high-performance primitives which are used here extensively.\n* Safe APIs.  Where possible APIs are designed with safe abstractions to provide familiar guarantees to Rust developers\n* Low-level.  These bindings assume familiarity with bound APIs and are not documented separately.\n* Free for noncommercial or \"small commercial\" use.\n\n# Status\nThe following APIs are implemented\n* CGPoint, CGFloat, CGSize, and CGRect\n* CGColor (greyscale only currently)\n* CGDirectDisplayID\n* CGColorSpace\n* CGImageAlphaInfo\n* CGContext, CGBitmapContext\n* CGDataProvider, CGDataProviderCreateDirect\n* CGImage","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewcrawford%2Fcoregraphicsr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrewcrawford%2Fcoregraphicsr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewcrawford%2Fcoregraphicsr/lists"}