{"id":17694432,"url":"https://github.com/finefindus/udisks-rs","last_synced_at":"2025-05-13T03:39:20.993Z","repository":{"id":194286140,"uuid":"690222533","full_name":"FineFindus/udisks-rs","owner":"FineFindus","description":"Unofficial Rust crate for UDisks2","archived":false,"fork":false,"pushed_at":"2025-03-30T16:28:39.000Z","size":1160,"stargazers_count":7,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-30T06:49:13.250Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crates.io/crates/udisks2","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FineFindus.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-09-11T19:17:53.000Z","updated_at":"2025-04-23T03:28:02.000Z","dependencies_parsed_at":"2024-02-19T21:34:50.987Z","dependency_job_id":"8c07246c-43c9-42fa-b030-47a639203107","html_url":"https://github.com/FineFindus/udisks-rs","commit_stats":null,"previous_names":["finefindus/udisks-rs"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FineFindus%2Fudisks-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FineFindus%2Fudisks-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FineFindus%2Fudisks-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FineFindus%2Fudisks-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FineFindus","download_url":"https://codeload.github.com/FineFindus/udisks-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253870797,"owners_count":21976608,"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-24T13:48:47.273Z","updated_at":"2025-05-13T03:39:20.985Z","avatar_url":"https://github.com/FineFindus.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UDisks\n\nAn unofficial Rust client crate for [`udisks2`](https://github.com/storaged-project/udisks).\nUDisks allows accessing and manipulating disks, storage devices and similar technologies.\n\n## Version\nBased on https://github.com/storaged-project/udisks/commit/4b1250cdf5897391e449ca0ad3836598c3b00dad for the\nclient and https://github.com/storaged-project/udisks/commit/3e499ea0248ee73043aedab834f32501019830a8 for the\ngenerated interfaces.\n\n## Example\n\n```rust\n// we use tokio in this example, but you can use any runtime\n#[tokio::main]\nasync fn main() -\u003e udisks2::Result\u003c()\u003e {\n    let client = udisks2::Client::new().await?;\n    let Ok(object) = client.object(\"/org/freedesktop/UDisks2/block_devices/sda\") else {\n        eprintln!(\"No sda device found\");\n        return Ok(());\n    };\n    let block = object.block().await?;\n    let drive = client.drive_for_block(\u0026block).await?;\n    println!(\n        \"Size: {}\",\n        client.size_for_display(drive.size().await?, true, true)\n    );\n    Ok(())\n}\n```\n\n## Documentation\n\nWhile this crate provides documentation for the handwritten code, the generated types may be lacking. In this case it is recommended to use the official [documentation](https://storaged.org/doc/udisks2-api/latest/).\n\n### Internationalization\n\nThis crate uses the same localization as `UDisks2`, which uses gettext. If the locale is left unset, English will be used.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinefindus%2Fudisks-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffinefindus%2Fudisks-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinefindus%2Fudisks-rs/lists"}