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.
44 lines
1.1 KiB
44 lines
1.1 KiB
2 years ago
|
[package]
|
||
2 years ago
|
name = "ng-sdk-js"
|
||
2 years ago
|
version = "0.1.0"
|
||
|
edition = "2021"
|
||
|
license = "MIT/Apache-2.0"
|
||
|
authors = ["Niko PLP <niko@nextgraph.org>"]
|
||
2 years ago
|
description = "JS app sdk of NextGraph"
|
||
2 years ago
|
repository = "https://git.nextgraph.org/NextGraph/nextgraph-rs"
|
||
|
|
||
|
[package.metadata.wasm-pack.profile.release]
|
||
|
wasm-opt = false
|
||
|
|
||
|
[lib]
|
||
|
crate-type = ["cdylib"]
|
||
|
|
||
|
[dependencies]
|
||
|
wasm-bindgen = "0.2"
|
||
2 years ago
|
ws_stream_wasm = "0.7"
|
||
|
p2p-net = { path = "../p2p-net" }
|
||
|
p2p-repo = { path = "../p2p-repo" }
|
||
|
p2p-client-ws = { path = "../p2p-client-ws" }
|
||
|
async-std = { version = "1.12.0", features = ["attributes","unstable"] }
|
||
|
futures = "0.3.24"
|
||
|
pharos = "0.5"
|
||
|
debug_print = "1.0.0"
|
||
|
serde = { version = "1.0", features = ["derive"] }
|
||
|
serde_bare = "0.5.0"
|
||
|
serde_bytes = "0.11.7"
|
||
2 years ago
|
# snow = "0.9.2"
|
||
2 years ago
|
getrandom = { version = "0.1.1", features = ["wasm-bindgen"] }
|
||
2 years ago
|
|
||
2 years ago
|
|
||
|
# [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
|
||
|
# version = "0.2.7"
|
||
|
# features = ["js"]
|
||
|
|
||
2 years ago
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||
2 years ago
|
# js-sys = "0.3.61"
|
||
2 years ago
|
wasm-bindgen-futures = "0.4.34"
|
||
2 years ago
|
# web-sys = { version = "0.3.61", features = ["Window"] }
|
||
2 years ago
|
gloo-timers = "0.2.6"
|
||
2 years ago
|
|
||
|
[dev-dependencies]
|
||
|
wasm-bindgen-test = "^0.3"
|