mirror of
https://github.com/tlsnotary/tlsn.git
synced 2026-01-09 14:48:13 -05:00
59 lines
2.0 KiB
TOML
59 lines
2.0 KiB
TOML
[package]
|
|
name = "tlsn-wasm"
|
|
version = "0.1.0-alpha.13-pre"
|
|
edition = "2021"
|
|
repository = "https://github.com/tlsnotary/tlsn.git"
|
|
description = "A core WebAssembly package for TLSNotary."
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["tls", "tlsn", "tlsnotary"]
|
|
homepage = "https://tlsnotary.org"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[features]
|
|
default = []
|
|
test = []
|
|
no-bundler = ["web-spawn/no-bundler"]
|
|
|
|
[dependencies]
|
|
tlsn-common = { path = "../common" }
|
|
tlsn-core = { path = "../core" }
|
|
tlsn-prover = { path = "../prover" }
|
|
tlsn-server-fixture-certs = { workspace = true }
|
|
tlsn-tls-client-async = { path = "../tls/client-async" }
|
|
tlsn-tls-core = { path = "../tls/core" }
|
|
tlsn-verifier = { path = "../verifier" }
|
|
|
|
bincode = { workspace = true }
|
|
console_error_panic_hook = { version = "0.1" }
|
|
enum-try-as-inner = { workspace = true }
|
|
futures = { workspace = true }
|
|
http-body-util = { version = "0.1" }
|
|
hyper = { workspace = true, features = ["client", "http1"] }
|
|
js-sys = { version = "0.3" }
|
|
parking_lot = { version = "0.12", features = ["nightly"] }
|
|
pin-project-lite = { workspace = true }
|
|
rayon = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { version = "1.0" }
|
|
time = { version = "=0.3.37", features = ["wasm-bindgen"] }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true, features = ["time"] }
|
|
tracing-web = { version = "0.1" }
|
|
tsify-next = { version = "0.5", default-features = false, features = ["js"] }
|
|
wasm-bindgen = { version = "0.2" }
|
|
wasm-bindgen-futures = { version = "0.4" }
|
|
web-spawn = { workspace = true }
|
|
# Use the patched ws_stream_wasm to fix the issue https://github.com/najamelan/ws_stream_wasm/issues/12#issuecomment-1711902958
|
|
ws_stream_wasm = { git = "https://github.com/tlsnotary/ws_stream_wasm", rev = "2ed12aad9f0236e5321f577672f309920b2aef51" }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
getrandom_03 = { package = "getrandom", version = "0.3", features = [
|
|
"wasm_js",
|
|
] }
|