{"id":16788848,"url":"https://github.com/narumincho/safe-url-macro","last_synced_at":"2025-09-13T10:37:10.394Z","repository":{"id":101930948,"uuid":"497520598","full_name":"narumincho/safe-url-macro","owner":"narumincho","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-29T07:34:29.000Z","size":2,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T10:44:53.034Z","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/narumincho.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":"2022-05-29T07:30:54.000Z","updated_at":"2022-05-30T04:02:13.000Z","dependencies_parsed_at":"2023-10-27T02:00:23.841Z","dependency_job_id":null,"html_url":"https://github.com/narumincho/safe-url-macro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/narumincho/safe-url-macro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narumincho%2Fsafe-url-macro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narumincho%2Fsafe-url-macro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narumincho%2Fsafe-url-macro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narumincho%2Fsafe-url-macro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/narumincho","download_url":"https://codeload.github.com/narumincho/safe-url-macro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narumincho%2Fsafe-url-macro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274949591,"owners_count":25379448,"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-09-13T02:00:10.085Z","response_time":70,"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":[],"created_at":"2024-10-13T08:25:03.336Z","updated_at":"2025-09-13T10:37:10.365Z","avatar_url":"https://github.com/narumincho.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# safe-url-macro\n\n## Rust でコードを書いているタイミングで URL のパースのエラーを検知する\n\n今回作成した safe_url! を使うと\n不正なな URL (https//example.com) を指定しているとき\n![image](https://user-images.githubusercontent.com/16481886/170857361-c72c8479-2e30-4339-8df4-4ffc6b3128f7.png)\n\n正常な URL (https://example.com) を指定しているとき\n![image](https://user-images.githubusercontent.com/16481886/170857359-af16b004-721f-4617-ac9b-3bc48c54acd2.png)\n\nこのように実行前にミスを検知できる.\n\n[Qiita の記事](https://qiita.com/narumincho/items/32bfd883197e980c9bbd)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarumincho%2Fsafe-url-macro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnarumincho%2Fsafe-url-macro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarumincho%2Fsafe-url-macro/lists"}