docs.rs failed to build openconnect-sys-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
openconnect-sys-0.1.5
Build guide
Pre-request
according to the openconnect build guide, you should install the following packages as dependencies.
For Ubuntu
For building tools (if you don't want to use the prebuilt openconnect):
For MacOS
For building tools (if you don't want to use the prebuilt openconnect):
For Windows (MSYS2 MINGW64)
Download MSYS2
Switch rust toolchain to windows-gnu
You have to use MSYS2 MINGW64 shell to build the library for 64-bit Windows.
Related to prebuilt openconnect
By default, we use the prebuilt openconnect static lib, which is downloaded from sourceforge.
If you want to build the openconnect static lib when building the crate, you can add environment variable to your .cargo/config file.
[]
= "false"
A further investigation of manual build can be found in MANUAL_BUILD.md.