{"id":16162374,"url":"https://github.com/sunsided/query-string-builder","last_synced_at":"2025-03-18T22:31:04.639Z","repository":{"id":179527359,"uuid":"663654671","full_name":"sunsided/query-string-builder","owner":"sunsided","description":"A query string builder for percent encoding key-value pairs in Rust","archived":false,"fork":false,"pushed_at":"2024-06-07T22:37:37.000Z","size":79,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T00:09:12.084Z","etag":null,"topics":["http","query-string","query-string-builder","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/query-string-builder","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"eupl-1.2","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunsided.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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-07-07T19:58:47.000Z","updated_at":"2024-06-07T22:37:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"17f9af15-0547-4872-80ab-bbe6528e68b3","html_url":"https://github.com/sunsided/query-string-builder","commit_stats":null,"previous_names":["sunsided/query-string-builder"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Fquery-string-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Fquery-string-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Fquery-string-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Fquery-string-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunsided","download_url":"https://codeload.github.com/sunsided/query-string-builder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244318495,"owners_count":20433917,"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":["http","query-string","query-string-builder","rust"],"created_at":"2024-10-10T02:29:54.225Z","updated_at":"2025-03-18T22:31:04.409Z","avatar_url":"https://github.com/sunsided.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A query string builder for percent encoding key-value pairs\n\n[![Crates.io](https://img.shields.io/crates/v/query-string-builder)](https://crates.io/crates/query-string-builder)\n[![Crates.io](https://img.shields.io/crates/l/query-string-builder)](https://crates.io/crates/query-string-builder)\n[![codecov](https://codecov.io/gh/sunsided/query-string-builder/graph/badge.svg?token=HUCXM04DOG)](https://codecov.io/gh/sunsided/query-string-builder)\n\nThis is a tiny helper crate for simplifying the construction of URL query strings.\nThe initial `?` question mark is automatically prepended.\n\n## Example\n\n```rust\nuse query_string_builder::QueryString;\n\nfn main() {\n    let qs = QueryString::simple()\n        .with_value(\"q\", \"apple\")\n        .with_value(\"tasty\", true)\n        .with_value(\"weight\", 70.0)\n        .with_opt_value(\"color\", None::\u003cString\u003e)\n        .with_opt_value(\"category\", Some(\"fruits and vegetables?\"));\n\n    assert_eq!(\n        format!(\"https://example.com/{qs}\"),\n        \"https://example.com/?q=apple\u0026tasty=true\u0026weight=70.0\u0026category=fruits%20and%20vegetables?\u0026tasty=true\"\n    );\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunsided%2Fquery-string-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunsided%2Fquery-string-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunsided%2Fquery-string-builder/lists"}