Skip to content

MarcoPolo/zig-msquic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zig MsQuic

A small Zig library that wraps MsQuic.

This library is really only needed because Zig's translate C can't yet handle bitfields well: ziglang/zig#1499.

I may also be setting the bitfields incorrectly here. Especially on Architectures I haven't tested. So be warned.

Usage

See the throughput client for an example. And refer to the MsQuic docs on how to use MsQuic generally.

Building and linking is a bit tricky, since you need to link MsQuic and the quictls fork of openssl. For ease and reproducibilty the library itself uses Nix to manage these dependencies, and links them in build.zig. If you're using this library you'll need to do something similar. If unfamiliar with Nix, here's a very quick primer: Declarative Dev Environments.

(todo add example projects that use this as a library).

About

A small Zig library that wraps MsQuic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published