Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aksiksi/chromaprint-sys
Rust bindings for Chromaprint.
https://github.com/aksiksi/chromaprint-sys
Last synced: 6 days ago
JSON representation
Rust bindings for Chromaprint.
- Host: GitHub
- URL: https://github.com/aksiksi/chromaprint-sys
- Owner: aksiksi
- Created: 2022-06-21T16:14:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-24T05:55:38.000Z (over 2 years ago)
- Last Synced: 2024-10-23T09:01:21.928Z (14 days ago)
- Language: Rust
- Homepage: https://crates.io/crates/chromaprint-sys-next
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chromaprint-sys-next
![Crates.io](https://img.shields.io/crates/v/chromaprint-sys-next)
Rust bindings for [Chromaprint](https://github.com/acoustid/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/