{"id":20145867,"url":"https://github.com/usagi/si-unit-prefix","last_synced_at":"2026-05-13T19:32:55.071Z","repository":{"id":61035504,"uuid":"547785022","full_name":"usagi/si-unit-prefix","owner":"usagi","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-08T09:39:55.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-11T22:22:19.469Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usagi.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}},"created_at":"2022-10-08T09:33:56.000Z","updated_at":"2022-10-08T09:34:09.000Z","dependencies_parsed_at":"2022-10-08T20:56:29.231Z","dependency_job_id":null,"html_url":"https://github.com/usagi/si-unit-prefix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/usagi/si-unit-prefix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fsi-unit-prefix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fsi-unit-prefix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fsi-unit-prefix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fsi-unit-prefix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usagi","download_url":"https://codeload.github.com/usagi/si-unit-prefix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fsi-unit-prefix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32997634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: 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":[],"created_at":"2024-11-13T22:18:32.330Z","updated_at":"2026-05-13T19:32:55.052Z","avatar_url":"https://github.com/usagi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SI Unit Prefix\n\nThis library is ideal for simple Rust handling of SI unit prefixes.\n\n## Features\n\n- You can use `SiUnitPrefix::G` to represent \"Giga\".\n  - Supported: \"Q\" \"R\" \"Y\" \"Z\" \"E\" \"P\" \"T\" \"G\" \"M\" \"k\" \"h\" \"da\" \"d\" \"c\" \"m\" \"u\" \"n\" \"p\" \"f\" \"a\" \"z\" \"y\" \"r\" \"q\"\n    - Extra: \"㌐\" \"㍋\" \"㌔\" \"㌥\" \"㌢\" \"㍉\" \"㍃\" \"㌨\" \"㌰\"\n- `.as_f64()`: eg. `SiUnitPrefix::G.as_f64()` -\u003e `1e+9f64`\n- `.as_f32()`: eg. `SiUnitPrefix::G.as_f32()` -\u003e `1e+9f32`\n- `.as_exp()`: eg. `SiUnitPrefix::G.as_exp()` -\u003e `9i8`\n- `.parse(str)`: eg. `SiUnitPrefix::parse_from_str(\"G\")` -\u003e `SiUnitPrefix::G`\n- with derives:\n  - `serde::Serialize`/`serde::Deserialize`\n  - `Clone`/`Copy`\n  - `PartialEq`/`Eq`\n  - `PartialOrd`/`Ord`\n  - `Debug`\n\n## Examples/Tests\n\nSee [tests/test.rs](tests/test.rs) file. It's so simple. :)\n\n## License\n\nMIT\n\n## Author\n\n- [Usagi Ito / USAGI.NETWORK](https://usagi.network/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusagi%2Fsi-unit-prefix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusagi%2Fsi-unit-prefix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusagi%2Fsi-unit-prefix/lists"}