|
|
|
[package]
|
|
|
|
name = "ng-broker"
|
|
|
|
# version = "0.1.0"
|
|
|
|
description = "Broker library of NextGraph, a decentralized, secure and local-first web 3.0 ecosystem based on Semantic Web and CRDTs"
|
|
|
|
version.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
repository.workspace = true
|
|
|
|
homepage.workspace = true
|
|
|
|
keywords = ["crdt","e2ee","local-first","p2p","pubsub"]
|
|
|
|
documentation.workspace = true
|
|
|
|
rust-version.workspace = true
|
|
|
|
|
|
|
|
[badges]
|
|
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_bare = "0.5.0"
|
|
|
|
serde_json = "1.0.96"
|
|
|
|
futures = "0.3.24"
|
|
|
|
once_cell = "1.17.1"
|
|
|
|
either = { version = "1.8.1", features=["serde"] }
|
|
|
|
async-std = { version = "1.12.0", features = ["attributes"] }
|
|
|
|
async-trait = "0.1.64"
|
|
|
|
rust-embed= { version = "6.7.0", features=["include-exclude"] }
|
|
|
|
ng-async-tungstenite = { version = "0.22.2", git = "https://git.nextgraph.org/NextGraph/async-tungstenite.git", branch = "nextgraph", features = ["async-std-runtime"] }
|
|
|
|
blake3 = "1.3.1"
|
|
|
|
ng-repo = { path = "../ng-repo", version = "0.1.0" }
|
|
|
|
ng-net = { path = "../ng-net", version = "0.1.0" }
|
|
|
|
ng-client-ws = { path = "../ng-client-ws", version = "0.1.0" }
|
|
|
|
ng-verifier = { path = "../ng-verifier", version = "0.1.0-alpha" }
|
|
|
|
ng-storage-rocksdb = { path = "../ng-storage-rocksdb", version = "0.1.0" }
|
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
|
|
|
|
version = "0.2.7"
|
|
|
|
features = ["js"]
|
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
|
getrandom = "0.2.7"
|
|
|
|
netdev = "0.26"
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tempfile = "3"
|