From 98e354679a00d29f64ec629aedd7bbc5ed6f7fc6 Mon Sep 17 00:00:00 2001 From: holly sparkles Date: Fri, 28 Jul 2023 14:24:14 +0200 Subject: [PATCH] feat: add initial project files --- .gitignore | 23 +++++++++++++++++++++++ Cargo.toml | 8 ++++++++ README.md | 4 +++- src/main.rs | 3 +++ 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a1533cb --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +# Created by https://www.toptal.com/developers/gitignore/api/rust +# Edit at https://www.toptal.com/developers/gitignore?templates=rust + +### Rust ### +# Generated by Cargo +# will have compiled files and executables +debug/ +target/ + +# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries +# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html +Cargo.lock + +# These are backup files generated by rustfmt +**/*.rs.bk + +# MSVC Windows builds of rustc generate these, which store debugging information +*.pdb + +# End of https://www.toptal.com/developers/gitignore/api/rust + +# VSCodium +.vscode/ \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..a6ad64f --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "bitwarden-ssh-agent" +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/README.md b/README.md index c6d2c7e..6e1ca9b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # bitwarden-ssh-agent -Add SSH keys to ssh-agent using bitwarden-cli \ No newline at end of file +Add SSH keys to ssh-agent using [bitwarden-cli](https://bitwarden.com/help/cli/). Written in Rust. + +Heavily inspired by [bitwarden-ssh-agent](https://github.com/joaojacome/bitwarden-ssh-agent), which is written in Python. \ No newline at end of file diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} -- libgit2 1.7.2