Page MenuHomePhabricator

[comm-lib] Re-export AWS types
ClosedPublic

Authored by bartek on Dec 22 2023, 5:39 AM.
Tags
None
Referenced Files
F2208368: D10443.diff
Sun, Jul 7, 1:34 PM
Unknown Object (File)
Sat, Jul 6, 4:34 AM
Unknown Object (File)
Wed, Jul 3, 8:18 AM
Unknown Object (File)
Wed, Jul 3, 8:05 AM
Unknown Object (File)
Fri, Jun 28, 1:18 AM
Unknown Object (File)
Tue, Jun 25, 8:56 PM
Unknown Object (File)
Tue, Jun 25, 7:11 PM
Unknown Object (File)
Sun, Jun 23, 7:27 PM
Subscribers

Details

Summary

This was one time suggested by Jon that until we have cargo workspace, we can have AWS dependencies inside comm-lib and use exports from there in our services.
This is a first step towards that.
Also removed unnecessary aws-types dependency, it is already included as a part of aws-config.

Test Plan

Services compile

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Dec 22 2023, 5:56 AM
bartek added inline comments.
shared/comm-lib/Cargo.toml
48 ↗(On Diff #34971)

This is already included inside aws-config

shared/comm-lib/src/lib.rs
26–28 ↗(On Diff #34971)

Maybe it's worth re-exporting DynamoDBClient too?

michal added inline comments.
shared/comm-lib/src/lib.rs
26–28 ↗(On Diff #34971)

I think it makes sense (even just so it has a shorter name).

This revision is now accepted and ready to land.Jan 2 2024, 3:00 AM
This revision was automatically updated to reflect the committed changes.