chromaprint-sys-next

Crates.iochromaprint-sys-next
lib.rschromaprint-sys-next
version1.5.3
sourcesrc
created_at2022-07-03 01:56:40.709442
updated_at2022-07-24 05:56:24.993672
descriptionRust bindings to Chromaprint
homepagehttps://github.com/aksiksi/chromaprint-sys
repositoryhttps://github.com/aksiksi/chromaprint-sys
max_upload_size
id618097
size4,637,711
Assil Ksiksi (aksiksi)

documentation

README

chromaprint-sys-next

Crates.io

Rust bindings for Chromaprint.

The major.minor version tracks the library version, while .patch tracks the crate version.

Prerequisites

General

  • LLVM or Clang for buildgen.

Linux (Debian/Ubuntu)

Static linking (preferred):

sudo apt install pkg-config cmake libfftw3-dev

Dynamic linking:

sudo apt install pkg-config libchromaprint-dev

macOS

brew install cmake

Windows

  1. Install cargo-vcpkg: cargo install cargo-vcpkg
  2. Install vcpkg deps: cargo vcpkg build
  3. Build and run: cargo run

Building chromaprint from source

If the library is not found on the system, the script will try to build it from source. This requires:

  1. CMake: https://cmake.org/download/
  2. FFTW3 (optional, but highly recommended): https://www.fftw.org/
Commit count: 24

cargo fmt