bliss-rs/Cargo.toml

88 lines
2.6 KiB
TOML
Raw Normal View History

2021-05-14 17:35:08 +03:00
[package]
name = "bliss-audio"
2023-06-19 17:36:11 +03:00
version = "0.6.9"
2023-03-16 20:35:12 +02:00
build = "build.rs"
2021-05-14 17:35:08 +03:00
authors = ["Polochon-street <polochonstreet@gmx.fr>"]
2023-02-14 19:57:16 +02:00
edition = "2021"
license = "GPL-3.0-only"
2021-05-14 18:22:14 +03:00
description = "A song analysis library for making playlists"
homepage = "https://lelele.io/bliss.html"
repository = "https://github.com/Polochon-street/bliss-rs"
keywords = ["audio", "analysis", "MIR", "playlist", "similarity"]
2021-05-14 18:22:14 +03:00
readme = "README.md"
2021-05-14 17:35:08 +03:00
2021-05-17 18:59:20 +03:00
[package.metadata.docs.rs]
2022-09-28 23:41:59 +03:00
features = ["bliss-audio-aubio-rs/rustdoc", "library"]
2021-05-17 18:59:20 +03:00
no-default-features = true
2021-05-14 17:35:08 +03:00
[features]
default = ["bliss-audio-aubio-rs/static"]
2021-06-13 15:07:17 +03:00
# Build ffmpeg instead of using the host's.
2021-05-14 17:35:08 +03:00
build-ffmpeg = ["ffmpeg-next/build"]
2022-02-16 20:18:39 +02:00
ffmpeg-static = ["ffmpeg-next/static"]
# Build for raspberry pis
rpi = ["ffmpeg-next/rpi"]
2023-04-01 17:58:07 +03:00
# Use if you get "No prebuilt bindings. Try use `bindgen` feature"
update-aubio-bindings = ["bliss-audio-aubio-rs/bindgen"]
2021-06-13 15:07:17 +03:00
# Use if you want to build python bindings with maturin.
2021-05-20 20:53:19 +03:00
python-bindings = ["bliss-audio-aubio-rs/fftw3"]
2021-06-13 15:07:17 +03:00
# Enable the benchmarks with `cargo +nightly bench --features=bench`
bench = []
2022-07-13 23:47:05 +03:00
library = [
"serde", "dep:rusqlite", "dep:dirs", "dep:tempdir",
"dep:anyhow", "dep:serde_ini", "dep:serde_json",
"dep:indicatif",
]
serde = ["dep:serde"]
2021-05-14 17:35:08 +03:00
[dependencies]
# Until https://github.com/aubio/aubio/issues/336 is somehow solved
2021-05-16 15:47:42 +03:00
# Hopefully we'll be able to use the official aubio-rs at some point.
bliss-audio-aubio-rs = "0.2.1"
crossbeam = "0.8.2"
ffmpeg-next = "6.0.0"
ffmpeg-sys-next = { version = "6.0.1", default-features = false }
log = "0.4.17"
ndarray = { version = "0.15.6", features = ["rayon"] }
num_cpus = "1.15.0"
ndarray-stats = "0.5.1"
noisy_float = "0.2.0"
ripemd = "0.1.3"
rustfft = "6.1.0"
thiserror = "1.0.40"
strum = "0.24.1"
strum_macros = "0.24.3"
rcue = "0.1.3"
2022-07-13 23:47:05 +03:00
# Deps for the library feature
serde = { version = "1.0", optional = true, features = ["derive"] }
serde_json = { version = "1.0.59", optional = true }
serde_ini = { version = "0.2.0", optional = true }
tempdir = { version = "0.3.7", optional = true }
rusqlite = { version = "0.28.0", optional = true }
dirs = { version = "5.0.0", optional = true }
2022-07-13 23:47:05 +03:00
anyhow = { version = "1.0.58", optional = true }
indicatif = { version = "0.17.0", optional = true }
[dev-dependencies]
ndarray-npy = { version = "0.8.1", default-features = false }
mime_guess = "2.0.3"
glob = "0.3.0"
anyhow = "1.0.45"
2021-11-27 14:13:54 +02:00
clap = "2.33.3"
pretty_assertions = "1.3.0"
2022-07-13 23:47:05 +03:00
serde_json = "1.0.59"
[[example]]
name = "library"
required-features = ["library"]
[[example]]
name = "library_extra_info"
required-features = ["library"]
[[example]]
name = "playlist"
required-features = ["serde"]