2021-12-03 21:13:19 +00:00
|
|
|
[package]
|
2022-07-01 22:33:37 +01:00
|
|
|
name = "muss-interpreter"
|
2022-07-09 02:24:46 +01:00
|
|
|
version = "0.9.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-09-21 00:41:23 +01:00
|
|
|
rusqlite = { version = "0.26", features = ["bundled"], optional = true }
|
|
|
|
sqlparser = { version = "0.23", optional = true }
|
2022-05-29 17:02:06 +01:00
|
|
|
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-07-15 21:17:24 +01:00
|
|
|
bliss-audio-symphonia = { version = "0.5", 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 }
|
2022-10-27 01:50:11 +01:00
|
|
|
base64 = { version = "0.13", optional = true }
|
|
|
|
m3u8-rs = { version = "3.0.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-10-27 01:50:11 +01:00
|
|
|
default = [ "music_library", "ergonomics", "advanced", "advanced-bliss", "fakesql", "collections" ]
|
|
|
|
music_library = [ "symphonia", "mpd", "base64" ] # song metadata parsing and database auto-population
|
|
|
|
collections = [ "m3u8-rs" ] # read from m3u8 playlists (and other song collections, eventually)
|
2022-06-19 02:46:33 +01:00
|
|
|
ergonomics = ["shellexpand", "unidecode"] # niceties like ~ in paths and unicode string sanitisation
|
2022-09-21 00:41:23 +01:00
|
|
|
advanced = [] # advanced language features like music analysis
|
|
|
|
advanced-bliss = ["bliss-audio-symphonia"] # bliss audio analysis
|
2022-10-27 01:50:11 +01:00
|
|
|
sql = [ "rusqlite" ] # sqlite database for music
|
|
|
|
fakesql = [ "sqlparser" ] # transpiled sqlite interpreter
|