{"id":21586082,"url":"https://github.com/magiclen/str-utils","last_synced_at":"2025-08-11T21:36:38.180Z","repository":{"id":57668882,"uuid":"280725193","full_name":"magiclen/str-utils","owner":"magiclen","description":"This crate provides some traits to extend types which implement `AsRef\u003c[u8]\u003e` or `AsRef\u003cstr\u003e`.","archived":false,"fork":false,"pushed_at":"2025-05-29T08:09:53.000Z","size":32,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-29T09:25:39.884Z","etag":null,"topics":["rust","string"],"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/magiclen.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":"2020-07-18T19:31:03.000Z","updated_at":"2025-05-29T08:09:43.000Z","dependencies_parsed_at":"2024-11-24T18:01:10.248Z","dependency_job_id":null,"html_url":"https://github.com/magiclen/str-utils","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"25c188da7ecceb453ea627ce39e48327e5a6f17f"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/magiclen/str-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fstr-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fstr-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fstr-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fstr-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magiclen","download_url":"https://codeload.github.com/magiclen/str-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fstr-utils/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269962106,"owners_count":24504266,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["rust","string"],"created_at":"2024-11-24T15:12:38.330Z","updated_at":"2025-08-11T21:36:38.156Z","avatar_url":"https://github.com/magiclen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"str Utils\n====================\n\n[![CI](https://github.com/magiclen/str-utils/actions/workflows/ci.yml/badge.svg)](https://github.com/magiclen/str-utils/actions/workflows/ci.yml)\n\nThis crate provides some traits to extend types which implement `AsRef\u003c[u8]\u003e` or `AsRef\u003cstr\u003e`.\n\n## Examples\n\n```rust\nuse str_utils::*;\n\nassert_eq!(true, \"foobar\".starts_with_ignore_ascii_case(\"FoO\"));\nassert_eq!(Some(1), \"photo.jpg\".ends_with_ignore_ascii_case_multiple(\u0026[\".png\", \".jpg\", \".gif\"]));\nassert_eq!(true, \"http\".eq_ignore_ascii_case_with_uppercase(\"HTTP\")); // faster than `eq_ignore_ascii_case`\n```\n\n## Crates.io\n\nhttps://crates.io/crates/str-utils\n\n## Documentation\n\nhttps://docs.rs/str-utils\n\n## License\n\n[MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiclen%2Fstr-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagiclen%2Fstr-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiclen%2Fstr-utils/lists"}