Skip to content

anng: import from internal Helsing repository#8

Merged
jonhoo merged 15 commits intomainfrom
anng
Oct 21, 2025
Merged

anng: import from internal Helsing repository#8
jonhoo merged 15 commits intomainfrom
anng

Conversation

@jonhoo
Copy link
Collaborator

@jonhoo jonhoo commented Oct 16, 2025

This imports the asynchronous nng bindings I wrote on top of nng-sys internally at Helsing. The docs + README should explain the what and how well, so I won't duplicate that here.

Note that this does not add CI — instead, I'll rebase it on top of the upcoming PR that will add CI to the whole project.

This imports the asynchronous nng bindings I wrote on top of nng-sys
internally at Helsing. The docs + README should explain the what and how
well, so I won't duplicate that here.

Note that this currently produces warnings from cargo since anng has
some examples that are named the same as examples in nng, which triggers
rust-lang/cargo#6313.
@jonhoo jonhoo marked this pull request as ready for review October 21, 2025 11:08
Copy link
Collaborator

@flxo flxo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally :-)

I checked manifest and READMEs but not the actual implementation.

jonhoo added a commit that referenced this pull request Oct 21, 2025
Just like, e.g., `openssl-sys` does.
See also <https://doc.rust-lang.org/nightly/cargo/reference/build-script-examples.html#conditional-compilation>.

This is needed so that, for example, #8 can make `anng`'s use of pub/sub
dependent on having NNG version 1.10 or higher.
@jonhoo
Copy link
Collaborator Author

jonhoo commented Oct 21, 2025

The CI failure from /features here is accurate, and will be remedied following #17 which will let us make pubsub0 conditional on 1.10+.

jonhoo added a commit that referenced this pull request Oct 21, 2025
Just like, e.g., `openssl-sys` does.
See also <https://doc.rust-lang.org/nightly/cargo/reference/build-script-examples.html#conditional-compilation>.

This is needed so that, for example, #8 can make `anng`'s use of pub/sub
dependent on having NNG version 1.10 or higher.
@jonhoo jonhoo merged commit ec40a24 into main Oct 21, 2025
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants