mpc-core 0.1.0

A flexible, trait-based core framework and asynchronous execution engine for Multi-Party Computation (MPC) protocols.
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 = "2024"
name = "mpc-core"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A flexible, trait-based core framework and asynchronous execution engine for Multi-Party Computation (MPC) protocols."
readme = "README.md"
keywords = [
    "mpc",
    "cryptography",
    "secure-computation",
    "async",
]
categories = [
    "cryptography",
    "network-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/A-H4NU/mpc-core"

[features]
example-additive = ["dep:rand"]
example-secure-network = [
    "dep:ed25519-dalek",
    "dep:rand",
    "dep:base64",
    "dep:tokio",
    "dep:chacha20poly1305",
    "dep:x25519-dalek",
    "dep:anyhow",
    "dep:futures",
]

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

[dependencies.anyhow]
version = "1.0.95"
optional = true

[dependencies.base64]
version = "0.22.1"
optional = true

[dependencies.chacha20poly1305]
version = "0.10.1"
optional = true

[dependencies.ed25519-dalek]
version = "2.2.0"
features = ["rand_core"]
optional = true

[dependencies.futures]
version = "0.3.31"
optional = true

[dependencies.generic-array]
version = "=0.14.7"
features = ["serde"]

[dependencies.itertools]
version = "0.14.0"

[dependencies.postcard]
version = "1.1.3"
features = ["use-std"]

[dependencies.rand]
version = "0.8"
optional = true

[dependencies.serde]
version = "1.0.228"
features = ["serde_derive"]

[dependencies.sha3]
version = "0.10.8"

[dependencies.snafu]
version = "0.9.0"

[dependencies.tokio]
version = "1.43.0"
features = [
    "net",
    "io-util",
    "time",
    "macros",
    "rt-multi-thread",
]
optional = true

[dependencies.x25519-dalek]
version = "2.0.1"
optional = true