{"id":15611569,"url":"https://github.com/boxdot/serde-url-params-rs","last_synced_at":"2025-04-28T12:11:27.134Z","repository":{"id":54995689,"uuid":"97508980","full_name":"boxdot/serde-url-params-rs","owner":"boxdot","description":"URL parameters serialization","archived":false,"fork":false,"pushed_at":"2022-11-17T18:31:24.000Z","size":36,"stargazers_count":7,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T19:09:43.628Z","etag":null,"topics":["rust","serde","url-parameters"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boxdot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-17T18:26:27.000Z","updated_at":"2024-05-20T06:39:19.000Z","dependencies_parsed_at":"2023-01-23T11:45:12.847Z","dependency_job_id":null,"html_url":"https://github.com/boxdot/serde-url-params-rs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxdot%2Fserde-url-params-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxdot%2Fserde-url-params-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxdot%2Fserde-url-params-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxdot%2Fserde-url-params-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boxdot","download_url":"https://codeload.github.com/boxdot/serde-url-params-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251311332,"owners_count":21569009,"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":["rust","serde","url-parameters"],"created_at":"2024-10-03T06:05:29.468Z","updated_at":"2025-04-28T12:11:27.109Z","avatar_url":"https://github.com/boxdot.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serde URL Params\n\n[![crates-badge]][crates-url]\n[![docs-badge]][docs-url]\n[![license-badge]][license]\n[![ci-badge]][ci-url]\n\n[crates-badge]: https://img.shields.io/crates/v/serde-url-params.svg\n[crates-url]: https://crates.io/crates/serde-url-params\n[docs-badge]: https://docs.rs/serde_url_params/badge.svg\n[docs-url]: https://docs.rs/serde_url_params\n[license-badge]: https://img.shields.io/crates/l/serde-url-params.svg\n[license]: #license\n[ci-badge]: https://github.com/boxdot/serde-url-params-rs/workflows/rust/badge.svg\n[ci-url]: https://github.com/boxdot/serde-url-params-rs/actions\n\nSerialization of URL parameters from Rust structs.\n\n## Example\n\n```rust\n#[derive(Debug, Serialize)]\nenum Filter { New, Registered, Blocked }\n\n#[derive(Debug, Serialize)]\nstruct Params {\n    cursor: Option\u003cusize\u003e,\n    per_page: Option\u003cusize\u003e,\n    username: String,\n    filter: Vec\u003cFilter\u003e,\n}\n\nlet params = Params {\n    cursor: Some(42),\n    per_page: None,\n    username: String::from(\"boxdot\"),\n    filter: vec![Filter::New, Filter::Blocked],\n};\nassert_eq!(\n    serde_url_params::to_string(\u0026params).unwrap(),\n    \"cursor=42\u0026username=boxdot\u0026filter=New\u0026filter=Blocked\"\n);\n```\n\n## License\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n   http://www.apache.org/licenses/LICENSE-2.0)\n * MIT License ([LICENSE-MIT](LICENSE-MIT) or\n   http://opensource.org/licenses/MIT)\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this document by you, as defined in the Apache-2.0 license,\nshall be dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxdot%2Fserde-url-params-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboxdot%2Fserde-url-params-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxdot%2Fserde-url-params-rs/lists"}