Skip to content

Commit 194ffab

Browse files
committed
Looks like wasabi changed its region auth requirements
1 parent 91c374e commit 194ffab

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

aws-region/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aws-region"
3-
version = "0.25.5"
3+
version = "0.26.0"
44
authors = ["Drazen Urch"]
55
description = "Tiny Rust library for working with Amazon AWS regions, supports `s3` crate"
66
repository = "https://github.com/durch/rust-s3"

aws-region/src/region.rs

+13-13
Original file line numberDiff line numberDiff line change
@@ -158,19 +158,19 @@ impl fmt::Display for Region {
158158
DoSgp1 => write!(f, "sgp1"),
159159
DoFra1 => write!(f, "fra1"),
160160
Yandex => write!(f, "ru-central1"),
161-
WaUsEast1 => write!(f, "wa-us-east-1"),
162-
WaUsEast2 => write!(f, "wa-us-east-2"),
163-
WaUsCentral1 => write!(f, "wa-us-central-1"),
164-
WaUsWest1 => write!(f, "wa-us-west-1"),
165-
WaCaCentral1 => write!(f, "wa-ca-central-1"),
166-
WaEuCentral1 => write!(f, "wa-eu-central-1"),
167-
WaEuCentral2 => write!(f, "wa-eu-central-2"),
168-
WaEuWest1 => write!(f, "wa-eu-west-1"),
169-
WaEuWest2 => write!(f, "wa-eu-west-2"),
170-
WaApNortheast1 => write!(f, "wa-ap-northeast-1"),
171-
WaApNortheast2 => write!(f, "wa-ap-northeast-2"),
172-
WaApSoutheast1 => write!(f, "wa-ap-southeast-1"),
173-
WaApSoutheast2 => write!(f, "wa-ap-southeast-2"),
161+
WaUsEast1 => write!(f, "us-east-1"),
162+
WaUsEast2 => write!(f, "us-east-2"),
163+
WaUsCentral1 => write!(f, "us-central-1"),
164+
WaUsWest1 => write!(f, "us-west-1"),
165+
WaCaCentral1 => write!(f, "ca-central-1"),
166+
WaEuCentral1 => write!(f, "eu-central-1"),
167+
WaEuCentral2 => write!(f, "eu-central-2"),
168+
WaEuWest1 => write!(f, "eu-west-1"),
169+
WaEuWest2 => write!(f, "eu-west-2"),
170+
WaApNortheast1 => write!(f, "ap-northeast-1"),
171+
WaApNortheast2 => write!(f, "ap-northeast-2"),
172+
WaApSoutheast1 => write!(f, "ap-southeast-1"),
173+
WaApSoutheast2 => write!(f, "ap-southeast-2"),
174174
R2 { .. } => write!(f, "auto"),
175175
Custom { ref region, .. } => write!(f, "{}", region),
176176
}

0 commit comments

Comments
 (0)