erickt / erickt/rust-zmq

Replace `send` and `recv` flags with a more type-safe API

Open
#35 11 comments 1 reaction 0 assignees View on GitHub
feature requires API change
Dominant language
Rust
Stars
997
Forks
212
PR merge metrics
No merged PRs in 30d

Description

Currently send/recv functions just take them as an int and there are no defines.

At the very least there should be static definitions. But would probably be better as a proper 'Flag' type (enum?).

Contributor guide

Open the contributing guide

Research direction

Start by locating the send and recv function signatures and the code that currently accepts integer flags. Review the surrounding Rust bindings and the issue discussion before choosing the type-safe API shape. Done means the flags have defined, type-safe representations and the affected calls remain usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.