mirror of https://github.com/smithy-lang/smithy-rs
075d40949a | ||
---|---|---|
.github/workflows | ||
codegen | ||
codegen-test | ||
gradle | ||
rust-runtime | ||
.gitignore | ||
.pre-commit-config.yaml | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
NOTICE | ||
README.md | ||
build.gradle.kts | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
settings.gradle.kts | ||
test.sh |
README.md
Smithy Rust
Smithy code generators for Rust
Setup
./gradlew
will setup gradle for you- 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