Skip to content

Commit

Permalink
Looks like wasabi changed its region auth requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
durch committed Aug 31, 2024
1 parent 91c374e commit 194ffab
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion aws-region/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aws-region"
version = "0.25.5"
version = "0.26.0"
authors = ["Drazen Urch"]
description = "Tiny Rust library for working with Amazon AWS regions, supports `s3` crate"
repository = "https://github.com/durch/rust-s3"
Expand Down
26 changes: 13 additions & 13 deletions aws-region/src/region.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,19 +158,19 @@ impl fmt::Display for Region {
DoSgp1 => write!(f, "sgp1"),
DoFra1 => write!(f, "fra1"),
Yandex => write!(f, "ru-central1"),
WaUsEast1 => write!(f, "wa-us-east-1"),
WaUsEast2 => write!(f, "wa-us-east-2"),
WaUsCentral1 => write!(f, "wa-us-central-1"),
WaUsWest1 => write!(f, "wa-us-west-1"),
WaCaCentral1 => write!(f, "wa-ca-central-1"),
WaEuCentral1 => write!(f, "wa-eu-central-1"),
WaEuCentral2 => write!(f, "wa-eu-central-2"),
WaEuWest1 => write!(f, "wa-eu-west-1"),
WaEuWest2 => write!(f, "wa-eu-west-2"),
WaApNortheast1 => write!(f, "wa-ap-northeast-1"),
WaApNortheast2 => write!(f, "wa-ap-northeast-2"),
WaApSoutheast1 => write!(f, "wa-ap-southeast-1"),
WaApSoutheast2 => write!(f, "wa-ap-southeast-2"),
WaUsEast1 => write!(f, "us-east-1"),
WaUsEast2 => write!(f, "us-east-2"),
WaUsCentral1 => write!(f, "us-central-1"),
WaUsWest1 => write!(f, "us-west-1"),
WaCaCentral1 => write!(f, "ca-central-1"),
WaEuCentral1 => write!(f, "eu-central-1"),
WaEuCentral2 => write!(f, "eu-central-2"),
WaEuWest1 => write!(f, "eu-west-1"),
WaEuWest2 => write!(f, "eu-west-2"),
WaApNortheast1 => write!(f, "ap-northeast-1"),
WaApNortheast2 => write!(f, "ap-northeast-2"),
WaApSoutheast1 => write!(f, "ap-southeast-1"),
WaApSoutheast2 => write!(f, "ap-southeast-2"),
R2 { .. } => write!(f, "auto"),
Custom { ref region, .. } => write!(f, "{}", region),
}
Expand Down

0 comments on commit 194ffab

Please sign in to comment.