radiobrowser-lib-rust/Cargo.toml

63 lines
2.7 KiB
TOML
Raw Normal View History

2022-04-18 23:55:26 +00:00
[package]
2022-04-21 20:47:23 +00:00
name = "radiobrowser"
2023-10-20 18:52:08 +00:00
version = "0.6.1"
2022-04-21 21:05:54 +00:00
authors = ["segler_alex <segler_alex@web.de>"]
2022-04-18 23:55:26 +00:00
edition = "2021"
2022-04-21 20:59:15 +00:00
license = "MIT"
keywords = ["audio", "api", "radiobrowser"]
categories = ["multimedia::audio", "multimedia", "api-bindings"]
documentation = "https://docs.rs/radiobrowser"
2022-04-21 21:05:54 +00:00
description = "Client library for radiobrowser compatible servers with auto fallback to other available servers"
2022-04-21 20:59:15 +00:00
readme = "README.md"
repository = "https://gitlab.com/radiobrowser/radiobrowser-lib-rust"
2022-04-18 23:55:26 +00:00
[dependencies]
2022-09-14 06:56:42 +00:00
async-std = { version = "1.12.0", features = ["attributes", "tokio1"] }
2023-10-20 18:46:52 +00:00
async-std-resolver = "0.24.0"
chrono = { version = "0.4.31", features = ["serde"], optional = true }
2023-09-13 20:13:10 +00:00
log = { version = "0.4.20" }
2022-04-20 19:51:14 +00:00
rand = { version = "0.8.5" }
2023-10-20 18:46:52 +00:00
reqwest = { version = "0.11.22", default-features = false, features = ["json"] }
serde = { version = "1.0.189", features = ["derive"] }
serde_json = "1.0.108"
2023-10-20 18:46:52 +00:00
[dev-dependencies]
futures = { version = "0.3.28" }
2022-04-21 21:03:49 +00:00
2022-04-26 20:26:46 +00:00
[features]
2023-09-13 20:13:10 +00:00
default = ["chrono", "blocking", "nativetls"]
default-rustls = ["chrono", "blocking", "rustls"]
2022-04-26 20:26:46 +00:00
blocking = []
2023-09-13 20:13:10 +00:00
nativetls = ["reqwest/default-tls"]
rustls = ["reqwest/rustls-tls"]
gzip = ["reqwest/gzip"]
brotli = ["reqwest/brotli"]
deflate = ["reqwest/deflate"]
2022-04-26 20:26:46 +00:00
2023-10-20 18:46:52 +00:00
[[example]]
2022-05-06 21:18:52 +00:00
name = "test"
required-features = ["blocking"]
2022-04-21 21:03:49 +00:00
[badges]
# The `maintenance` table indicates the status of the maintenance of
# the crate. This may be used by a registry, but is currently not
# used by crates.io. See https://github.com/rust-lang/crates.io/issues/2437
# and https://github.com/rust-lang/crates.io/issues/2438 for more details.
#
# The `status` field is required. Available options are:
# - `actively-developed`: New features are being added and bugs are being fixed.
# - `passively-maintained`: There are no plans for new features, but the maintainer intends to
# respond to issues that get filed.
# - `as-is`: The crate is feature complete, the maintainer does not intend to continue working on
# it or providing support, but it works for the purposes it was designed for.
# - `experimental`: The author wants to share it with the community but is not intending to meet
# anyone's particular use case.
# - `looking-for-maintainer`: The current maintainer would like to transfer the crate to someone
# else.
# - `deprecated`: The maintainer does not recommend using this crate (the description of the crate
# can describe why, there could be a better solution available or there could be problems with
# the crate that the author does not want to fix).
# - `none`: Displays no badge on crates.io, since the maintainer has not chosen to specify
# their intentions, potential crate users will need to investigate on their own.
maintenance = { status = "actively-developed" }