feat: scaffold Cargo workspace with idfoto-core and idfoto-cli

This commit is contained in:
adlee-was-taken
2026-04-11 22:51:45 -04:00
commit 34cc926f82
7 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
[package]
name = "idfoto-cli"
version = "0.1.0"
edition = "2021"
description = "CLI for idfoto password manager"
[[bin]]
name = "idfoto"
path = "src/main.rs"
[dependencies]
idfoto-core = { path = "../idfoto-core" }
clap = { version = "4", features = ["derive"] }
anyhow = "1"
rpassword = "5"
arboard = "3"
dirs = "5"

View File

@@ -0,0 +1,3 @@
fn main() {
println!("idfoto v0.1.0");
}

View File

@@ -0,0 +1,18 @@
[package]
name = "idfoto-core"
version = "0.1.0"
edition = "2021"
description = "Core library for idfoto password manager"
[dependencies]
thiserror = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
argon2 = "0.5"
chacha20poly1305 = "0.10"
rand = "0.8"
sha2 = "0.10"
ed25519-dalek = { version = "2", features = ["rand_core"] }
image = { version = "0.25", default-features = false, features = ["jpeg"] }
[dev-dependencies]

View File

@@ -0,0 +1 @@
// Error types will be filled in Task 2

View File

@@ -0,0 +1 @@
pub mod error;