# 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"
name = "hashtree-network"
version = "0.2.22"
authors = ["Martti Malmi"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Mesh networking stack for hashtree: routing, signaling, peer links, and stores"
homepage = "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/hashtree"
readme = "README.md"
keywords = [
    "merkle",
    "webrtc",
    "p2p",
    "nostr",
    "hashtree",
]
license = "MIT"
repository = "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/hashtree"

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

[[test]]
name = "formal_webrtc_props"
path = "tests/formal_webrtc_props.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "types"
path = "tests/types.rs"

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

[dependencies.bytes]
version = "1.0"

[dependencies.futures]
version = "0.3"

[dependencies.hashtree-core]
version = "0.2.22"

[dependencies.hex]
version = "0.4"

[dependencies.lazy_static]
version = "1.4"

[dependencies.nostr-sdk]
version = "0.35"
features = ["nip44"]
default-features = false

[dependencies.rand]
version = "0.8"

[dependencies.rmp-serde]
version = "1.3"

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

[dependencies.serde_bytes]
version = "0.11.19"

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "rt-multi-thread",
]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.0"
features = ["v4"]

[dependencies.webrtc]
version = "0.11"

[dev-dependencies.rustls]
version = "0.23"
features = ["ring"]

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "rt-multi-thread",
    "macros",
]
