aws: Allow a deprecated BehaviourVersion for now

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1864>
This commit is contained in:
Sebastian Dröge 2024-10-20 22:03:56 +03:00 committed by GStreamer Marge Bot
parent 21636f5b46
commit 00a4398aee
3 changed files with 3 additions and 0 deletions

View file

@ -24,6 +24,7 @@ use tokio::runtime;
pub const DEFAULT_S3_REGION: &str = "us-west-2";
#[allow(deprecated)]
pub static AWS_BEHAVIOR_VERSION: Lazy<aws_config::BehaviorVersion> =
Lazy::new(aws_config::BehaviorVersion::v2023_11_09);

View file

@ -48,6 +48,7 @@ static RUNTIME: Lazy<runtime::Runtime> = Lazy::new(|| {
.unwrap()
});
#[allow(deprecated)]
static AWS_BEHAVIOR_VERSION: Lazy<aws_config::BehaviorVersion> =
Lazy::new(aws_config::BehaviorVersion::v2023_11_09);

View file

@ -33,6 +33,7 @@ use std::time::{Duration, SystemTime};
const DEFAULT_AWS_REGION: &str = "us-east-1";
const DEFAULT_PING_TIMEOUT: i32 = 30;
#[allow(deprecated)]
pub static AWS_BEHAVIOR_VERSION: Lazy<aws_config::BehaviorVersion> =
Lazy::new(aws_config::BehaviorVersion::v2023_11_09);