awslabs / awslabs/aws-sdk-rust

[request]: Use `uuid::Uuid` instead of `String` for UUIDs

Open
#281 1 comment 8 reactions 0 assignees View on GitHub
feature-request p2
Dominant language
Rust
Stars
3.3k
Forks
290
Avg merge
1d 12h
Merged PRs (30d)
3

Description

It would be nice if UUIDs were typed more strictly than just `String`.
The `uuid` crate is ubiquitous for this purpose.

If the extra dependency is a concern, then it could be enabled as a feature in `Cargo.toml`.
`postgres` has a `with-uuid-0_8` feature.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing Cargo.toml and the SDK's UUID-related type definitions and generated API surfaces. Check how the postgres with-uuid-0_8 feature could inform dependency handling. Done means UUID fields use uuid::Uuid instead of String, with the dependency or feature configuration working across the affected SDK APIs.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.