v0.5.0 release

This commit is contained in:
parazyd
2025-06-06 13:50:10 +02:00
parent beb8f02c9b
commit 2e2de47c69
29 changed files with 50 additions and 49 deletions

16
Cargo.lock generated
View File

@@ -1805,9 +1805,9 @@ dependencies = [
[[package]]
name = "darkfi-derive"
version = "0.4.2"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2419f39be147184d34144c0cbed3ac3bf7572f0c8703d7a605db5e0f85c66269"
checksum = "0bb971fa2349ee2404964eb866c0f216c53660d6b589d82bd4f84baa206b4db5"
dependencies = [
"darkfi-derive-internal",
"proc-macro-crate",
@@ -1818,9 +1818,9 @@ dependencies = [
[[package]]
name = "darkfi-derive-internal"
version = "0.4.2"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7000d1d42b2af380c7367b5cde93cc8cc3b44898d2c467f6d9de3011df9f6e8"
checksum = "6623231f21d5757f9127f87bd470cc4c3b239e4323d6f4fbb1f274a6fcc7d77f"
dependencies = [
"proc-macro2",
"quote",
@@ -1867,9 +1867,9 @@ dependencies = [
[[package]]
name = "darkfi-serial"
version = "0.4.2"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2a240620a7858db545156a1de5b215c9b10344c7ad527eed0fc67efd5cea08a"
checksum = "0ee73956d969859837d5f09c6d3c6070ae5cd6b1eee53fe96258ccad1caf555d"
dependencies = [
"async-trait",
"blake3",
@@ -6362,9 +6362,9 @@ dependencies = [
[[package]]
name = "sled-overlay"
version = "0.1.8"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e1c76f2c7a298d1f05012072e53df439367e80cc2696e22af6a56bf81a3c1c7"
checksum = "00eaa12d128bd90a98f77cec83d6d8b5beac8c3eeede31723a0724873da22793"
dependencies = [
"darkfi-serial",
"sled",

View File

@@ -95,8 +95,8 @@ toml = {version = "0.8.22", optional = true}
# Utilities
#darkfi-serial = {path = "src/serial", optional = true}
#darkfi-derive = {path = "src/serial/derive", optional = true}
darkfi-serial = {version = "0.4.2", optional = true}
darkfi-derive = {version = "0.4.2", optional = true}
darkfi-serial = {version = "0.5.0", optional = true}
darkfi-derive = {version = "0.5.0", optional = true}
# TODO: check chrono usage and impl our own
chrono = {version = "0.4.41", optional = true}
@@ -122,7 +122,7 @@ wasmer-compiler-singlepass = {version = "6.0.1", optional = true}
wasmer-middlewares = {version = "6.0.1", optional = true}
# Blockchain store
sled-overlay = {version = "0.1.8", optional = true}
sled-overlay = {version = "0.1.9", optional = true}
# Miner
randomx = {git = "https://codeberg.org/darkrenaissance/RandomX", optional = true, rev = "91cd62809e006f1dcee31ab62160ca5dc71f4c2d"}

View File

@@ -66,6 +66,7 @@ you haven't already done it:
```shell
% git clone https://codeberg.org/darkrenaissance/darkfi
% cd darkfi
% git checkout v0.5.0
```
This project requires the Rust compiler to be installed.
@@ -78,7 +79,7 @@ To install wasm32 target, execute:
```shell
% rustup target add wasm32-unknown-unknown
```
Minimum Rust version supported is **1.77.0**.
Minimum Rust version supported is **1.86.0**.
The following dependencies are also required:

View File

@@ -26,7 +26,7 @@ glam = "0.29.2"
zeromq = { version = "0.4.1", default-features = false, features = ["async-std-runtime", "all-transport"] }
darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "net", "util", "system", "zk"]}
#darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
darkfi-serial = {version = "0.4.2", features = ["async"]}
darkfi-serial = {version = "0.5.0", features = ["async"]}
thiserror = "2.0.12"
smol = "2.0.2"
atomic_float = "1.1.0"
@@ -38,7 +38,7 @@ futures = "0.3.31"
async-recursion = "1.1.1"
colored = "3.0.0"
#rustpython-vm = "0.3.1"
sled-overlay = "0.1.8"
sled-overlay = "0.1.9"
url = "2.5.4"
semver = "1.0.26"
chrono = "0.4.41"

View File

@@ -14,7 +14,7 @@ darkfi = {path = "../../", features = ["async-daemonize", "bs58"]}
darkfi_money_contract = {path = "../../src/contract/money"}
darkfi-contract-test-harness = {path = "../../src/contract/test-harness"}
darkfi-sdk = {path = "../../src/sdk"}
darkfi-serial = "0.4.2"
darkfi-serial = "0.5.0"
# Misc
blake3 = "1.8.2"
@@ -22,7 +22,7 @@ bs58 = "0.5.1"
log = "0.4.27"
num-bigint = "0.4.6"
rand = "0.8.5"
sled-overlay = "0.1.8"
sled-overlay = "0.1.9"
toml = "0.8.22"
# JSON-RPC

View File

@@ -20,11 +20,11 @@ path = "src/main.rs"
[dependencies]
darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "rpc", "zk"]}
darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
darkfi-serial = {version = "0.4.2", features = ["async"]}
darkfi-serial = {version = "0.5.0", features = ["async"]}
libc = "0.2.172"
# Event Graph DB
sled-overlay = "0.1.8"
sled-overlay = "0.1.9"
# TLS
async-trait = "0.1.88"

View File

@@ -12,7 +12,7 @@ edition = "2021"
async-trait = "0.1.88"
blake3 = "1.8.2"
darkfi = {path = "../../../", features = ["dht"]}
darkfi-serial = {version = "0.4.2", features = ["derive", "crypto"]}
darkfi-serial = {version = "0.5.0", features = ["derive", "crypto"]}
easy-parallel = "3.3.1"
log = "0.4.27"
rand = "0.8.5"

View File

@@ -15,7 +15,7 @@ darkfi_money_contract = {path = "../../src/contract/money", features = ["no-entr
darkfi_dao_contract = {path = "../../src/contract/dao", features = ["no-entrypoint", "client"]}
darkfi_deployooor_contract = {path = "../../src/contract/deployooor", features = ["no-entrypoint", "client"]}
darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
darkfi-serial = "0.4.2"
darkfi-serial = "0.5.0"
# Misc
blake3 = "1.8.2"

View File

@@ -11,7 +11,7 @@ edition = "2021"
# Darkfi
darkfi = {path = "../../../", features = ["async-daemonize", "validator", "rpc"]}
darkfi-sdk = {path = "../../../src/sdk"}
darkfi-serial = "0.4.2"
darkfi-serial = "0.5.0"
# JSON-RPC
async-trait = "0.1.88"
@@ -31,7 +31,7 @@ structopt = "0.3.26"
structopt-toml = "0.5.1"
# Database
sled-overlay = "0.1.8"
sled-overlay = "0.1.9"
# Misc
blake3 = "1.8.2"

View File

@@ -18,7 +18,7 @@ path = "src/main.rs"
[dependencies]
darkfi = {path = "../../../", features = ["async-daemonize", "geode", "rpc", "dht", "sled-overlay"]}
darkfi-serial = {version = "0.4.2", features = ["hash"]}
darkfi-serial = {version = "0.5.0", features = ["hash"]}
# Misc
async-trait = "0.1.88"
@@ -39,7 +39,7 @@ simplelog = "0.12.2"
smol = "2.0.2"
# Database
sled-overlay = "0.1.8"
sled-overlay = "0.1.9"
# Argument parsing
serde = {version = "1.0.219", features = ["derive"]}

View File

@@ -12,7 +12,7 @@ repository = "https://codeberg.org/darkrenaissance/darkfi"
genevd = {path = "../genevd"}
darkfi = {path = "../../../", features = ["event-graph", "rpc", "bs58"]}
darkfi-serial = "0.4.2"
darkfi-serial = "0.5.0"
smol = "2.0.2"
clap = {version = "4.4.11", features = ["derive"]}

View File

@@ -22,13 +22,13 @@ darkfi = { path = "../../../", features = [
"event-graph",
"rpc",
] }
darkfi-serial = "0.4.2"
darkfi-serial = "0.5.0"
# Crypto
blake3 = "1.8.2"
# Event Graph DB
sled-overlay = "0.1.8"
sled-overlay = "0.1.9"
# Misc
async-trait = "0.1.88"

View File

@@ -12,7 +12,7 @@ edition = "2021"
# Darkfi
darkfi = {path = "../../", features = ["async-daemonize", "validator", "rpc"]}
darkfi-sdk = {path = "../../src/sdk"}
darkfi-serial = {version = "0.4.2", features = ["async"]}
darkfi-serial = {version = "0.5.0", features = ["async"]}
# Misc
log = "0.4.27"

View File

@@ -25,10 +25,10 @@ darkfi = { path = "../../../", features = [
] }
darkfi-sdk = {path = "../../../src/sdk", features = ["async"]}
darkfi-serial = "0.4.2"
darkfi-serial = "0.5.0"
# Event Graph DB
sled-overlay = "0.1.8"
sled-overlay = "0.1.9"
# Crypto
blake3 = "1.8.2"

View File

@@ -12,7 +12,7 @@ edition = "2021"
[dependencies]
# ANCHOR: darkfi
darkfi = {path = "../../../", features = ["toml", "async-daemonize", "rpc"]}
darkfi-serial = "0.4.2"
darkfi-serial = "0.5.0"
# ANCHOR_END: darkfi
# daemon

View File

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

View File

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

View File

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

View File

@@ -12,7 +12,7 @@ edition = "2021"
[dependencies]
# Darkfi
darkfi = {path = "../../../../", features = ["async-sdk", "rpc"]}
darkfi-serial = "0.4.2"
darkfi-serial = "0.5.0"
# 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.4.2"
darkfi-serial = "0.5.0"
# Misc
log = "0.4.27"

View File

@@ -18,12 +18,12 @@ 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.4.2"
darkfi-serial = "0.5.0"
# Misc
bs58 = "0.5.1"
clap = {version = "4.4.11", features = ["derive"]}
sled-overlay = "0.1.8"
sled-overlay = "0.1.9"
smol = "2.0.2"
[patch.crates-io]

View File

@@ -7,7 +7,7 @@ edition = "2021"
[dependencies]
randomx = {git = "https://codeberg.org/darkrenaissance/RandomX"}
darkfi-serial = {version = "0.4.2", features = ["async", "crypto"]}
darkfi-serial = {version = "0.5.0", features = ["async", "crypto"]}
darkfi-sdk = {path = "../../../src/sdk", features = ["async"]}
darkfi = {path = "../../../", features = ["util", "async-serial"]}

View File

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

View File

@@ -13,12 +13,12 @@ edition = "2021"
# Darkfi
darkfi = {path = "../../../../", features = ["async-daemonize", "async-sdk", "rpc", "sled-overlay"]}
darkfi-sdk = {path = "../../../../src/sdk"}
darkfi-serial = "0.4.2"
darkfi-serial = "0.5.0"
# Misc
bs58 = "0.5.1"
log = "0.4.27"
sled-overlay = "0.1.8"
sled-overlay = "0.1.9"
# JSON-RPC
async-trait = "0.1.88"

View File

@@ -12,7 +12,7 @@ crate-type = ["cdylib", "rlib"]
blake2b_simd = "1.0.3"
bs58 = "0.5.1"
darkfi-sdk = { path = "../../sdk", features = ["wasm"] }
darkfi-serial = { version = "0.4.2", features = ["derive", "crypto"] }
darkfi-serial = { version = "0.5.0", features = ["derive", "crypto"] }
darkfi_money_contract = { path = "../money", features = ["no-entrypoint"] }
thiserror = "2.0.12"

View File

@@ -10,7 +10,7 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
darkfi-sdk = { path = "../../sdk", features = ["wasm"] }
darkfi-serial = { version = "0.4.2", features = ["derive", "crypto"] }
darkfi-serial = { version = "0.5.0", features = ["derive", "crypto"] }
thiserror = "2.0.12"
wasmparser = "0.230.0"

View File

@@ -12,7 +12,7 @@ crate-type = ["cdylib", "rlib"]
blake3 = "1.8.2"
bs58 = "0.5.1"
darkfi-sdk = { path = "../../sdk", features = ["wasm"] }
darkfi-serial = { version = "0.4.2", features = ["derive", "crypto"] }
darkfi-serial = { version = "0.5.0", features = ["derive", "crypto"] }
thiserror = "2.0.12"
# The following dependencies are used for the client API and

View File

@@ -8,7 +8,7 @@ edition = "2021"
[dependencies]
darkfi = {path = "../../../", features = ["validator"]}
darkfi-sdk = {path = "../../../src/sdk"}
darkfi-serial = {version = "0.4.2", features = ["crypto"]}
darkfi-serial = {version = "0.5.0", features = ["crypto"]}
darkfi_dao_contract = {path = "../dao", features = ["client", "no-entrypoint"]}
darkfi_money_contract = {path = "../money", features = ["client", "no-entrypoint"]}
@@ -19,7 +19,7 @@ blake3 = "1.8.2"
log = "0.4.27"
rand = "0.8.5"
simplelog = "0.12.2"
sled-overlay = "0.1.8"
sled-overlay = "0.1.9"
[lints]
workspace = true

View File

@@ -21,7 +21,7 @@ wasm = []
thiserror = "2.0.12"
# Serialization
darkfi-serial = {version = "0.4.2", features = ["crypto"]}
darkfi-serial = {version = "0.5.0", features = ["crypto"]}
# Encoding
bs58 = "0.5.1"