Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use smithy-rs to generate shapes for Rust #369

Closed
robin-aws opened this issue May 16, 2024 · 1 comment
Closed

Use smithy-rs to generate shapes for Rust #369

robin-aws opened this issue May 16, 2024 · 1 comment
Assignees
Labels

Comments

@robin-aws
Copy link
Contributor

robin-aws commented May 16, 2024

Ideally we should be able to take a dependency on the smithy-rs plugins and use it to generate most of the types for the Rust interface to a polymorph library (see https://github.com/smithy-lang/smithy-dafny/blob/main-1.x/TestModels/SimpleTypes/SimpleString/runtimes/rust/README.md)

It sounds like we can likely provide some kind of "no-op protocol" as a plugin and omit most of the code that isn't relevant.

Depends on smithy-lang/smithy-rs#421 since the smithy-rs plugins aren't published to Maven Central yet. For now we can use a submodule and local maven publishing.

@robin-aws
Copy link
Contributor Author

This is more of an implementation idea than a task to complete - closing in favor of concrete deliverables such as #375

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant