docs.rs failed to build libsodium-ffi-0.1.14
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:
libsodium-ffi-0.2.2
libsodium-sys
Rust native binding to libsodium
# Cargo.toml
[]
= "0.1"
Usage
Environement variables
-
SODIUM_LIB_DIR=/path/to/libsodium
for telling cargo where to find libsodium -
SODIUM_STATIC=yes
for telling cargo to static-link libsodium -
SODIUM_BUILD_STATIC=yes
force build from source instead of trying to find libsodium in system-wide
Thanks
build.rs
is partially borrowed from rust_sodium project.