[package]
edition = "2021"
rust-version = "1.87"
name = "bsv-messagebox-client"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "BSV MessageBox client — peer-to-peer messaging and payments with BRC-78 encryption, WebSocket live delivery, and overlay host resolution. Full parity with @bsv/message-box-client."
readme = "README.md"
keywords = [
"bsv",
"blockchain",
"messaging",
"p2p",
"bitcoin",
]
categories = [
"cryptography",
"network-programming",
]
license-file = "LICENSE"
repository = "https://github.com/b1narydt/rust-messagebox-client"
[lib]
name = "bsv_messagebox_client"
path = "src/lib.rs"
[[example]]
name = "comms_layer"
path = "examples/comms_layer.rs"
[[example]]
name = "live_messaging"
path = "examples/live_messaging.rs"
[[example]]
name = "payments"
path = "examples/payments.rs"
[[example]]
name = "send_message"
path = "examples/send_message.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "live_server"
path = "tests/live_server.rs"
[[test]]
name = "parity"
path = "tests/parity.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.bsv-sdk]
version = "0.2"
features = ["network"]
[dependencies.futures-util]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.rand]
version = "0.8"
[dependencies.rust_socketio]
version = "0.6"
features = ["async"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.wiremock]
version = "0.6"