Crates.io | sndfile-sys |
lib.rs | sndfile-sys |
version | 0.3.1 |
source | src |
created_at | 2018-10-17 11:52:19.462982 |
updated_at | 2021-07-17 05:17:40.179427 |
description | Rust FFI bindings to libsndfile. |
homepage | |
repository | https://github.com/evpobr/sndfile-sys |
max_upload_size | |
id | 91138 |
size | 24,076 |
Rust FFI bindings to libsndfile.
Starting from version v0.1.2 sndfile-sys
can use Vcpkg package manager to search for
native libsndfile
library (thanks to Vcpkg crate):
Vcpkg
vcpkg install libsndfile:x64-windows-static
Vcpkg
path (e.g. d:\vcpkg
) to VCPKG_ROOT
environment variable-Ctarget-feature=+crt-static
to RUSTFLAGS
environment variableThis search method affects MSVC
toolchain only. You can disable it completely with environment varible VCPKGRS_DISABLE
set to 1
.
Use can link to dynamic libsndfile
(not recommended for MSVC
toolchain):
libsndfile
library with command: vcpkg install libsndfile:x64-windows
RUSTFLAGS
environment variableVCPKGRS_DYNAMIC
environment variable to 1
Starting from version v0.2.2 sndfile-sys
can use PkgConfig to search for native
libsndfile
library (thanks to pkg-config-rs crate):