feat: Remove herodo from monorepo and update dependencies
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run

- Removed the `herodo` binary from the monorepo. This was
  done as part of the monorepo conversion process.
- Updated the `Cargo.toml` file to reflect the removal of
  `herodo` and adjust dependencies accordingly.
- Updated `src/lib.rs` and `src/rhai/mod.rs` to use the new
  `sal-vault` crate for vault functionality.  This improves
  the modularity and maintainability of the project.
This commit is contained in:
Mahmoud-Emad
2025-06-23 14:56:03 +03:00
parent c94467c205
commit 6dead402a2
56 changed files with 1074 additions and 1671 deletions

View File

@@ -1,22 +1,47 @@
[package]
name = "vault"
name = "sal-vault"
version = "0.1.0"
edition = "2024"
[features]
native = ["kv/native"]
wasm = ["kv/web"]
edition = "2021"
authors = ["PlanetFirst <info@incubaid.com>"]
description = "SAL Vault - Cryptographic functionality including key management, digital signatures, symmetric encryption, Ethereum wallets, and encrypted key-value store"
repository = "https://git.threefold.info/herocode/sal"
license = "Apache-2.0"
[dependencies]
getrandom = { version = "0.3.3", features = ["wasm_js"] }
rand = "0.9.1"
# We need to pull v0.2.x to enable the "js" feature for wasm32 builds
getrandom_old = { package = "getrandom", version = "0.2.16", features = ["js"] }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
# Core cryptographic dependencies
chacha20poly1305 = "0.10.1"
k256 = { version = "0.13.4", features = ["ecdh"] }
sha2 = "0.10.9"
kv = { git = "https://git.threefold.info/samehabouelsaad/sal-modular", package = "kvstore", rev = "9dce815daa" }
bincode = { version = "2.0.1", features = ["serde"] }
pbkdf2 = "0.12.2"
k256 = { version = "0.13.4", features = ["ecdsa", "ecdh"] }
sha2 = "0.10.7"
rand = "0.8.5"
# Ethereum dependencies
ethers = { version = "2.0.7", features = ["legacy"] }
hex = "0.4"
# Serialization and data handling
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
base64 = "0.22.1"
# Error handling
thiserror = "2.0.12"
# Async runtime and utilities
tokio = { version = "1.45.0", features = ["full"] }
once_cell = "1.18.0"
# File system utilities
dirs = "6.0.0"
# Rhai scripting support
rhai = { version = "1.12.0", features = ["sync"] }
# UUID generation
uuid = { version = "1.16.0", features = ["v4"] }
# Logging
log = "0.4"
[dev-dependencies]
tempfile = "3.5"
tokio-test = "0.4.4"