Skip to content

AndySaul/rust_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust server

My first stab at Rust. Currently, this is a single-threaded webserver with limited features.

This is based on the Udemy course and the Rust Book

Getting started

Installing rust

https://www.rust-lang.org/tools/install

After installing, run cargo commands from a terminal. Microsoft Visual Code has good Rust support

Cargo

https://doc.rust-lang.org/book/ch01-03-hello-cargo.html

Create a new Rust project:

cargo new project_name

Format all files in the project using Rust standardized formatting:

cargo fmt

Build & run in debug mode:

cargo run

Build debug binaries in ./target/debug

cargo build

Build release binaries in ./target/release

cargo build --release

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published