Skip to content

Commit 42a73c1

Browse files
flxoFelix Obenhuber
andauthored
nng-sys: upgrade to NNG 2.0.0-alpha.7 (#40)
Update bindings to reflect upstream API changes: - Consolidate bound port options into NNG_OPT_BOUND_PORT - Add TLS certificate type and inspection functions - Add dedicated pipe/stream address functions (peer_addr, self_addr) - Add WebSocket header iteration options - Change get_string functions to return const pointers - Add HTTP address and header iteration functions Co-authored-by: Felix Obenhuber <felix.obenhuber@helsing.ai>
1 parent 3a16192 commit 42a73c1

File tree

6 files changed

+239
-180
lines changed

6 files changed

+239
-180
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ jobs:
141141
- name: build and install NNG v2 for nng-sys
142142
run: .github/scripts/install-nng.sh
143143
- name: cargo hack anng
144-
run: cargo hack -p anng --feature-powerset check
144+
# TODO(flxo): check anng just with feature vendored enabled because the needed nng version
145+
# alpha.6 is not available
146+
run: cargo hack -p anng --features vendored check
145147
env:
146148
# add /usr/local/include to the C compiler search path for NNG headers
147149
CFLAGS: -I/usr/local/include

0 commit comments

Comments
 (0)