Cargo Features

[dependencies]
msquic = { version = "2.5.0-beta4", default-features = false, features = ["src", "find", "openssl", "preview-api", "overwrite"] }
default = src

The src feature is set by default whenever msquic is added without default-features = false somewhere in the dependency tree.

src build default

Build c code from source

Enables cmake

find

Find prebuilt msquic. Use vcpkg installed location on Windows,
while use system installed location on linux.
MacOs is not supported.

openssl

Windows uses schannel, and linux uses openssl by default.
This feature enables openssl on windows, and has no effect on linux.

static preview-api
overwrite build

Overwrite generated binding by reruning the bindgen

Enables bindgen