Skip to content

alextanhongpin/rust-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust API

Basic setup for Rust API project with Rocket.

Install

$ curl https://sh.rustup.rs -sSf | sh

Setup

$ rustup default nightly

$ rustup override set nightly

$ rustup update && cargo update

Rust Multi-stage build

The dockerized image is only 13MB in size:

# Build the docker image
$ docker build -t alextanhongpin/rust-api .

$ docker images | grep rust
alextanhongpin/rust-api                                                      latest              8f4359bacb1c        16 hours ago        13MB

About

Designing the structure for API with Rust Rocket

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published