2021-12-03 21:13:19 +00:00
|
|
|
[package]
|
2022-07-01 22:33:37 +01:00
|
|
|
name = "muss-interpreter"
|
2022-03-28 00:18:39 +01:00
|
|
|
version = "0.8.0"
|
2021-12-03 21:13:19 +00:00
|
|
|
edition = "2021"
|
2022-02-02 21:08:10 +00:00
|
|
|
license = "LGPL-2.1-only OR GPL-3.0-only"
|
2022-01-01 04:39:06 +00:00
|
|
|
readme = "README.md"
|
2022-03-27 18:30:47 +01:00
|
|
|
rust-version = "1.59"
|
2021-12-03 21:13:19 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-05-29 17:02:06 +01:00
|
|
|
rusqlite = { version = "0.26", features = ["bundled"] }
|
|
|
|
symphonia = { version = "0.5", optional = true, features = [
|
2022-02-03 21:56:17 +00:00
|
|
|
"aac", "alac", "flac", "mp3", "pcm", "vorbis", "isomp4", "ogg", "wav"
|
2021-12-03 21:13:19 +00:00
|
|
|
] }
|
2022-05-29 17:02:06 +01:00
|
|
|
dirs = { version = "4" }
|
2022-01-01 00:56:46 +00:00
|
|
|
regex = { version = "1" }
|
2022-01-31 02:13:19 +00:00
|
|
|
rand = { version = "0.8" }
|
2022-05-29 17:02:06 +01:00
|
|
|
shellexpand = { version = "2", optional = true }
|
2022-03-27 18:30:47 +01:00
|
|
|
bliss-audio-symphonia = { version = "0.4", optional = true, path = "../bliss-rs" }
|
2022-05-14 19:24:18 +01:00
|
|
|
mpd = { version = "0.0.12", optional = true }
|
2022-06-19 02:46:33 +01:00
|
|
|
unidecode = { version = "0.3.0", optional = true }
|
2021-12-03 21:13:19 +00:00
|
|
|
|
2022-03-26 02:52:17 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
criterion = "0.3"
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "file_parse"
|
|
|
|
harness = false
|
|
|
|
|
2021-12-03 21:13:19 +00:00
|
|
|
[features]
|
2022-01-25 05:04:25 +00:00
|
|
|
default = [ "music_library", "ergonomics", "advanced" ]
|
2022-05-14 19:24:18 +01:00
|
|
|
music_library = [ "symphonia", "mpd" ] # song metadata parsing and database auto-population
|
2022-06-19 02:46:33 +01:00
|
|
|
ergonomics = ["shellexpand", "unidecode"] # niceties like ~ in paths and unicode string sanitisation
|
2022-03-27 18:30:47 +01:00
|
|
|
advanced = ["bliss-audio-symphonia"] # advanced language features like bliss playlist generation
|