Skip to content

Commit

Permalink
Make sockopt_impl! public (#2556)
Browse files Browse the repository at this point in the history
* Make sockopt_impl! public

This allows users to define their own sockopts, instead of needing to
make a PR to Nix for every single one.

Fixes #577

* Respond to @SteveLauC's comments

* No need to make GetCString pub
  • Loading branch information
asomers authored Dec 5, 2024
1 parent f9ed9f0 commit 5c542f4
Show file tree
Hide file tree
Showing 4 changed files with 181 additions and 83 deletions.
2 changes: 2 additions & 0 deletions changelog/2556.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Added `sockopt_impl!` to the public API. It's now possible for users to define
their own sockopts without needing to make a PR to Nix.
Loading

0 comments on commit 5c542f4

Please sign in to comment.