diff --git a/src/backends/s3.rs b/src/backends/s3.rs index 6839f86..70f5592 100644 --- a/src/backends/s3.rs +++ b/src/backends/s3.rs @@ -22,20 +22,15 @@ const MAX_KEYS: u8 = 100; /// /// Currently S3, GCS, and DigitalOcean Spaces supported. #[allow(clippy::upper_case_acronyms)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Default)] pub enum EndPoint { + #[default] S3, S3DualStack, GCS, DigitalOceanSpaces, } -impl Default for EndPoint { - fn default() -> Self { - EndPoint::S3 - } -} - /// `ReleaseList` Builder #[derive(Clone, Debug)] pub struct ReleaseListBuilder {