2024-03-04 16:15:15 +03:00
|
|
|
[package]
|
|
|
|
name = "monolib"
|
2024-08-26 20:29:14 +03:00
|
|
|
version = "0.7.1"
|
2024-03-04 16:15:15 +03:00
|
|
|
edition = "2021"
|
|
|
|
license = "MIT"
|
2024-03-15 18:31:06 +03:00
|
|
|
description = "A library implementing the lonely radio audio streaming protocol"
|
|
|
|
repository = "https://github.com/ivabus/lonelyradio"
|
2024-05-16 08:28:18 +03:00
|
|
|
authors = ["Ivan Bushchik <ivabus@ivabus.dev>"]
|
2024-03-15 18:31:06 +03:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "monolib"
|
2024-07-12 23:25:36 +03:00
|
|
|
crate-type = ["cdylib", "staticlib", "rlib"]
|
2024-03-04 16:15:15 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2024-08-26 20:08:19 +03:00
|
|
|
rodio = { version = "0.19.0", default-features = false }
|
2024-03-04 16:15:15 +03:00
|
|
|
byteorder = "1.5.0"
|
2024-03-14 20:50:01 +03:00
|
|
|
rmp-serde = "1.1.2"
|
2024-08-26 20:08:19 +03:00
|
|
|
lonelyradio_types = { version = "0.7.0", path = "../lonelyradio_types" }
|
|
|
|
anyhow = "1.0.86"
|
|
|
|
|
|
|
|
# Optional decoders
|
|
|
|
claxon = { version = "0.4.3", optional = true }
|
|
|
|
symphonia-codec-alac = {version = "0.5.4", optional = true }
|
|
|
|
symphonia-core = {version = "0.5.4", optional = true }
|
|
|
|
vorbis_rs = {version = "0.5.4", optional = true }
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["all-lossless", "all-lossy"]
|
|
|
|
all-lossless = ["alac", "flac"]
|
|
|
|
all-lossy = ["vorbis"]
|
|
|
|
alac = ["dep:symphonia-codec-alac", "dep:symphonia-core"]
|
|
|
|
flac = ["dep:claxon"]
|
|
|
|
vorbis = ["dep:vorbis_rs"]
|
2024-07-12 23:25:36 +03:00
|
|
|
|
|
|
|
[package.metadata.xcframework]
|
|
|
|
include-dir = "src"
|
|
|
|
lib-type = "cdylib"
|
|
|
|
zip = false
|
|
|
|
macOS = true
|
|
|
|
iOS = true
|
2024-08-26 20:08:19 +03:00
|
|
|
#tvOS = true
|
2024-07-12 23:25:36 +03:00
|
|
|
simulators = true
|