chaincraft-rust 0.1.4

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.1.4"
authors = ["Chaincraft Contributors"]
build = false
include = [
    "src/**/*",
    "tests/**/*",
    "Cargo.toml",
    "README.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/jio-gl/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/jio-gl/chaincraft-rust"

[features]
compression = []
default = ["compression"]
indexing = ["dep:sqlx"]
openssl-tls = [
    "dep:openssl",
    "libp2p/tls",
]
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"

[[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_message_types"
path = "tests/test_message_types.rs"

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

[[test]]
name = "test_node_startup"
path = "tests/test_node_startup.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_real"
path = "tests/test_randomness_beacon_real.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_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"]

[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.libp2p]
version = "0.53"
features = [
    "tcp",
    "dns",
    "websocket",
    "noise",
    "ping",
    "identify",
    "kad",
]
default-features = false

[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"