Refactor job client into separate crate
- Moved client code from rust/src/client.rs to rust/client/ subdirectory - Created separate hero-job-client crate for better modularity - Updated Cargo.toml to include client as workspace member - Client can now be used independently of the main hero-job crate
This commit is contained in:
@@ -10,13 +10,15 @@ 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"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
wasm-bindgen = "0.2"
|
||||
serde-wasm-bindgen = "0.6"
|
||||
|
||||
[lib]
|
||||
name = "hero_job"
|
||||
path = "src/lib.rs"
|
||||
|
||||
Reference in New Issue
Block a user