refactor(workspace): move crates under crates/

This commit is contained in:
2026-01-30 02:09:10 +05:30
parent 97db96b105
commit 72bf38a7ff
44 changed files with 9 additions and 128 deletions

12
crates/store/Cargo.toml Normal file
View File

@@ -0,0 +1,12 @@
[package]
name = "store"
version = "0.1.0"
edition = "2024"
[dependencies]
futures = "0.3.31"
parking_lot = "0.12.5"
secrecy = "0.10.3"
serde = "1.0.228"
tokio = { version = "1.48.0", features = ["rt"] }
uuid = { version = "1.18.1", features = ["v4"] }

10
crates/store/src/lib.rs Normal file
View File

@@ -0,0 +1,10 @@
use std::collections::BTreeMap;
use uuid::Uuid;
pub struct ApiKey {
inner: secrecy::SecretBox<String>,
}
pub struct SecretStore {
api_keys: BTreeMap<Uuid, ApiKey>,
}

View File

@@ -0,0 +1 @@

1
crates/store/src/toml.rs Normal file
View File

@@ -0,0 +1 @@