erickt / erickt/rust-zmq

Expose zmq_setsockopt publicly

Open
#342 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
997
Forks
212
PR merge metrics
No merged PRs in 30d

Description

A diff for such a change might look like:
```diff
**diff --git a/src/lib.rs b/src/lib.rs
index c8c2b91..60468c8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -31,7 +31,7 @@ macro_rules! zmq_try {
}

mod message;
-mod sockopt;
+pub mod sockopt;

use crate::message::msg_ptr;
pub use crate::message::Message;**
```
I would be happy to open a PR given feedback from maintainers about how they would like the change to be made so that it is most likely to be merged.

Contributor guide

Open the contributing guide

Research direction

Start in src/lib.rs at the sockopt module declaration shown in the issue and inspect how the crate currently exposes its public API. Make the requested socket-option interface publicly accessible, then verify that the crate builds and that external callers can reach it.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.