ngtcp2

Nim wrapper around the ngtcp2 library

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version 0.39.0
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-11-18 13:54

Tags

Authors

  • Status Research & Development GmbH

Installation

nimble install ngtcp2
choosenim install ngtcp2
git clone https://github.com/status-im/nim-ngtcp2

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
ngtcp2 ✓ ✓ ✓ - - - - - - -

Dependencies

Package Version Optional
nim >= 2.0.0 No

Source

Repository https://github.com/status-im/nim-ngtcp2
Homepage https://github.com/status-im/nim-ngtcp2
Registry Source nimble_official

README

ngtcp2 for Nim

License: MIT License: Apache Github action

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:

  • update the git submodule in libs/ to point to the new version
  • git submodule update --init --recursive
  • run build.sh (requires Nim, CMake and clang to be installed)
  • increase the version property in the ngtcp2.nimble file
  • commit the changes

Enabling QuicTLS

`-d:ngtcp2_enable_quictls`