[package]
name = "tlsn-prover"
authors = ["TLSNotary Team"]
description = "Contains the prover library"
keywords = ["tls", "mpc", "2pc", "prover"]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
version = "0.1.0-alpha.6"
edition = "2021"

[features]
default = ["formats", "rayon"]
formats = ["dep:tlsn-formats"]
rayon = ["mpz-common/rayon"]
force-st = ["mpz-common/force-st"]

[dependencies]
tlsn-tls-core.workspace = true
tlsn-tls-client.workspace = true
tlsn-tls-client-async.workspace = true
tlsn-core.workspace = true
tlsn-common.workspace = true
tlsn-formats = { workspace = true, optional = true }
tlsn-tls-mpc.workspace = true

tlsn-utils.workspace = true
tlsn-utils-aio.workspace = true
serio = { workspace = true, features = ["compat"] }
uid-mux = { workspace = true, features = ["serio"] }

mpz-share-conversion.workspace = true
mpz-garble.workspace = true
mpz-garble-core.workspace = true
mpz-ot.workspace = true
mpz-ole.workspace = true
mpz-core.workspace = true
mpz-common.workspace = true

rand.workspace = true
futures.workspace = true
thiserror.workspace = true
webpki-roots.workspace = true
derive_builder.workspace = true
opaque-debug.workspace = true
bytes.workspace = true
tracing.workspace = true

web-time.workspace = true

[target.'cfg(target_arch = "wasm32")'.dependencies]
ring = { version = "0.17", features = ["wasm32_unknown_unknown_js"] }
getrandom = { version = "0.2", features = ["js"] }
