Skip to content

Commit

Permalink
Bump version to 0.23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sehkone authored Oct 23, 2024
1 parent 6058c10 commit 3919db8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ file 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.23.0] - 2024-10-23

### Changed

Expand Down Expand Up @@ -708,7 +708,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).

- An initial version.

[Unreleased]: https://github.com/aicers/review-web/compare/0.22.0...main
[0.23.0]: https://github.com/aicers/review-web/compare/0.22.0...0.23.0
[0.22.0]: https://github.com/aicers/review-web/compare/0.21.0...0.22.0
[0.21.0]: https://github.com/aicers/review-web/compare/0.20.0...0.21.0
[0.20.0]: https://github.com/aicers/review-web/compare/0.19.0...0.20.0
Expand Down
18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "review-web"
version = "0.22.0"
version = "0.23.0"
edition = "2021"

[dependencies]
Expand All @@ -9,7 +9,7 @@ async-graphql = { version = "7", features = ["chrono", "string_number"] }
async-graphql-axum = "7"
async-trait = "0.1"
axum = { version = "0.7", features = ["macros", "tokio", "ws"] }
axum-server = { version = "0.6", features = ["tls-rustls"] }
axum-server = { version = "0.7", features = ["tls-rustls"] }
axum-extra = { version = "0.9", features = ["typed-header"] }
bincode = "1"
chrono = { version = ">=0.4.35", default-features = false, features = [
Expand All @@ -18,7 +18,7 @@ chrono = { version = ">=0.4.35", default-features = false, features = [
data-encoding = "2"
futures = "0.3"
futures-util = "0.3"
http = "1.1"
http = "1"
ip2location = "0.5"
ipnet = { version = "2", features = ["serde"] }
jsonwebtoken = "9"
Expand All @@ -27,28 +27,28 @@ reqwest = { version = "0.12", default-features = false, features = [
"rustls-tls-native-roots",
] }
review-database = { git = "https://github.com/petabi/review-database.git", tag = "0.31.0" }
roxy = { git = "https://github.com/aicers/roxy.git", tag = "0.2.1" }
roxy = { git = "https://github.com/aicers/roxy.git", tag = "0.3.0" }
rustls = { version = "0.23", default-features = false, features = [
"ring",
"std",
] } # should be the same version as what reqwest depends on
rustls-native-certs = "0.7"
rustls-pemfile = "2.0"
rustls-native-certs = "0.8"
rustls-pemfile = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
strum = "0.26"
strum_macros = "0.26"
thiserror = "1"
tokio = "1"
tower-http = { version = "0.5", features = ["fs", "trace"] }
tower-http = { version = "0.6", features = ["fs", "trace"] }
tracing = "0.1"
vinum = { git = "https://github.com/vinesystems/vinum.git", tag = "1.0.3" }

[dev-dependencies]
assert-json-diff = "2.0.2"
assert-json-diff = "2"
config = { version = "0.14", features = ["toml"], default-features = false }
futures = "0.3"
serial_test = "3.1"
serial_test = "3"
tempfile = "3"
tokio = { version = "1", features = ["rt-multi-thread", "signal", "sync"] }
tracing-appender = "0.2"
Expand Down
13 changes: 6 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,12 @@ fn build_client_config<P: AsRef<Path>>(
) -> Result<ClientConfig, anyhow::Error> {
let mut root_store = RootCertStore::empty();
if with_platform_root {
match rustls_native_certs::load_native_certs() {
Ok(certs) => {
for cert in certs {
root_store.add(cert)?;
}
}
Err(e) => tracing::error!("Could not load platform certificates: {:#}", e),
let certs = rustls_native_certs::load_native_certs();
for c in certs.certs {
root_store.add(c)?;
}
for e in certs.errors {
tracing::warn!("Could not load platform certificate: {:#}", e);
}
}
for root in root_ca {
Expand Down

0 comments on commit 3919db8

Please sign in to comment.