Merge branch 'zinit_client'
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run

* zinit_client:
  working example to showcase zinit usage in Rhai scripts
  implemented zinit-client for integration with Rhai-scripts

# Conflicts:
#	Cargo.toml
#	src/lib.rs
#	src/rhai/mod.rs
This commit is contained in:
2025-05-12 06:12:40 +03:00
6 changed files with 650 additions and 1 deletions

View File

@@ -44,9 +44,12 @@ sha2 = "0.10.7" # SHA-2 hash functions
chacha20poly1305 = "0.10.1" # ChaCha20Poly1305 AEAD cipher
ethers = { version = "2.0.7", features = ["legacy"] } # Ethereum library
dirs = "5.0.1" # Directory paths
tokio = { version = "1.28", features = ["full"] }
uuid = { version = "1.16.0", features = ["v4"] }
tokio-test = "0.4.4"
zinit-client = { git = "https://github.com/threefoldtech/zinit", branch = "json_rpc", package = "zinit-client" }
anyhow = "1.0.98"
jsonrpsee = "0.25.1"
tokio = "1.45.0"
# Optional features for specific OS functionality
[target.'cfg(unix)'.dependencies]