{"id":17684732,"url":"https://github.com/batteredbunny/url_parser","last_synced_at":"2025-03-30T20:19:31.496Z","repository":{"id":166986963,"uuid":"642541067","full_name":"BatteredBunny/url_parser","owner":"BatteredBunny","description":"Rust macro that parses url arguments into a struct for easy usage","archived":false,"fork":false,"pushed_at":"2024-05-07T11:17:16.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T23:02:36.279Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BatteredBunny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-05-18T20:02:17.000Z","updated_at":"2024-05-07T11:17:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc648062-0908-4f5f-9d19-983c49c9f1b2","html_url":"https://github.com/BatteredBunny/url_parser","commit_stats":null,"previous_names":["ayes-web/url_parser","batteredbunny/url_parser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatteredBunny%2Furl_parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatteredBunny%2Furl_parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatteredBunny%2Furl_parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatteredBunny%2Furl_parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BatteredBunny","download_url":"https://codeload.github.com/BatteredBunny/url_parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246373142,"owners_count":20766708,"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-24T10:24:54.018Z","updated_at":"2025-03-30T20:19:31.473Z","avatar_url":"https://github.com/BatteredBunny.png","language":"Rust","readme":"\u003ch1 align=\"center\"\u003eURL Arguments parser\u003c/h1\u003e\n\n## Rust macro that parses url arguments into a struct for easy usage\n\n# Install\n```\ncargo add --git https://github.com/BatteredBunny/url_parser\n```\n\n# Usage\n## You can add multiple URLs, it will add flags from all of them\n\n```rust\n#[macro_use]\nextern crate url_parser;\n\n#[parse_url(\"https://nyaa.si/?f=0\u0026c=1_0\u0026q=q\u0026u\", \"https://nyaa.si/?s=comments\", \"https://nyaa.si/?p=100\", \"https://nyaa.si/?page=rss\")]\nstruct ParsedURL {}\n```\n\n↓↓↓↓↓↓↓↓↓↓\n\n```rust\nstruct ParsedURL {\n    pub f: String,\n    pub page: String,\n    pub u: Option\u003cString\u003e,\n    pub q: String,\n    pub s: String,\n    pub p: String,\n    pub c: String,\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatteredbunny%2Furl_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbatteredbunny%2Furl_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatteredbunny%2Furl_parser/lists"}