mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 06:50:59 +00:00
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:
parent
21636f5b46
commit
00a4398aee
3 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,7 @@ use tokio::runtime;
|
||||||
|
|
||||||
pub const DEFAULT_S3_REGION: &str = "us-west-2";
|
pub const DEFAULT_S3_REGION: &str = "us-west-2";
|
||||||
|
|
||||||
|
#[allow(deprecated)]
|
||||||
pub static AWS_BEHAVIOR_VERSION: Lazy<aws_config::BehaviorVersion> =
|
pub static AWS_BEHAVIOR_VERSION: Lazy<aws_config::BehaviorVersion> =
|
||||||
Lazy::new(aws_config::BehaviorVersion::v2023_11_09);
|
Lazy::new(aws_config::BehaviorVersion::v2023_11_09);
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,7 @@ static RUNTIME: Lazy<runtime::Runtime> = Lazy::new(|| {
|
||||||
.unwrap()
|
.unwrap()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
#[allow(deprecated)]
|
||||||
static AWS_BEHAVIOR_VERSION: Lazy<aws_config::BehaviorVersion> =
|
static AWS_BEHAVIOR_VERSION: Lazy<aws_config::BehaviorVersion> =
|
||||||
Lazy::new(aws_config::BehaviorVersion::v2023_11_09);
|
Lazy::new(aws_config::BehaviorVersion::v2023_11_09);
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,7 @@ use std::time::{Duration, SystemTime};
|
||||||
const DEFAULT_AWS_REGION: &str = "us-east-1";
|
const DEFAULT_AWS_REGION: &str = "us-east-1";
|
||||||
const DEFAULT_PING_TIMEOUT: i32 = 30;
|
const DEFAULT_PING_TIMEOUT: i32 = 30;
|
||||||
|
|
||||||
|
#[allow(deprecated)]
|
||||||
pub static AWS_BEHAVIOR_VERSION: Lazy<aws_config::BehaviorVersion> =
|
pub static AWS_BEHAVIOR_VERSION: Lazy<aws_config::BehaviorVersion> =
|
||||||
Lazy::new(aws_config::BehaviorVersion::v2023_11_09);
|
Lazy::new(aws_config::BehaviorVersion::v2023_11_09);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue