{"id":17469759,"url":"https://github.com/shellrow/privilege","last_synced_at":"2025-04-21T12:38:11.750Z","repository":{"id":174113221,"uuid":"651793550","full_name":"shellrow/privilege","owner":"shellrow","description":"Cross-platform library for administrative permission handling. Written in Rust.","archived":false,"fork":false,"pushed_at":"2023-08-06T08:47:28.000Z","size":32,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-20T00:55:34.699Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shellrow.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-06-10T05:40:09.000Z","updated_at":"2024-04-22T15:45:19.000Z","dependencies_parsed_at":"2025-03-03T07:42:20.385Z","dependency_job_id":null,"html_url":"https://github.com/shellrow/privilege","commit_stats":null,"previous_names":["shellrow/privilege"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fprivilege","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fprivilege/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fprivilege/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fprivilege/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shellrow","download_url":"https://codeload.github.com/shellrow/privilege/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249834786,"owners_count":21331988,"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-18T15:43:42.909Z","updated_at":"2025-04-20T00:55:39.945Z","avatar_url":"https://github.com/shellrow.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[crates-badge]: https://img.shields.io/crates/v/privilege.svg\n[crates-url]: https://crates.io/crates/privilege\n[license-badge]: https://img.shields.io/crates/l/privilege.svg\n[examples-url]: https://github.com/shellrow/privilege/tree/main/examples\n# privilege [![Crates.io][crates-badge]][crates-url] ![License][license-badge]\nCross-platform library for administrative permission handling.\n\n## Features\n- Check Administrative Permissions: Easily determine if the current process has administrative or root permissions.\n- Execute Commands with Administrative Privileges: Run commands with elevated permissions, ensuring secure and proper execution of critical operations.\n\n## Supported platform\n- Linux\n- macOS\n- Windows\n\n## Usage\nAdd `privilege` to your dependencies  \n```toml:Cargo.toml\n[dependencies]\nprivilege = \"0.3\"\n```\n\nFor more details, see [examples][examples-url] or doc.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshellrow%2Fprivilege","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshellrow%2Fprivilege","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshellrow%2Fprivilege/lists"}