This file is part of: Rust Template Stack
Copyright (c) 2024 Nico Jan Eelhart
This source code is licensed under the MIT License found in the ‘LICENSE.md’ file in the root directory of this source tree.
What Rust service
This is a Rust base image with optional project extensions for Rust frameworks (Rocket & Warp currently). It contains:
- Debian container with Rust.
- Instructions for creating a local development container.
- Instructions for adding additional frameworks.
You can use this container to develop your Rust-based web application, When installing one of the web frameworks a project with a default sample web application will be created. Directory structure:
- RustService contains the Rust base service and the extension docker files
- Howtos directory with explanations of installation procedures and other instructions
- workdir directory that will be ‘bind mounted’ in Linux for projects (Note, Linux directories in small case)
For the first stable release, use the release/1.0 template branch
Where to find more information
More documents can be found in the ‘Howto” directory.
- For creating and starting this Rust Docker container: open how to create a development container
- To add framework projects, these instructions are also available in the same document, click here to go directly to that paragraph.
Side note: Personal maintenance instructions
Personal maintenance instructions
The template containers are maintained only in the DTS. I copy these to a project directory and customize them there for the project. If the customization is generic, I will merge it into the DTS template project
Personal project structure
Docker-Template-Stacks (DTS) Project Location DTS\PHP Development Template Stack\ \Php\Projects\projectX DTS\Rust Template Stack\ \Rust\Projects\ProjectY
Update: these template central!