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