2021-05-14 17:35:08 +03:00
|
|
|
[package]
|
2021-05-17 23:23:29 +03:00
|
|
|
name = "bliss-audio"
|
2022-09-26 23:55:10 +03:00
|
|
|
version = "0.6.1"
|
2021-05-14 17:35:08 +03:00
|
|
|
authors = ["Polochon-street <polochonstreet@gmx.fr>"]
|
|
|
|
edition = "2018"
|
2021-05-15 20:21:39 +03:00
|
|
|
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"
|
2021-06-01 19:02:15 +03:00
|
|
|
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]
|
|
|
|
features = ["bliss-audio-aubio-rs/rustdoc"]
|
|
|
|
no-default-features = true
|
|
|
|
|
2021-05-14 17:35:08 +03:00
|
|
|
[features]
|
2021-07-07 18:45:05 +03:00
|
|
|
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"]
|
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]
|
|
|
|
ripemd160 = "0.9.0"
|
|
|
|
ndarray-npy = "0.8.0"
|
|
|
|
ndarray = { version = "0.15.0", features = ["rayon"] }
|
|
|
|
num_cpus = "1.13.0"
|
|
|
|
ndarray-stats = "0.5.0"
|
|
|
|
rustfft = "5.0.1"
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
rayon = "1.5.0"
|
|
|
|
crossbeam = "0.8.0"
|
|
|
|
noisy_float = "0.2.0"
|
2022-08-14 16:42:22 +03:00
|
|
|
ffmpeg-next = "5.1.1"
|
2021-05-14 17:35:08 +03:00
|
|
|
log = "0.4.14"
|
|
|
|
env_logger = "0.8.3"
|
|
|
|
thiserror = "1.0.24"
|
2021-05-15 19:32:13 +03:00
|
|
|
# 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.0"
|
2021-06-01 19:02:15 +03:00
|
|
|
strum = "0.21"
|
|
|
|
strum_macros = "0.21"
|
2022-04-14 21:42:29 +03:00
|
|
|
rcue = "0.1.1"
|
2021-11-03 20:57:16 +02:00
|
|
|
|
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.27.0", optional = true }
|
|
|
|
dirs = { version = "4.0.0", optional = true }
|
|
|
|
anyhow = { version = "1.0.58", optional = true }
|
|
|
|
indicatif = { version = "0.17.0", optional = true }
|
|
|
|
|
2021-11-03 20:57:16 +02:00
|
|
|
[dev-dependencies]
|
|
|
|
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"
|
2022-04-15 00:52:32 +03:00
|
|
|
pretty_assertions = "1.2.1"
|
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"]
|