Skip to content

Commit

Permalink
Add Rust hello world project
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksbgbg committed Feb 3, 2024
1 parent 0661d71 commit 9d29040
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend-rs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Rust
/target

# Application data
/streamfox_home*
7 changes: 7 additions & 0 deletions backend-rs/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions backend-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[package]
name = "streamfox_backend"
version = "0.0.0"
edition = "2021"

[dependencies]
1 change: 1 addition & 0 deletions backend-rs/rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nightly
6 changes: 6 additions & 0 deletions backend-rs/rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
group_imports = "One"
imports_granularity = "Module"
max_width = 100
tab_spaces = 2
unstable_features = true
wrap_comments = true
3 changes: 3 additions & 0 deletions backend-rs/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

0 comments on commit 9d29040

Please sign in to comment.