chore: added project files

This commit is contained in:
əlemi 2023-03-25 13:26:58 +01:00
commit 036b00a261
Signed by: alemi
GPG key ID: A4895B84D311642C
4 changed files with 31 additions and 0 deletions

10
.editorconfig Normal file
View file

@ -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

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/target

1
.rustfmt.toml Normal file
View file

@ -0,0 +1 @@
hard_tabs = true

19
Cargo.toml Normal file
View file

@ -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"