atelier_assembler 0.1.1

Implements the Smithy model assembler pattern, to merge files into a single in-memory Model.
Documentation

Atelier: crate atelier_assembler

This crate provides the model assembly capability, to merge files into a single in-memory Model.

crates.io docs.rs

A tool can add files one-by-one, or from a directory, and then process them all into a single model. This implementation understands the different registered file extensions so that it can read files in different representations and assemble them seamlessly.

For more information, see the Rust Atelier book.

Changes

Version 0.1.1

  • Refactored to produce:
    • A FileReader function type that parses a file type.
    • A FileType that matches a name, reader, and MIME type.
    • A FileTypeRegistry that matches one or more file extensions to a file type.

Version 0.1.0

  • Extracted from the atelier_lib crate.