mirror of
https://github.com/ivabus/rust-template
synced 2024-11-24 09:25:09 +03:00
Init
This commit is contained in:
commit
e03672a6ea
5 changed files with 26 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/target
|
11
.rustfmt.toml
Normal file
11
.rustfmt.toml
Normal file
|
@ -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
|
8
Cargo.toml
Normal file
8
Cargo.toml
Normal file
|
@ -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]
|
3
src/main.rs
Normal file
3
src/main.rs
Normal file
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
3
tea.yaml
Normal file
3
tea.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
dependencies:
|
||||
rust-lang.org: '>=1.70'
|
||||
rust-lang.org/cargo: '*'
|
Loading…
Reference in a new issue