From 036b00a261f19be6b73a0a4b52f22f5ed8a128fb Mon Sep 17 00:00:00 2001 From: alemi Date: Sat, 25 Mar 2023 13:26:58 +0100 Subject: [PATCH] chore: added project files --- .editorconfig | 10 ++++++++++ .gitignore | 1 + .rustfmt.toml | 1 + Cargo.toml | 19 +++++++++++++++++++ 4 files changed, 31 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitignore create mode 100644 .rustfmt.toml create mode 100644 Cargo.toml diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..011b707 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +# Default to Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = tab +indent_size = 4 + +[*.rs] +indent_size = 2 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..218e203 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1 @@ +hard_tabs = true diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..410ee9a --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,19 @@ +[package] +name = "rustyneedle" +version = "0.1.0" +edition = "2021" + +[lib] +name = "needle" +path = "src/lib.rs" + +[[bin]] +name = "rustyneedle" +path = "src/main.rs" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +clap = { version = "4.1.13", features = ["derive"] } +ctor = "0.1.26" +nix = "0.26.2"