# 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.85.1"
name = "scl-rs"
version = "0.4.1"
authors = ["Hernan Vanegas <hdvanegasm@gmail.com>"]
build = false
exclude = [
    "certs/",
    "gen_self_signed_certs.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust toolkit for prototyping and testing secure multiparty computation (MPC) protocols inspired in Secure Computation Library."
readme = "README.md"
keywords = [
    "mpc",
    "secret-sharing",
    "cryptography",
]
categories = ["cryptography"]
license = "AGPL-3.0-or-later"
repository = "https://github.com/hdvanegasm/scl-rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.crypto-bigint]
version = "0.7"
features = ["serde"]

[dependencies.log]
version = "0.4"

[dependencies.postcard]
version = "1"
features = ["alloc"]

[dependencies.rand]
version = "0.10"

[dependencies.rustls-webpki]
version = "0.103"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "io-util",
    "time",
    "rt",
    "macros",
    "sync",
]

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.tokio-stream]
version = "0.1"

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

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

[dev-dependencies.rcgen]
version = "0.14.8"

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