commit e03672a6ea819358a02415826b968ac5589336de Author: Ivan Bushchik Date: Mon Jul 3 14:23:57 2023 +0300 Init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 0000000..c3d94b0 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1,11 @@ +edition = "2021" +hard_tabs = true +merge_derives = true +reorder_imports = true +reorder_modules = true +use_field_init_shorthand = true +use_small_heuristics = "Off" + +# May need nightly rustfmt +wrap_comments = true +comment_width = 80 diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..957200b --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "rust-template" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..a30eb95 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/tea.yaml b/tea.yaml new file mode 100644 index 0000000..3ec75d3 --- /dev/null +++ b/tea.yaml @@ -0,0 +1,3 @@ +dependencies: + rust-lang.org: '>=1.70' + rust-lang.org/cargo: '*'