Rust project structure
Piotr Mikołajczyk piomiko41@gmail.com
Thu, 26 Sep 2024 17:09:34 +0200
5 files changed,
28 insertions(+),
0 deletions(-)
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