diff --git a/backend-rs/.gitignore b/backend-rs/.gitignore new file mode 100644 index 0000000..050ce6d --- /dev/null +++ b/backend-rs/.gitignore @@ -0,0 +1,5 @@ +# Rust +/target + +# Application data +/streamfox_home* diff --git a/backend-rs/Cargo.lock b/backend-rs/Cargo.lock new file mode 100644 index 0000000..d92990e --- /dev/null +++ b/backend-rs/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "streamfox_backend" +version = "0.0.0" diff --git a/backend-rs/Cargo.toml b/backend-rs/Cargo.toml new file mode 100644 index 0000000..3d6125c --- /dev/null +++ b/backend-rs/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "streamfox_backend" +version = "0.0.0" +edition = "2021" + +[dependencies] diff --git a/backend-rs/rust-toolchain b/backend-rs/rust-toolchain new file mode 100644 index 0000000..bf867e0 --- /dev/null +++ b/backend-rs/rust-toolchain @@ -0,0 +1 @@ +nightly diff --git a/backend-rs/rustfmt.toml b/backend-rs/rustfmt.toml new file mode 100644 index 0000000..c00fdfc --- /dev/null +++ b/backend-rs/rustfmt.toml @@ -0,0 +1,6 @@ +group_imports = "One" +imports_granularity = "Module" +max_width = 100 +tab_spaces = 2 +unstable_features = true +wrap_comments = true diff --git a/backend-rs/src/main.rs b/backend-rs/src/main.rs new file mode 100644 index 0000000..80a1832 --- /dev/null +++ b/backend-rs/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}