From 3e38a5522e64c754143ce2135379578c4a02e2f0 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sat, 31 Jan 2026 23:08:33 +0000 Subject: [PATCH] fix: resolve CI workflow path and add lint job --- Cargo.toml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Cargo.toml diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..293dce0 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,27 @@ +[package] +name = "api-token-vault" +version = "0.1.0" +edition = "2021" +description = "A Rust CLI tool that generates cryptographically secure API tokens, stores them in an encrypted local vault, rotates them on configurable schedules, and injects them into .env files." +authors = ["API Token Vault"] + +[dependencies] +clap = { version = "4.4", features = ["derive"] } +sodiumoxide = "0.2" +serde = { version = "1.0", features = ["derive"] } +serde_json = "1.0" +chrono = { version = "0.4", features = ["serde"] } +uuid = { version = "1.6", features = ["v4", "serde"] } +dirs = "5.0" +home = "0.5" +base64 = "0.21" +rand = "0.8" +rpassword = "7.3" + +[dev-dependencies] +assert_cmd = "2.0" +predicates = "3.0" + +[profile.release] +lto = true +opt-level = 3