4 releases

0.0.3 Mar 1, 2024
0.0.2 Dec 14, 2023
0.0.1 Nov 25, 2023
0.0.0 Nov 24, 2023

#1850 in Network programming

22 downloads per month
Used in 9 crates (8 directly)

Apache-2.0

21KB
498 lines

AWS CLI alternative written in Rust

This crate is a part of RAWS project - AWS CLI wriiten in Rust using AWS SDK for Rust

Code layout overview

  1. Each service support lives in its own crate under services/
  2. Text output is driven by implementing show::Show trait via config::Config object.

Adding new service

  1. workspace Cargo.toml - add respective aws-sdk-xxx crate as new dependency
  2. cargo new --lib services/xxx
  3. workspace Cargo.toml - add new crate to members
  4. services/xxx/Cargo.toml
  5. add "description = RAWS xxx component"
  6. add dependencies
  7. add lints
  8. In config crate: add Config::xxx() to produce a client object
  9. in show crate: impl Show for xxx::types::xxx
  10. if needed add specialized parsers in parsers crate

Dependencies

~81MB
~1M SLoC