ngtcp2 wrapper for Nim
Go to file
Mark Spanbroek 3f4d415364 Fix: sockaddr and sockaddr_storage are structs, and should be imported as such 2020-09-08 15:26:12 +02:00
.github/workflows Checkout submodules in CI 2020-09-08 10:57:14 +02:00
build/lib/includes/ngtcp2 Add generated files 2020-09-08 10:57:14 +02:00
sources@d234d50c38 Add ngtcp2 as a git submodule 2020-09-08 10:57:14 +02:00
tests Add unit test 2020-09-08 10:57:14 +02:00
.editorconfig Initial version of ngtcp2 wrapper 2020-09-07 14:06:44 +02:00
.gitignore Ensure that nimble installs sources/ and build/ folders 2020-09-08 10:57:14 +02:00
.gitmodules Add ngtcp2 as a git submodule 2020-09-08 10:57:14 +02:00
.tool-versions Initial version of ngtcp2 wrapper 2020-09-07 14:06:44 +02:00
Readme.md Added instructions on updating to a newer version of ngtcp2 2020-09-08 10:57:14 +02:00
build.sh Ensure that C includes are relative to the nim source 2020-09-08 10:57:14 +02:00
includes.nim Ensure that C includes are relative to the nim source 2020-09-08 10:57:14 +02:00
ngtcp2.nim Fix: sockaddr and sockaddr_storage are structs, and should be imported as such 2020-09-08 15:26:12 +02:00
ngtcp2.nimble Ensure that nimble installs sources/ and build/ folders 2020-09-08 10:57:14 +02:00
sockets.nim Fix: sockaddr and sockaddr_storage are structs, and should be imported as such 2020-09-08 15:26:12 +02:00

Readme.md

ngtcp2 for Nim

Wrapper around the ngtcp2 C library for Nim.

Updating to a newer version

Follow these steps when updating the wrapper to a newer version of ngtcp2:

  1. update the git submodule in sources/ to point to the new version
  2. run build.sh (requires Nim and CMake to be installed)
  3. commit the changes