serial: Bring it back home

This commit is contained in:
x
2026-01-01 19:24:00 +00:00
parent 286dac213c
commit ed9be657ab
47 changed files with 430 additions and 170 deletions

View File

@@ -23,10 +23,10 @@ path = "example/send.rs"
[dependencies]
darkfi = {path = "../../", features = ["event-graph"]}
darkfi-serial = {version = "0.5.0", features = ["async"]}
darkfi-serial = {path = "../../src/serial", features = ["async"]}
# Event Graph DB
sled-overlay = "0.1.14"
sled-overlay = "0.1.15"
# Crypto
blake3 = "1.8.2"

View File

@@ -10,7 +10,7 @@ edition = "2021"
[dependencies]
darkfi = {path = "../../", features = ["net"]}
darkfi-serial = {version = "0.5.0"}
darkfi-serial = {path = "../../src/serial"}
url = {version = "2.5.7", features = ["serde"]}
smol = "2.0.2"

View File

@@ -1 +0,0 @@
keys

View File

@@ -12,7 +12,7 @@ edition = "2021"
[dependencies]
# Darkfi
darkfi = {path = "../../../", features = ["async-daemonize", "validator", "rpc"]}
darkfi-serial = "0.5.0"
darkfi-serial = {path = "../../../src/serial"}
# Misc
tracing = "0.1.44"

View File

@@ -12,7 +12,7 @@ edition = "2021"
[dependencies]
# Darkfi
darkfi = {path = "../../../../", features = ["async-sdk", "rpc"]}
darkfi-serial = "0.5.0"
darkfi-serial = {path = "../../../../src/serial"}
# Misc
clap = {version = "4.4.11", features = ["derive"]}

View File

@@ -12,7 +12,7 @@ edition = "2021"
[dependencies]
# Darkfi
darkfi = {path = "../../../../", features = ["async-daemonize", "rpc"]}
darkfi-serial = "0.5.0"
darkfi-serial = {path = "../../../../src/serial"}
# Misc
tracing = "0.1.44"

View File

@@ -11,7 +11,7 @@ edition = "2021"
[dependencies]
darkfi = {path = "../../../", features = ["async-daemonize", "net"]}
darkfi-serial = {version = "0.5.0", features = ["async"]}
darkfi-serial = {path = "../../../src/serial", features = ["async"]}
rand = "0.8.5"
# Daemon

View File

@@ -18,7 +18,7 @@ darkfi = {path = "../../../", features = ["bs58", "validator"]}
darkfi_money_contract = {path = "../../../src/contract/money", features = ["no-entrypoint", "client"]}
darkfi-contract-test-harness = {path = "../../../src/contract/test-harness"}
darkfi-sdk = {path = "../../../src/sdk"}
darkfi-serial = "0.5.1"
darkfi-serial = {path = "../../../src/serial"}
# Misc
bs58 = "0.5.1"

View File

@@ -13,7 +13,7 @@ edition = "2021"
# Darkfi
darkfi = {path = "../../../../", features = ["async-sdk", "rpc"]}
darkfi-sdk = {path = "../../../../src/sdk"}
darkfi-serial = "0.5.0"
darkfi-serial = {path = "../../../../src/serial"}
rlnd = {path = "../rlnd"}
# Misc

View File

@@ -13,11 +13,11 @@ edition = "2021"
# Darkfi
darkfi = {path = "../../../../", features = ["async-daemonize", "async-sdk", "rpc", "sled-overlay"]}
darkfi-sdk = {path = "../../../../src/sdk"}
darkfi-serial = "0.5.0"
darkfi-serial = {path = "../../../../src/serial"}
# Misc
bs58 = "0.5.1"
sled-overlay = "0.1.14"
sled-overlay = "0.1.15"
tracing = "0.1.44"
# JSON-RPC

View File

@@ -15,12 +15,12 @@ darkfi = {path = "../../../../", features = ["zk"]}
halo2_proofs = {version = "0.3.2", features = ["circuit-params"]}
halo2_gadgets = {version = "0.4.0", features = ["circuit-params"]}
rand = "0.8.5"
darkfi-serial = "0.5.0"
darkfi-serial = {path = "../../../../src/serial"}
[dev-dependencies]
halo2_proofs = {version = "0.3.1", features = ["dev-graph", "sanity-checks"]}
halo2_gadgets = "0.3.1"
[patch.crates-io]
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v031"}
halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v031"}
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v032"}
halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v032"}

View File

@@ -12,11 +12,11 @@ edition = "2024"
[dependencies]
darkfi-sdk = {path = "../../../../src/sdk"}
darkfi = {path = "../../../../", features = ["zk"]}
darkfi-serial = "0.5.0"
darkfi-serial = {path = "../../../../src/serial"}
[patch.crates-io]
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v031"}
halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v031"}
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v032"}
halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v032"}
[profile.release]
debug = true