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 whenevermsquic
is added without
somewhere in the dependency tree.default-features = false - 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