newton-enclave 0.4.21

newton prover enclave compute
# 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.93"
name = "newton-enclave"
version = "0.4.21"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "newton prover enclave compute"
readme = false
license = "Apache-2.0"
repository = "https://github.com/newt-foundation/newton-prover-avs"

[features]
default = []
wasm = [
    "dep:wasmtime",
    "dep:wasmtime-wasi",
    "dep:moka",
    "dep:async-trait",
    "dep:futures",
    "dep:tokio-vsock",
]

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

[dependencies.alloy]
version = "1.1.1"
features = [
    "std",
    "signer-local",
    "signer-keystore",
    "providers",
    "reqwest",
    "rpc-types",
    "transport-throttle",
]
default-features = false

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

[dependencies.bincode]
version = "2.0.1"
features = ["serde"]

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

[dependencies.curve25519-dalek]
version = "4"
features = [
    "serde",
    "group",
]

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

[dependencies.hex]
version = "0.4.3"
features = ["alloc"]

[dependencies.hkdf]
version = "0.12"

[dependencies.moka]
version = "0.12"
features = ["sync"]
optional = true

[dependencies.newton-aggregator]
version = "0.4.21"
features = ["threshold"]

[dependencies.newton-chainio]
version = "0.4.21"

[dependencies.newton-core]
version = "0.4.21"
features = [
    "privacy",
    "threshold",
    "frost-dkg",
]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.21"
features = ["io-util"]
default-features = false

[dependencies.tokio-vsock]
version = "0.7.2"
optional = true

[dependencies.tracing]
version = "0.1.40"

[dependencies.wasmtime]
version = "46"
features = [
    "runtime",
    "component-model",
]
optional = true

[dependencies.wasmtime-wasi]
version = "46"
optional = true

[dependencies.zeroize]
version = "1"

[dev-dependencies.tokio]
version = "1.21"
features = [
    "macros",
    "rt",
]
default-features = false

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rust.unused]
level = "allow"
priority = -1

[lints.rustdoc]
all = "warn"