2021-05-14 15:35:08 +01:00
|
|
|
[package]
|
2021-05-17 21:23:29 +01:00
|
|
|
name = "bliss-audio"
|
2022-09-28 22:33:14 +01:00
|
|
|
version = "0.6.3"
|
2021-05-14 15:35:08 +01:00
|
|
|
authors = ["Polochon-street <polochonstreet@gmx.fr>"]
|
|
|
|
edition = "2018"
|
2021-05-15 18:21:39 +01:00
|
|
|
license = "GPL-3.0-only"
|
2021-05-14 16:22:14 +01: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 17:02:15 +01:00
|
|
|
keywords = ["audio", "analysis", "MIR", "playlist", "similarity"]
|
2021-05-14 16:22:14 +01:00
|
|
|
readme = "README.md"
|
2021-05-14 15:35:08 +01:00
|
|
|
|
2021-05-17 16:59:20 +01:00
|
|
|
[package.metadata.docs.rs]
|
2022-09-28 21:41:59 +01:00
|
|
|
features = ["bliss-audio-aubio-rs/rustdoc", "library"]
|
2021-05-17 16:59:20 +01:00
|
|
|
no-default-features = true
|
|
|
|
|
2021-05-14 15:35:08 +01:00
|
|
|
[features]
|
2021-07-07 16:45:05 +01:00
|
|
|
default = ["bliss-audio-aubio-rs/static"]
|
2021-06-13 13:07:17 +01:00
|
|
|
# Build ffmpeg instead of using the host's.
|
2021-05-14 15:35:08 +01:00
|
|
|
build-ffmpeg = ["ffmpeg-next/build"]
|
2022-02-16 18:18:39 +00:00
|
|
|
ffmpeg-static = ["ffmpeg-next/static"]
|
2021-06-13 13:07:17 +01:00
|
|
|
# Use if you want to build python bindings with maturin.
|
2021-05-20 18:53:19 +01:00
|
|
|
python-bindings = ["bliss-audio-aubio-rs/fftw3"]
|
2021-06-13 13:07:17 +01:00
|
|
|
# Enable the benchmarks with `cargo +nightly bench --features=bench`
|
|
|
|
bench = []
|
2022-07-13 21:47:05 +01: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 15:35:08 +01: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 14:42:22 +01:00
|
|
|
ffmpeg-next = "5.1.1"
|
2021-05-14 15:35:08 +01:00
|
|
|
log = "0.4.14"
|
|
|
|
env_logger = "0.8.3"
|
|
|
|
thiserror = "1.0.24"
|
2021-05-15 17:32:13 +01:00
|
|
|
# Until https://github.com/aubio/aubio/issues/336 is somehow solved
|
2021-05-16 13:47:42 +01: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 17:02:15 +01:00
|
|
|
strum = "0.21"
|
|
|
|
strum_macros = "0.21"
|
2022-04-14 19:42:29 +01:00
|
|
|
rcue = "0.1.1"
|
2021-11-03 18:57:16 +00:00
|
|
|
|
2022-07-13 21:47:05 +01: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 18:57:16 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
mime_guess = "2.0.3"
|
|
|
|
glob = "0.3.0"
|
|
|
|
anyhow = "1.0.45"
|
2021-11-27 12:13:54 +00:00
|
|
|
clap = "2.33.3"
|
2022-04-14 22:52:32 +01:00
|
|
|
pretty_assertions = "1.2.1"
|
2022-07-13 21:47:05 +01: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"]
|