[package] name = "p2p-broker" version = "0.1.0" edition = "2021" license = "MIT/Apache-2.0" authors = ["Niko PLP "] description = "P2P Broker module of NextGraph" repository = "https://git.nextgraph.org/NextGraph/nextgraph-rs" [dependencies] p2p-repo = { path = "../p2p-repo" } p2p-net = { path = "../p2p-net" } p2p-client-ws = { path = "../p2p-client-ws" } stores-lmdb = { path = "../stores-lmdb" } chacha20 = "0.9.0" serde = { version = "1.0", features = ["derive"] } serde_bare = "0.5.0" serde_bytes = "0.11.7" async-std = { version = "1.12.0", features = ["attributes"] } futures = "0.3.24" async-channel = "1.7.1" tempfile = "3" hex = "0.4.3" async-trait = "0.1.64" async-tungstenite = { git = "https://git.nextgraph.org/NextGraph/async-tungstenite.git", branch = "nextgraph", features = ["async-std-runtime"] } blake3 = "1.3.1" once_cell = "1.17.1" rust-embed= { version = "6.7.0", features=["include-exclude"] } serde_json = "1.0.96" [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] version = "0.2.7" features = ["js"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies] getrandom = "0.2.7" default-net = "0.15"