Go to file
Russell Cohen 88ca4fedd8
[chore] Move AWS codegeneration into its own folder (#166)
This allows us to deliniate AWS runtime vs. Smithy runtime and will make a future separation easier
2021-01-19 15:23:07 -05:00
.github/workflows [chore] Move AWS codegeneration into its own folder (#166) 2021-01-19 15:23:07 -05:00
aws [chore] Move AWS codegeneration into its own folder (#166) 2021-01-19 15:23:07 -05:00
codegen Fix Enum Serialization (#160) 2021-01-15 15:15:38 -05:00
codegen-test Fix Enum Serialization (#160) 2021-01-15 15:15:38 -05:00
gradle Add pre-commit hooks (#17) 2020-11-04 22:09:00 -05:00
rust-runtime Remove all hand-written serializers (#100) 2021-01-01 08:32:36 -05:00
.gitignore Add Kotlin codegen 2020-10-28 11:00:49 -04:00
.pre-commit-config.yaml Upgrade Smithy & Kotlin to latest (#82) 2020-12-14 10:58:04 -05:00
CODE_OF_CONDUCT.md Initial commit 2020-10-28 06:37:45 -07:00
CONTRIBUTING.md Initial commit 2020-10-28 06:37:45 -07:00
LICENSE Initial commit 2020-10-28 06:37:45 -07:00
NOTICE Initial commit 2020-10-28 06:37:45 -07:00
README.md [chore] Move AWS codegeneration into its own folder (#166) 2021-01-19 15:23:07 -05:00
build.gradle.kts Run all tests in the same cargo workspace (#28) 2020-11-17 11:35:30 -05:00
gradle.properties Upgrade Smithy & Kotlin to latest (#82) 2020-12-14 10:58:04 -05:00
gradlew Add gradle files 2020-10-28 11:01:13 -04:00
gradlew.bat Add gradle files 2020-10-28 11:01:13 -04:00
settings.gradle.kts [chore] Move AWS codegeneration into its own folder (#166) 2021-01-19 15:23:07 -05:00
test.sh Customization Abstractions & Config Generation (#96) 2020-12-30 10:34:29 -05:00

README.md

Smithy Rust status

Smithy code generators for Rust

Setup

  1. ./gradlew will setup gradle for you
  2. Running tests requires a working Rust installation. See Rust docs for installation instructions on your platform.

Run tests

./tesh.sh

This will run all the unit tests, codegen an example model end-to-end and validates that the generated code compiles.

Development

For development, pre-commit hooks may be useful. Setup:

brew install pre-commit # (or appropriate for your platform: https://pre-commit.com/)
pre-commit install

Project Layout

  • aws: AWS specific codegen & Rust code (signing, endpoints, customizations, etc.)
  • codegen: Whitelabel Smithy code generation
  • codegen-test: Smithy protocol test generation & integration tests for Smithy whitelabel code