зеркало из
https://github.com/glebtv/tui-textarea.git
synced 2026-09-03 14:26:17 +03:00
setup rustfmt
Этот коммит содержится в:
2
.gitignore
поставляемый
Обычный файл
2
.gitignore
поставляемый
Обычный файл
@@ -0,0 +1,2 @@
|
||||
/target
|
||||
/Cargo.lock
|
||||
1
.rustfmt.toml
Обычный файл
1
.rustfmt.toml
Обычный файл
@@ -0,0 +1 @@
|
||||
edition = "2021"
|
||||
8
Cargo.toml
Обычный файл
8
Cargo.toml
Обычный файл
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "tui-textarea"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
8
src/lib.rs
Обычный файл
8
src/lib.rs
Обычный файл
@@ -0,0 +1,8 @@
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn it_works() {
|
||||
let result = 2 + 2;
|
||||
assert_eq!(result, 4);
|
||||
}
|
||||
}
|
||||
Ссылка в новой задаче
Block a user