Merge pull request #62 from Polochon-street/add-bindgen-feature

Add `update-aubio-bindings` feature
This commit is contained in:
Polochon-street 2023-04-01 17:40:45 +02:00 committed by GitHub
commit 9ddadb4a13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 1 deletions

View File

@ -1,5 +1,8 @@
#Changelog #Changelog
## bliss 0.6.8
* Add an `update-aubio-bindings` feature.
## bliss 0.6.7 ## bliss 0.6.7
* Fix compatibility for ffmpeg 6.0, and bump ffmpeg version to 6.0. * Fix compatibility for ffmpeg 6.0, and bump ffmpeg version to 6.0.
* Update and remove extraneous dependencies. * Update and remove extraneous dependencies.

14
Cargo.lock generated
View File

@ -71,6 +71,7 @@ dependencies = [
"clang-sys", "clang-sys",
"lazy_static 1.4.0", "lazy_static 1.4.0",
"lazycell", "lazycell",
"log",
"peeking_take_while", "peeking_take_while",
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -78,6 +79,7 @@ dependencies = [
"rustc-hash", "rustc-hash",
"shlex", "shlex",
"syn 1.0.109", "syn 1.0.109",
"which",
] ]
[[package]] [[package]]
@ -135,6 +137,7 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd4d47e7b82164c30a806717cf5562f87e5b136b79b3d942c9ad789134116f2f" checksum = "bd4d47e7b82164c30a806717cf5562f87e5b136b79b3d942c9ad789134116f2f"
dependencies = [ dependencies = [
"bindgen",
"cc", "cc",
"fftw-sys", "fftw-sys",
] ]
@ -1522,6 +1525,17 @@ version = "0.11.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
[[package]]
name = "which"
version = "4.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269"
dependencies = [
"either",
"libc",
"once_cell",
]
[[package]] [[package]]
name = "winapi" name = "winapi"
version = "0.2.8" version = "0.2.8"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "bliss-audio" name = "bliss-audio"
version = "0.6.7" version = "0.6.8"
build = "build.rs" build = "build.rs"
authors = ["Polochon-street <polochonstreet@gmx.fr>"] authors = ["Polochon-street <polochonstreet@gmx.fr>"]
edition = "2021" edition = "2021"
@ -20,6 +20,8 @@ default = ["bliss-audio-aubio-rs/static"]
# Build ffmpeg instead of using the host's. # Build ffmpeg instead of using the host's.
build-ffmpeg = ["ffmpeg-next/build"] build-ffmpeg = ["ffmpeg-next/build"]
ffmpeg-static = ["ffmpeg-next/static"] ffmpeg-static = ["ffmpeg-next/static"]
# Use if you get "No prebuilt bindings. Try use `bindgen` feature"
update-aubio-bindings = ["bliss-audio-aubio-rs/bindgen"]
# Use if you want to build python bindings with maturin. # Use if you want to build python bindings with maturin.
python-bindings = ["bliss-audio-aubio-rs/fftw3"] python-bindings = ["bliss-audio-aubio-rs/fftw3"]
# Enable the benchmarks with `cargo +nightly bench --features=bench` # Enable the benchmarks with `cargo +nightly bench --features=bench`