{"id":33931453,"url":"https://github.com/leopard2a5/wiremock-multipart","last_synced_at":"2026-03-17T20:04:50.912Z","repository":{"id":57672243,"uuid":"443734793","full_name":"Leopard2A5/wiremock-multipart","owner":"Leopard2A5","description":"Multipart matchers for the wiremock testing framework","archived":false,"fork":false,"pushed_at":"2025-01-10T11:07:39.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T11:17:37.813Z","etag":null,"topics":["http","rust","testing","wiremock"],"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/Leopard2A5.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-01-02T10:13:57.000Z","updated_at":"2025-01-10T11:07:43.000Z","dependencies_parsed_at":"2025-01-10T12:33:56.671Z","dependency_job_id":null,"html_url":"https://github.com/Leopard2A5/wiremock-multipart","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":0.05555555555555558,"last_synced_commit":"479f68bca3721d91c6fd21e69cb9d731837f8c8e"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Leopard2A5/wiremock-multipart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leopard2A5%2Fwiremock-multipart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leopard2A5%2Fwiremock-multipart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leopard2A5%2Fwiremock-multipart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leopard2A5%2Fwiremock-multipart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Leopard2A5","download_url":"https://codeload.github.com/Leopard2A5/wiremock-multipart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leopard2A5%2Fwiremock-multipart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30630040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["http","rust","testing","wiremock"],"created_at":"2025-12-12T12:47:53.562Z","updated_at":"2026-03-17T20:04:50.907Z","avatar_url":"https://github.com/Leopard2A5.png","language":"Rust","readme":"# wiremock-multipart\n\nThis project provides matchers dealing with multipart requests for the\nawesome [wiremock](https://crates.io/crates/wiremock) testing framework.\n\n# How to install\nAdd `wiremock-multipart` to your development dependencies:\n```toml\n[dev-dependencies]\n# ...\nwiremock-multipart = \"0.1\"\n```\nIf you are using [`cargo-edit`](https://github.com/killercup/cargo-edit), run\n```bash\ncargo add wiremock-multipart --dev\n```\n\n## Getting started\n```rust\nuse wiremock::{MockServer, Mock, ResponseTemplate};\nuse wiremock::matchers::method;\nuse wiremock_multipart::prelude::*;\n\n#[async_std::main]\nasync fn main() {\n    // Start a background HTTP server on a random local port\n    let mock_server = MockServer::start().await;\n\n    // Arrange the behaviour of the MockServer adding a Mock\n    Mock::given(method(\"POST\"))\n        .and(NumberOfParts(2))\n        .respond_with(ResponseTemplate::new(200))\n        // Mounting the mock on the mock server - it's now effective!\n        .mount(\u0026mock_server)\n        .await;\n\n    // if we now send a multipart/form-data request with two parts to it, the request\n    // will match and return 200.\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleopard2a5%2Fwiremock-multipart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleopard2a5%2Fwiremock-multipart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleopard2a5%2Fwiremock-multipart/lists"}