chaincraft-rust 0.2.1

A high-performance Rust-based platform for blockchain education and prototyping
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.82"
name = "chaincraft-rust"
version = "0.2.1"
authors = ["Chaincraft Contributors"]
build = false
include = [
    "src/**/*",
    "examples/**/*",
    "tests/**/*",
    "Cargo.toml",
    "README.md",
    "CHANGELOG.md",
    "LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance Rust-based platform for blockchain education and prototyping"
homepage = "https://github.com/jose-blockchain/chaincraft-rust"
documentation = "https://docs.rs/chaincraft-rust"
readme = "README.md"
keywords = [
    "blockchain",
    "education",
    "prototyping",
    "distributed",
    "consensus",
]
categories = [
    "network-programming",
    "cryptography",
    "science",
]
license = "MIT"
repository = "https://github.com/jose-blockchain/chaincraft-rust"

[features]
compression = []
default = ["compression"]
indexing = ["dep:sqlx"]
openssl-tls = ["dep:openssl"]
persistent = ["dep:sled"]
vdf-crypto = ["dep:vdf"]

[lib]
name = "chaincraft_rust"
path = "src/lib.rs"

[[bin]]
name = "chaincraft-cli"
path = "src/bin/cli.rs"

[[bin]]
name = "chaincraft-rust"
path = "src/main.rs"

[[bin]]
name = "network_worker"
path = "src/bin/network_worker.rs"

[[example]]
name = "basic_node"
path = "examples/basic_node.rs"

[[example]]
name = "chatroom_example"
path = "examples/chatroom_example.rs"

[[example]]
name = "ecdsa_ledger_example"
path = "examples/ecdsa_ledger_example.rs"

[[example]]
name = "keypair_generation"
path = "examples/keypair_generation.rs"

[[example]]
name = "proof_of_work_example"
path = "examples/proof_of_work_example.rs"

[[example]]
name = "randomness_beacon_example"
path = "examples/randomness_beacon_example.rs"

[[example]]
name = "shared_objects_example"
path = "examples/shared_objects_example.rs"

[[test]]
name = "examples_integration"
path = "tests/examples_integration.rs"

[[test]]
name = "test_basic"
path = "tests/test_basic.rs"

[[test]]
name = "test_chatroom"
path = "tests/test_chatroom.rs"

[[test]]
name = "test_crypto_primitives"
path = "tests/test_crypto_primitives.rs"

[[test]]
name = "test_discovery"
path = "tests/test_discovery.rs"

[[test]]
name = "test_indexing"
path = "tests/test_indexing.rs"

[[test]]
name = "test_local_discovery"
path = "tests/test_local_discovery.rs"

[[test]]
name = "test_message_types"
path = "tests/test_message_types.rs"

[[test]]
name = "test_network_advanced"
path = "tests/test_network_advanced.rs"

[[test]]
name = "test_network_multiprocess"
path = "tests/test_network_multiprocess.rs"

[[test]]
name = "test_network_real"
path = "tests/test_network_real.rs"

[[test]]
name = "test_node_startup"
path = "tests/test_node_startup.rs"

[[test]]
name = "test_persisted_banned_peers"
path = "tests/test_persisted_banned_peers.rs"

[[test]]
name = "test_profiling"
path = "tests/test_profiling.rs"

[[test]]
name = "test_randomness_beacon"
path = "tests/test_randomness_beacon.rs"

[[test]]
name = "test_randomness_beacon_network"
path = "tests/test_randomness_beacon_network.rs"

[[test]]
name = "test_randomness_beacon_real"
path = "tests/test_randomness_beacon_real.rs"

[[test]]
name = "test_shared_object_updates"
path = "tests/test_shared_object_updates.rs"

[[test]]
name = "test_shared_objects"
path = "tests/test_shared_objects.rs"

[[test]]
name = "test_storage"
path = "tests/test_storage.rs"

[[test]]
name = "test_tendermint"
path = "tests/test_tendermint.rs"

[[test]]
name = "test_tendermint_network"
path = "tests/test_tendermint_network.rs"

[[test]]
name = "test_tendermint_real"
path = "tests/test_tendermint_real.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.21"

[dependencies.bincode]
version = "1.3"

[dependencies.blake3]
version = "1.5"

[dependencies.bytes]
version = "1.0"
features = ["serde"]

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.4"
features = ["derive"]

[dependencies.dashmap]
version = "5.5"

[dependencies.ed25519-dalek]
version = "2.0"
features = [
    "serde",
    "rand_core",
]

[dependencies.fernet]
version = "0.2"

[dependencies.flate2]
version = "1.0"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.indexmap]
version = "2.0"

[dependencies.k256]
version = "0.13"
features = [
    "serde",
    "ecdsa",
]

[dependencies.lru]
version = "0.12"

[dependencies.num_cpus]
version = "1.0"

[dependencies.openssl]
version = "0.10"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.rand_core]
version = "0.6"

[dependencies.ring]
version = "0.17"

[dependencies.rpassword]
version = "7.3"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_bytes]
version = "0.11"

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.sha3]
version = "0.10"

[dependencies.sled]
version = "0.34"
optional = true

[dependencies.socket2]
version = "0.5"

[dependencies.sqlx]
version = "0.7"
features = [
    "runtime-tokio-rustls",
    "sqlite",
    "chrono",
    "uuid",
]
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.35"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"

[dependencies.uuid]
version = "1.6"
features = [
    "v4",
    "serde",
]

[dependencies.vdf]
version = "0.1"
optional = true

[dependencies.vrf]
version = "0.2"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.tempfile]
version = "3.8"

[dev-dependencies.tokio-test]
version = "0.4"

[target."cfg(unix)".dependencies.openssl]
version = "0.10"
optional = true

[profile.dev]
opt-level = 0
debug = 2

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"