mirror of
https://gitlab.com/hladislav/radiobrowser-lib-rust.git
synced 2025-04-29 23:34:12 +00:00
updated, 0.6.0
This commit is contained in:
parent
8d6de01e19
commit
ce692720c1
3 changed files with 30 additions and 9 deletions
15
CHANGELOG.md
Normal file
15
CHANGELOG.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.6.0] 2023-09-13
|
||||
|
||||
### Fixed
|
||||
|
||||
* dependencies updated
|
||||
* added features: brotli, rustls, gzip, deflate, default-rustls
|
22
Cargo.toml
22
Cargo.toml
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "radiobrowser"
|
||||
version = "0.5.0"
|
||||
version = "0.6.0"
|
||||
authors = ["segler_alex <segler_alex@web.de>"]
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
@ -13,17 +13,23 @@ repository = "https://gitlab.com/radiobrowser/radiobrowser-lib-rust"
|
|||
|
||||
[dependencies]
|
||||
async-std = { version = "1.12.0", features = ["attributes", "tokio1"] }
|
||||
async-std-resolver = "0.22.0"
|
||||
chrono = { version = "0.4.23", features = ["serde"], optional = true }
|
||||
futures = { version = "0.3.25" }
|
||||
log = { version = "0.4.17" }
|
||||
async-std-resolver = "0.23.0"
|
||||
chrono = { version = "0.4.30", features = ["serde"], optional = true }
|
||||
futures = { version = "0.3.28" }
|
||||
log = { version = "0.4.20" }
|
||||
rand = { version = "0.8.5" }
|
||||
reqwest = { version = "0.11.14", features = ["json"] }
|
||||
serde = { version = "1.0.152", features = ["derive"] }
|
||||
reqwest = { version = "0.11.20", default-features = false, features = ["json"] }
|
||||
serde = { version = "1.0.188", features = ["derive"] }
|
||||
|
||||
[features]
|
||||
default = ["chrono", "blocking"]
|
||||
default = ["chrono", "blocking", "nativetls"]
|
||||
default-rustls = ["chrono", "blocking", "rustls"]
|
||||
blocking = []
|
||||
nativetls = ["reqwest/default-tls"]
|
||||
rustls = ["reqwest/rustls-tls"]
|
||||
gzip = ["reqwest/gzip"]
|
||||
brotli = ["reqwest/brotli"]
|
||||
deflate = ["reqwest/deflate"]
|
||||
|
||||
[[bin]]
|
||||
name = "test"
|
||||
|
|
|
@ -149,7 +149,7 @@ impl RadioBrowserAPI {
|
|||
config::ResolverConfig::default(),
|
||||
config::ResolverOpts::default(),
|
||||
)
|
||||
.await?;
|
||||
.await;
|
||||
let response = resolver
|
||||
.lookup(
|
||||
srvname.as_ref(),
|
||||
|
|
Loading…
Reference in a new issue