Skip to content

Commit

Permalink
Add CLI backend
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed Jan 25, 2024
1 parent 6239c73 commit c700ab5
Show file tree
Hide file tree
Showing 14 changed files with 5,482 additions and 673 deletions.
26 changes: 14 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 11 additions & 3 deletions aws-throwaway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ description = "An aws-sdk wrapper to spin up temporary resources."

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
use_sdk = ["aws-sdk-ec2", "aws-sdk-iam", "aws-config"]
default = ["use_sdk"]

[dependencies]
aws-sdk-ec2 = "1.1.0"
aws-sdk-iam = "1.1.0"
aws-config = "1.0.0"
aws-sdk-ec2 = { version = "1.1.0", optional = true }
aws-sdk-iam = { version = "1.1.0", optional = true }
aws-config = { version = "1.0.0", optional = true }
russh = "0.40.0"
russh-keys = "0.40.0"
base64 = "0.21.2"
Expand All @@ -21,6 +25,10 @@ anyhow = "1.0.42"
uuid = { version = "1.0.0", features = ["serde", "v4"] }
tracing = "0.1.15"
async-trait = "0.1.30"
# TODO: avoid pulling in these dependencies when use_sdk is disabled,
# will need to introduce a use_cli feature to do so
serde = { version = "1.0.195", features = ["derive"] }
serde_json = "1.0.111"

[dev-dependencies]
tracing-subscriber = { version = "0.3.1", features = ["env-filter", "json"] }
Expand Down
Loading

0 comments on commit c700ab5

Please sign in to comment.