{"id":19424121,"url":"https://github.com/blabaere/scaproust","last_synced_at":"2025-04-06T11:08:07.779Z","repository":{"id":57666322,"uuid":"36572869","full_name":"blabaere/scaproust","owner":"blabaere","description":"Implementation of the nanomsg \"Scalability Protocols\" in rust.","archived":false,"fork":false,"pushed_at":"2020-02-14T09:03:18.000Z","size":2202,"stargazers_count":194,"open_issues_count":6,"forks_count":9,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-30T09:09:41.900Z","etag":null,"topics":["messaging","messaging-library","nanomsg","network","networking"],"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/blabaere.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.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":"2015-05-30T19:39:17.000Z","updated_at":"2024-12-26T06:48:00.000Z","dependencies_parsed_at":"2022-09-26T20:31:45.282Z","dependency_job_id":null,"html_url":"https://github.com/blabaere/scaproust","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blabaere%2Fscaproust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blabaere%2Fscaproust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blabaere%2Fscaproust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blabaere%2Fscaproust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blabaere","download_url":"https://codeload.github.com/blabaere/scaproust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247471519,"owners_count":20944158,"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":["messaging","messaging-library","nanomsg","network","networking"],"created_at":"2024-11-10T13:41:58.508Z","updated_at":"2025-04-06T11:08:07.758Z","avatar_url":"https://github.com/blabaere.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scaproust - Scalability Protocols in Rust\n\n[![Linux build](https://travis-ci.org/blabaere/scaproust.svg?label=linux)](https://travis-ci.org/blabaere/scaproust)\n[![Windows build](https://ci.appveyor.com/api/projects/status/kpqdm42mhlki39fq?svg=true)](https://ci.appveyor.com/project/blabaere/scaproust)\n[![Coverage Status](https://coveralls.io/repos/github/blabaere/scaproust/badge.svg?branch=master)](https://coveralls.io/github/blabaere/scaproust?branch=master)\n[![crates.io](http://meritbadge.herokuapp.com/scaproust)](https://crates.io/crates/scaproust)\n\nScaproust is an implementation of the [nanomsg](http://nanomsg.org/index.html) \"Scalability Protocols\" in the [Rust programming language](http://www.rust-lang.org/).\n\nQuoting from nanomsg's site:\n\u003e nanomsg is a socket library that provides several common communication patterns. It aims to make the networking layer fast, scalable, and easy to use. Implemented in C, it works on a wide range of operating systems with no further dependencies.\n\n\u003e The communication patterns, also called \"scalability protocols\", are basic blocks for building distributed systems. By combining them you can create a vast array of distributed applications. \n\n**Experimental work !** For working stuff, please see [nanomsg-rs](https://github.com/blabaere/nanomsg.rs).  \n\n[API Documentation](https://blabaere.github.io/scaproust/scaproust/index.html)\n\n## Goals\n* Support for all of nanomsg's protocols.\n* Support for TCP and IPC transports.\n* Idiomatic rust API first, mimic the original C API second.\n* Extensibility: allow user code to define additional protocols and transports\n\n## Usage\n\nFirst, add this to your `Cargo.toml`:\n\n```toml\n[dependencies]\nscaproust = \"0.3.1\"\n```\n\nNext, add this to your crate:\n\n```rust\nextern crate scaproust;\n```\n\n## Progress\n- [ ] Protocols\n  - [x] PAIR\n  - [x] BUS\n  - [ ] REQREP\n    - [x] REQ\n    - [x] REQ resend\n    - [ ] REQ prefetch replies\n    - [x] REP\n  - [x] PUBSUB\n    - [x] PUB\n    - [x] SUB\n    - [x] SUB subscription filter\n  - [x] PIPELINE\n    - [x] PUSH\n    - [x] PULL\n  - [x] SURVEY\n    - [x] SURVEYOR\n    - [x] SURVEYOR deadline\n    - [x] RESPONDENT  \n\n- [x] Transports\n  - [x] TCP\n  - [x] IPC (*nix)\n  - [x] IPC (Windows)\n\n- [ ] Socket options\n  - [ ] Linger\n  - [x] Recv max size\n  - [x] Send timeout\n  - [x] Recv timeout\n  - [x] Reconnect interval\n  - [ ] Reconnect interval max\n  - [x] Send priority\n  - [x] Recv priority\n  - [ ] IPV4 only\n  - [ ] Socket name\n\n- [x] Protocol options\n  - [x] REQ resend interval\n  - [x] SURVEYOR deadline\n  - [x] SUB subscribe\n  - [x] SUB unsubscribe\n\n- [x] Transport options\n  - [x] TCP no delay\n\n## License\n\nLicensed under either of\n * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you shall be dual licensed as above, without any\nadditional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblabaere%2Fscaproust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblabaere%2Fscaproust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblabaere%2Fscaproust/lists"}