Home

Awesome

The Atelier Project

Rust native library and tools for the AWS Smithy Interface Definition Language.

MIT License Minimum Rust Version Rust Audit GitHub stars Gitpod ready-to-code

Smithy is a framework around a language and runtime neutral IDL for service definition. It consists of a semantic model, a native IDL representation, and a mapping to JSON. The goal of this work is to replicate these core components of Smithy in Rust but also to experiment in alternate integrations such as the representation of the semantic model in RDF. This work should provide the basis for Rust code generation from a Smithy model and other tooling opportunities, but those are not included in this repo.

The Name "Atelier"

Given that a Smithy is "the workshop of a smith", this project has been named for "an artist's or designer's studio or workroom". Also, given that Fashion Tech. is just a damn fun place to be these days, it seemed appropriate.

Crates

This repo contains a number of crates that provide different aspects, or capabilities, around Smithy processing. For clients that wish to use a number of features but don't want to track individual version compatibility the atelier_lib crate incorporates all, except the cargo command, using features to select the different capabilities.

crateContentStatus
atelier_coreThe Model, Builder, and Selector types and I/O traits.Model: Done, Builder: Done, Tests: OK
atelier_assemblermerge files into a single in-memory Model.Model: Done, Tests: Low
atelier_describeModel documentation writer, uses somedoc crate.Writer: 75%, Tests: Low
atelier_jsonThe serializer/de-serializer for the JSON AST.Reader/Writer: Done, Tests: Low
atelier_libRe-export structures from previous crates.Done.
atelier_openapiA Serializer only to OpenAPI.Not Started
atelier_queryEvaluator for Smithy select expressions.Not Started
atelier_rdfThe serializer/de-serializer to RDF.Model: Done, Writer: Done, Tests: Low
atelier_smithyThe serializer/de-serializer for native Smithy.Reader/Writer: Done, Tests: Low
cargo_atelierCargo command to lint, validate, and convert models.Commands working correctly.

Book

This repo also contains the source (using mdbook) of a more complete documentation set. This is built using GitHub pages and accessible at rust-atelier.dev.

Changes

See individual crate README files.