4个版本

0.0.3 2024年3月1日
0.0.2 2023年12月14日
0.0.1 2023年11月25日
0.0.0 2023年11月25日

#5#raws

Download history 1/week @ 2024-05-17 4/week @ 2024-05-24 2/week @ 2024-05-31 33/week @ 2024-07-05 6/week @ 2024-07-12

109 每月下载量
raws 中使用

Apache-2.0

67KB
1.5K SLoC

Rust编写的AWS CLI替代方案

此crate是RAWS项目的一部分 - 使用Rust AWS SDK编写的AWS CLI

代码布局概述

  1. 每个服务都在services/目录下的单独crate中
  2. 文本输出通过通过config::Config对象实现show::Show trait来驱动。

添加新服务

  1. 工作区Cargo.toml - 将相应的aws-sdk-xxx crate作为新依赖项添加
  2. cargo new --lib services/xxx
  3. 工作区Cargo.toml - 将新crate添加到成员中
  4. services/xxx/Cargo.toml
  5. 添加 "description = RAWS xxx组件"
  6. 添加依赖项
  7. 添加lints
  8. 在config crate中:添加Config::xxx()以生成客户端对象
  9. 在show crate中:为xxx::types::xxx实现Show
  10. 如果需要,在parsers crate中添加专用解析器

依赖项

~106MB
~1.5M SLoC