Rust implementation of NextGraph, a Decentralized and local-first web 3.0 ecosystem
https://nextgraph.org
byzantine-fault-tolerancecrdtsdappsdecentralizede2eeeventual-consistencyjson-ldlocal-firstmarkdownocapoffline-firstp2pp2p-networkprivacy-protectionrdfrich-text-editorself-hostedsemantic-websparqlweb3collaboration
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.4 KiB
55 lines
1.4 KiB
[package]
|
|
name = "ng-sdk-js"
|
|
# version = "0.1.0"
|
|
description = "JS app sdk of NextGraph"
|
|
publish = false
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
keywords.workspace = true
|
|
documentation.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
wasm-opt = false
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
wasm-bindgen = "0.2"
|
|
ws_stream_wasm = "0.7"
|
|
ng-net = { path = "../ng-net" }
|
|
ng-repo = { path = "../ng-repo" }
|
|
ng-client-ws = { path = "../ng-client-ws" }
|
|
ng-wallet = { path = "../ng-wallet" }
|
|
once_cell = "1.17.1"
|
|
nextgraph = { path = "../nextgraph" }
|
|
async-std = { version = "1.12.0", features = ["attributes","unstable"] }
|
|
futures = "0.3.24"
|
|
pharos = "0.5"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_bare = "0.5.0"
|
|
serde_bytes = "0.11.7"
|
|
# snow = "0.9.2"
|
|
getrandom = { version = "0.1.1", features = ["wasm-bindgen"] }
|
|
serde_json = "1.0"
|
|
rand = { version = "0.7", features = ["getrandom"] }
|
|
base64-url = "2.0.0"
|
|
|
|
# [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
|
|
# version = "0.2.7"
|
|
# features = ["js"]
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
js-sys = "0.3.61"
|
|
serde-wasm-bindgen = "0.6"
|
|
wasm-bindgen-futures = "0.4.34"
|
|
# web-sys = { version = "0.3.61", features = ["Window"] }
|
|
gloo-timers = "0.2.6"
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = "^0.3" |