[[bench]]
harness = false
name = "stress_test"
path = "benches/stress_test.rs"
[dependencies.anyhow]
version = "1.0.75"
[dependencies.async-trait]
version = "0.1"
[dependencies.base58]
version = "0.2"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.console_error_panic_hook]
optional = true
version = "0.1"
[dependencies.dashmap]
version = "5.4"
[dependencies.didcomm]
version = "0.4"
[dependencies.futures]
version = "0.3"
[dependencies.js-sys]
optional = true
version = "0.3"
[dependencies.log]
version = "0.4"
[dependencies.reqwest]
features = ["json"]
optional = true
version = "0.11"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.tap-agent]
version = "0.1.0"
[dependencies.tap-caip]
version = "0.1.0"
[dependencies.tap-msg]
version = "0.1.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
features = ["rt", "sync", "macros"]
version = "1.32.0"
[dependencies.tokio-tungstenite]
features = ["native-tls"]
optional = true
version = "0.20"
[dependencies.tracing]
version = "0.1.37"
[dependencies.uuid]
features = ["v4", "serde", "wasm-bindgen"]
version = "0.8.2"
[dependencies.wasm-bindgen]
optional = true
version = "0.2"
[dependencies.wasm-bindgen-futures]
optional = true
version = "0.4"
[dependencies.web-sys]
features = ["console", "Headers", "Request", "RequestInit", "RequestMode", "Response", "Window", "Blob", "Headers", "Request", "RequestInit", "RequestMode", "Response", "Window"]
optional = true
version = "0.3"
[dev-dependencies.criterion]
features = ["async_tokio"]
version = "0.5"
[dev-dependencies.env_logger]
version = "0.10"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.tokio-test]
version = "0.4.3"
[[example]]
name = "http_message_flow"
path = "examples/http_message_flow.rs"
[[example]]
name = "websocket_message_flow"
path = "examples/websocket_message_flow.rs"
[features]
default = ["native"]
native = ["tokio/full", "reqwest"]
native-with-websocket = ["native", "websocket"]
wasm = ["wasm-bindgen", "js-sys", "wasm-bindgen-futures", "console_error_panic_hook", "web-sys"]
wasm-with-websocket = ["wasm", "web-sys/WebSocket", "web-sys/MessageEvent", "web-sys/BinaryType"]
websocket = ["tokio-tungstenite"]
[lib]
name = "tap_node"
path = "src/lib.rs"
[package]
authors = ["Pelle Braendgaard <pelle@notabene.id>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Transaction Authorization Protocol (TAP) node implementation for routing and processing messages"
edition = "2021"
license = "MIT"
name = "tap-node"
readme = "README.md"
repository = "https://github.com/TransactionAuthorizationProtocol/tap-rs"
version = "0.1.0"
[[test]]
name = "message_tests"
path = "tests/message_tests.rs"
[[test]]
name = "node_tests"
path = "tests/node_tests.rs"
[[test]]
name = "processor_tests"
path = "tests/processor_tests.rs"
[[test]]
name = "sender_tests"
path = "tests/sender_tests.rs"
[[test]]
name = "validation_tests"
path = "tests/validation_tests.rs"
[[test]]
name = "websocket_tests"
path = "tests/websocket_tests.rs"