arnaucube
arnaucube/sonobe-playgroundPublic Self-hosted repository
Rust project structure
Piotr Mikołajczyk piomiko41@gmail.com
Thu, 26 Sep 2024 17:09:34 +0200
commit

72724432a941a6d0365b7614a7f1b37a16ac271a

parent

8b85ab81c2173f553460713392ee60061359c8d9

5 files changed, 28 insertions(+), 0 deletions(-)

jump to
A Cargo.lock

@@ -0,0 +1,7 @@

+# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "playground" +version = "0.1.0"
A Cargo.toml

@@ -0,0 +1,7 @@

+[package] +name = "playground" +version = "0.1.0" +edition = "2021" +authors = ["Piotr Mikołajczyk <piomiko41@gmail.com>"] + +[dependencies]
A rust-toolchain.toml

@@ -0,0 +1,4 @@

+[toolchain] +channel = "1.79" +components = [ "rustfmt", "clippy", "rust-src" ] +targets = [ "x86_64-unknown-linux-gnu" ]
A rustfmt.toml

@@ -0,0 +1,7 @@

+edition = "2021" +use_field_init_shorthand = true +reorder_modules = true + +imports_granularity = "Crate" +group_imports = "StdExternalCrate" +reorder_imports = true
A src/main.rs

@@ -0,0 +1,3 @@

+fn main() { + println!("Hello, world!"); +}