{"id":21207303,"url":"https://github.com/cacilhas/resolution","last_synced_at":"2025-05-07T23:07:38.668Z","repository":{"id":167744665,"uuid":"643371775","full_name":"cacilhas/resolution","owner":"cacilhas","description":"crate to retrieve screen resolution/dimensions on Linux, macOS, and Windows","archived":false,"fork":false,"pushed_at":"2025-03-11T18:25:27.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T23:07:33.112Z","etag":null,"topics":[],"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/cacilhas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"COPYING","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-05-21T00:12:35.000Z","updated_at":"2025-03-11T18:25:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"fcd09077-8d20-4213-ac1e-5bf7e1df02e8","html_url":"https://github.com/cacilhas/resolution","commit_stats":null,"previous_names":["cacilhas/resolution"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cacilhas%2Fresolution","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cacilhas%2Fresolution/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cacilhas%2Fresolution/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cacilhas%2Fresolution/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cacilhas","download_url":"https://codeload.github.com/cacilhas/resolution/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252968117,"owners_count":21833251,"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-11-20T20:58:23.412Z","updated_at":"2025-05-07T23:07:38.645Z","avatar_url":"https://github.com/cacilhas.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[COPYING]: https://github.com/cacilhas/resolution/blob/master/COPYING\n[The 3-Clause BSD License]: https://opensource.org/licenses/BSD-3-Clause\n\n# Resolution\n\nCrate to retrieve screen resolution/dimensions on Linux, macOS, and Windows.\n\n## Rational\n\nI have rewrite this same code so many times that it justifies existing.\n\n## Install\n\n```sh\ncargo add resolution\n```\n\n## Interface\n\n- `resolution::current_resolution() -\u003e Result\u003c(i32, i32), resolution::ResolutionError\u003e`\n\nIt receives no parameter and returns current screen’s `(width, height)`.\n\n## License\n\n- [COPYING][]\n- [The 3-Clause BSD License][]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcacilhas%2Fresolution","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcacilhas%2Fresolution","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcacilhas%2Fresolution/lists"}