This repository contains some (or at least should contain in future) simple opinionated templates to start a Rust project, all following domain centric architecture principles.
To generate a project from a given template use cargo-generate. See command for templates below.
-
Command line interface parsing skeleton, using clap crate and a simple command pattern.
cargo generate -g niveau0/templates-rs cli-rs
- extend templates with async/sync switch for multiple async runtimes
- web service skeleton with a REST API
- optional WASM UI with tailwind css and trunk for bundling
- optional DB connection