{"id":21423805,"url":"https://github.com/ossystems/async-reply-rs","last_synced_at":"2025-07-14T08:31:27.327Z","repository":{"id":43059059,"uuid":"322084265","full_name":"OSSystems/async-reply-rs","owner":"OSSystems","description":"Allow the sending and receiving of typed messages.","archived":false,"fork":false,"pushed_at":"2022-03-21T15:37:13.000Z","size":36,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-02T02:05:53.619Z","etag":null,"topics":["async","message","response","rust"],"latest_commit_sha":null,"homepage":"","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/OSSystems.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","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":"2020-12-16T19:40:02.000Z","updated_at":"2022-03-21T13:07:27.000Z","dependencies_parsed_at":"2022-09-10T03:42:28.016Z","dependency_job_id":null,"html_url":"https://github.com/OSSystems/async-reply-rs","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/OSSystems/async-reply-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSSystems%2Fasync-reply-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSSystems%2Fasync-reply-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSSystems%2Fasync-reply-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSSystems%2Fasync-reply-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OSSystems","download_url":"https://codeload.github.com/OSSystems/async-reply-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSSystems%2Fasync-reply-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265262601,"owners_count":23736427,"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":["async","message","response","rust"],"created_at":"2024-11-22T21:18:14.124Z","updated_at":"2025-07-14T08:31:26.913Z","avatar_url":"https://github.com/OSSystems.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Documentation](https://docs.rs/async-reply/badge.svg)](https://docs.rs/async-reply)\n![CI (Linux)](https://github.com/OSSystems/async-reply-rs/workflows/CI%20(Linux)/badge.svg)\n\n# async-reply\n\nAllow the sending and reciving of typed messages.\n\n## Example\n```rust\nuse async_reply::Message;\n\n#[derive(Debug, Message)]\n#[rtype(response = \"Pong\")]\nstruct Ping;\n\n#[derive(Debug)]\nstruct Pong;\n\nlet (requester, replyer) = async_reply::endpoints();\n\nlet ping_fut = async {\n    println!(\"Sending Ping\");\n    let reply = requester.send(Ping).await.unwrap();\n    println!(\"Received {:?}\", reply);\n};\n\nlet pong_fut = async {\n    let (msg, handler) = replyer.recv::\u003cPing\u003e().await.unwrap();\n    handler.respond(Pong).await.unwrap();\n    println!(\"Replied {:?} with Pong\", msg);\n};\n\nping_fut.join(pong_fut).await;\n```\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the\nApache-2.0 license, shall be dual licensed as above, without any\nadditional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossystems%2Fasync-reply-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fossystems%2Fasync-reply-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossystems%2Fasync-reply-rs/lists"}