Skip to content

Commit ad30558

Browse files
committed
re-enable aws feature gating
1 parent 2506bc2 commit ad30558

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

hydro_test/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ docker = ["hydro_lang/docker_deploy"]
1212
ecs = ["hydro_lang/ecs_deploy"]
1313
maelstrom = ["hydro_lang/maelstrom"]
1414
stageleft_macro_entrypoint = ["hydro_lang/stageleft_macro_entrypoint"]
15-
aws = []
16-
aws_sqs = ["aws"]
17-
# aws = ["dep:aws-config", "dep:futures_util"]
18-
# aws_sqs = ["aws", "dep:aws-sdk-sqs"]
15+
# aws = []
16+
# aws_sqs = ["aws"]
17+
aws = ["dep:aws-config", "dep:futures-util"]
18+
aws_sqs = ["aws", "dep:aws-sdk-sqs"]
1919

2020
[[example]]
2121
name = "aws_sqs"
@@ -45,9 +45,9 @@ hydro_build_utils = { path = "../hydro_build_utils", version = "^0.0.1", optiona
4545
aws-config = { version = "1", features = [
4646
"behavior-version-latest",
4747
"credentials-login",
48-
]}
49-
aws-sdk-sqs = { version = "1" }
50-
futures-util = { version = "0.3.0", default-features = false }
48+
], optional = true }
49+
aws-sdk-sqs = { version = "1", optional = true }
50+
futures-util = { version = "0.3.0", default-features = false, optional = true }
5151

5252
[build-dependencies]
5353
stageleft_tool.workspace = true

hydro_test/src/aws/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use hydro_lang::location::tick::NoAtomic;
33
use hydro_lang::location::{Location, NoTick};
44
use hydro_lang::prelude::*;
55

6-
// #[cfg(feature = "aws_sqs")]
6+
#[cfg(feature = "aws_sqs")]
77
pub mod sqs;
88

99
#[ctor::ctor]

hydro_test/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pub mod local;
99
pub mod maelstrom;
1010
pub mod tutorials;
1111

12-
// #[cfg(feature = "aws")]
12+
#[cfg(feature = "aws")]
1313
pub mod aws;
1414

1515
#[doc(hidden)]

0 commit comments

Comments
 (0)