Restructure job crate: separate rust and vlang folders, extract Job types from runner_rust

This commit is contained in:
Timur Gordon
2025-11-04 13:37:36 +01:00
parent 3ba9e84aa0
commit e3d8147eaa
5 changed files with 563 additions and 307 deletions

22
rust/Cargo.toml Normal file
View File

@@ -0,0 +1,22 @@
[package]
name = "hero-job"
version = "0.1.0"
edition = "2021"
description = "Job types and utilities for the Hero ecosystem"
[dependencies]
chrono = { version = "0.4", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "1.0", features = ["v4"] }
thiserror = "1.0"
redis = { version = "0.25", features = ["aio", "tokio-comp"] }
tokio = { version = "1.0", features = ["rt", "time"] }
log = "0.4"
secp256k1 = { version = "0.28", features = ["recovery"] }
sha2 = "0.10"
hex = "0.4"
[lib]
name = "hero_job"
path = "src/lib.rs"