diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..c9b66a7 --- /dev/null +++ b/CHANGELOG.md @@ -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 diff --git a/Cargo.toml b/Cargo.toml index d21ac2c..482e64a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "radiobrowser" -version = "0.5.0" +version = "0.6.0" authors = ["segler_alex "] 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" diff --git a/src/api.rs b/src/api.rs index f7fde72..6a3887b 100644 --- a/src/api.rs +++ b/src/api.rs @@ -149,7 +149,7 @@ impl RadioBrowserAPI { config::ResolverConfig::default(), config::ResolverOpts::default(), ) - .await?; + .await; let response = resolver .lookup( srvname.as_ref(),