Rust bindings for Chromaprint.
The major.minor
version tracks the library version, while .patch
tracks the crate version.
- LLVM or Clang for
buildgen
.
Static linking (preferred):
sudo apt install pkg-config cmake libfftw3-dev
Dynamic linking:
sudo apt install pkg-config libchromaprint-dev
brew install cmake
- Install
cargo-vcpkg
:cargo install cargo-vcpkg
- Install
vcpkg
deps:cargo vcpkg build
- Build and run:
cargo run
If the library is not found on the system, the script will try to build it from source. This requires:
CMake
: https://cmake.org/download/- FFTW3 (optional, but highly recommended): https://www.fftw.org/