{"id":13439908,"url":"https://github.com/erickt/rust-zmq","last_synced_at":"2025-05-13T15:11:23.402Z","repository":{"id":2043994,"uuid":"2981351","full_name":"erickt/rust-zmq","owner":"erickt","description":"Rust zeromq bindings.","archived":false,"fork":false,"pushed_at":"2024-12-14T17:59:43.000Z","size":9822,"stargazers_count":933,"open_issues_count":84,"forks_count":196,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-23T18:56:53.003Z","etag":null,"topics":[],"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/erickt.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","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":"2011-12-14T16:48:50.000Z","updated_at":"2025-04-23T07:44:20.000Z","dependencies_parsed_at":"2024-06-18T15:24:19.521Z","dependency_job_id":"f113feb0-9f2d-41e3-a880-d233f99d8a0c","html_url":"https://github.com/erickt/rust-zmq","commit_stats":{"total_commits":593,"total_committers":58,"mean_commits":"10.224137931034482","dds":0.718381112984823,"last_synced_commit":"7ffd6c889d3dda30f9fee05bcceb4e9ce7d5d355"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erickt%2Frust-zmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erickt%2Frust-zmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erickt%2Frust-zmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erickt%2Frust-zmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erickt","download_url":"https://codeload.github.com/erickt/rust-zmq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253969259,"owners_count":21992263,"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":[],"created_at":"2024-07-31T03:01:18.092Z","updated_at":"2025-05-13T15:11:18.387Z","avatar_url":"https://github.com/erickt.png","language":"Rust","funding_links":[],"categories":["Libraries","Rust","库 Libraries","库"],"sub_categories":["Network programming","网络编程 Network programming","网络编程"],"readme":"Rust ZeroMQ bindings.\n\n[![Travis Build Status](https://travis-ci.org/erickt/rust-zmq.png?branch=master)](https://travis-ci.org/erickt/rust-zmq)\n[![Appveyor Build status](https://ci.appveyor.com/api/projects/status/xhytsx4jwyb9qk7m?svg=true)](https://ci.appveyor.com/project/erickt/rust-zmq)\n[![Coverage Status](https://coveralls.io/repos/erickt/erickt-zmq/badge.svg?branch=master)](https://coveralls.io/r/erickt/erickt-zmq?branch=master)\n[![Apache 2.0 licensed](https://img.shields.io/badge/license-Apache2.0-blue.svg)](./LICENSE-APACHE)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE-MIT)\n[![crates.io](http://meritbadge.herokuapp.com/zmq)](https://crates.io/crates/zmq)\n[![docs](https://docs.rs/zmq/badge.svg)](https://docs.rs/zmq)\n\n[Documentation](https://docs.rs/crate/zmq/)\n\n[Release Notes](https://github.com/erickt/rust-zmq/tree/master/NEWS.md)\n\n# About\n\nThe `zmq` crate provides bindings for the `libzmq` library from the\n[ZeroMQ](https://zeromq.org/) project. The API exposed by `zmq` should\nbe safe (in the usual Rust sense), but it follows the C API closely,\nso it is not very idiomatic.\n\n# Compatibility\n\nThe aim of this project is to track latest zmq releases as close as possible.\n\nRegarding the minimum Rust version required, `zmq` is CI-tested on current \nstable channels of Rust. \n\n# Usage\n\n`zmq` is a pretty straight forward port of the C API into Rust:\n\n```rust\nfn main() {\n    let ctx = zmq::Context::new();\n\n    let socket = ctx.socket(zmq::REQ).unwrap();\n    socket.connect(\"tcp://127.0.0.1:1234\").unwrap();\n    socket.send(\"hello world!\", 0).unwrap();\n}\n```\n\nYou can find more usage examples in\nhttps://github.com/erickt/rust-zmq/tree/master/examples.\n\n# Contributing\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 under the terms of both the\nApache License, Version 2.0 and the MIT license without any additional\nterms or conditions.\n\nSee the [contribution guidelines] for what to watch out for when\nsubmitting a pull request.\n\n[contribution guidelines]: ./CONTRIBUTING.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferickt%2Frust-zmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferickt%2Frust-zmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferickt%2Frust-zmq/lists"}