version 0.1.0-preview7

master
Niko PLP 4 months ago
parent 76ef3eee4d
commit 8b9c3ea409
  1. 32
      Cargo.lock
  2. 2
      Cargo.toml
  3. 14
      nextgraph/Cargo.toml
  4. 2
      nextgraph/README.md
  5. 4
      ng-app/package.json
  6. 12
      ng-broker/Cargo.toml
  7. 0
      ng-broker/src/public/favicon.ico
  8. 2
      ng-broker/src/server_ws.rs
  9. 4
      ng-client-ws/Cargo.toml
  10. 2
      ng-net/Cargo.toml
  11. 4
      ng-oxigraph/Cargo.toml
  12. 4
      ng-storage-rocksdb/Cargo.toml
  13. 14
      ng-verifier/Cargo.toml
  14. 12
      ng-wallet/Cargo.toml
  15. 6
      ngaccount/Cargo.toml
  16. 6
      ngcli/Cargo.toml
  17. 6
      ngd/Cargo.toml

32
Cargo.lock generated

@ -3276,7 +3276,7 @@ checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54"
[[package]] [[package]]
name = "nextgraph" name = "nextgraph"
version = "0.1.0-preview.6" version = "0.1.0-preview.7"
dependencies = [ dependencies = [
"async-once-cell", "async-once-cell",
"async-std", "async-std",
@ -3304,7 +3304,7 @@ dependencies = [
[[package]] [[package]]
name = "ng-app" name = "ng-app"
version = "0.1.0-preview.1" version = "0.1.0-preview.7"
dependencies = [ dependencies = [
"async-std", "async-std",
"nextgraph", "nextgraph",
@ -3342,7 +3342,7 @@ dependencies = [
[[package]] [[package]]
name = "ng-broker" name = "ng-broker"
version = "0.1.0-preview.6" version = "0.1.0-preview.7"
dependencies = [ dependencies = [
"async-std", "async-std",
"async-trait", "async-trait",
@ -3367,7 +3367,7 @@ dependencies = [
[[package]] [[package]]
name = "ng-client-ws" name = "ng-client-ws"
version = "0.1.0-preview.1" version = "0.1.0-preview.7"
dependencies = [ dependencies = [
"async-std", "async-std",
"async-trait", "async-trait",
@ -3386,7 +3386,7 @@ dependencies = [
[[package]] [[package]]
name = "ng-net" name = "ng-net"
version = "0.1.0-preview.1" version = "0.1.0-preview.7"
dependencies = [ dependencies = [
"async-recursion", "async-recursion",
"async-std", "async-std",
@ -3416,7 +3416,7 @@ dependencies = [
[[package]] [[package]]
name = "ng-oxigraph" name = "ng-oxigraph"
version = "0.4.0-alpha.7-ngpreview6" version = "0.4.0-alpha.7-ngpreview7"
dependencies = [ dependencies = [
"base64-url", "base64-url",
"codspeed-criterion-compat", "codspeed-criterion-compat",
@ -3440,14 +3440,14 @@ dependencies = [
"serde", "serde",
"sha1", "sha1",
"sha2 0.10.8", "sha2 0.10.8",
"siphasher 1.0.1", "siphasher 0.3.10",
"thiserror", "thiserror",
"zstd", "zstd",
] ]
[[package]] [[package]]
name = "ng-repo" name = "ng-repo"
version = "0.1.0-preview.1" version = "0.1.0-preview.7"
dependencies = [ dependencies = [
"base64-url", "base64-url",
"blake3", "blake3",
@ -3496,7 +3496,7 @@ dependencies = [
[[package]] [[package]]
name = "ng-sdk-js" name = "ng-sdk-js"
version = "0.1.0-preview.1" version = "0.1.0-preview.7"
dependencies = [ dependencies = [
"async-std", "async-std",
"futures", "futures",
@ -3523,7 +3523,7 @@ dependencies = [
[[package]] [[package]]
name = "ng-storage-rocksdb" name = "ng-storage-rocksdb"
version = "0.1.0-preview.6" version = "0.1.0-preview.7"
dependencies = [ dependencies = [
"ng-repo", "ng-repo",
"ng-rocksdb", "ng-rocksdb",
@ -3551,7 +3551,7 @@ dependencies = [
[[package]] [[package]]
name = "ng-verifier" name = "ng-verifier"
version = "0.1.0-preview.6" version = "0.1.0-preview.7"
dependencies = [ dependencies = [
"async-std", "async-std",
"async-trait", "async-trait",
@ -3575,7 +3575,7 @@ dependencies = [
[[package]] [[package]]
name = "ng-wallet" name = "ng-wallet"
version = "0.1.0-preview.6" version = "0.1.0-preview.7"
dependencies = [ dependencies = [
"aes-gcm-siv", "aes-gcm-siv",
"argon2", "argon2",
@ -3602,7 +3602,7 @@ dependencies = [
[[package]] [[package]]
name = "ngaccount" name = "ngaccount"
version = "0.1.0-preview.1" version = "0.1.0-preview.7"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"duration-str", "duration-str",
@ -3620,7 +3620,7 @@ dependencies = [
[[package]] [[package]]
name = "ngcli" name = "ngcli"
version = "0.1.0-preview.1" version = "0.1.0-preview.7"
dependencies = [ dependencies = [
"async-std", "async-std",
"blake3", "blake3",
@ -3639,7 +3639,7 @@ dependencies = [
[[package]] [[package]]
name = "ngd" name = "ngd"
version = "0.1.0-preview.1" version = "0.1.0-preview.7"
dependencies = [ dependencies = [
"addr", "addr",
"async-std", "async-std",
@ -3658,7 +3658,7 @@ dependencies = [
[[package]] [[package]]
name = "ngone" name = "ngone"
version = "0.1.0-preview.1" version = "0.1.0-preview.7"
dependencies = [ dependencies = [
"base64-url", "base64-url",
"bytes", "bytes",

@ -19,7 +19,7 @@ members = [
default-members = [ "nextgraph", "ngcli", "ngd" ] default-members = [ "nextgraph", "ngcli", "ngd" ]
[workspace.package] [workspace.package]
version = "0.1.0-preview.1" version = "0.1.0-preview.7"
edition = "2021" edition = "2021"
rust-version = "1.74.0" rust-version = "1.74.0"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"

@ -2,7 +2,7 @@
name = "nextgraph" name = "nextgraph"
description = "NextGraph client library. Nextgraph is a decentralized, secure and local-first web 3.0 ecosystem based on Semantic Web and CRDTs" description = "NextGraph client library. Nextgraph is a decentralized, secure and local-first web 3.0 ecosystem based on Semantic Web and CRDTs"
categories = ["asynchronous","text-editors","web-programming","development-tools","database-implementations"] categories = ["asynchronous","text-editors","web-programming","development-tools","database-implementations"]
version = "0.1.0-preview.6" version = "0.1.0-preview.7"
edition.workspace = true edition.workspace = true
license.workspace = true license.workspace = true
authors.workspace = true authors.workspace = true
@ -32,14 +32,14 @@ whoami = "1.5.1"
qrcode = { version = "0.14.1", default-features = false, features = ["svg"] } qrcode = { version = "0.14.1", default-features = false, features = ["svg"] }
svg2pdf = { version = "0.11.0", default-features = false } svg2pdf = { version = "0.11.0", default-features = false }
pdf-writer = "0.10.0" pdf-writer = "0.10.0"
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1" } ng-repo = { path = "../ng-repo", version = "0.1.0-preview.7" }
ng-net = { path = "../ng-net", version = "0.1.0-preview.1" } ng-net = { path = "../ng-net", version = "0.1.0-preview.7" }
ng-wallet = { path = "../ng-wallet", version = "0.1.0-preview.5" } ng-wallet = { path = "../ng-wallet", version = "0.1.0-preview.7" }
ng-client-ws = { path = "../ng-client-ws", version = "0.1.0-preview.1" } ng-client-ws = { path = "../ng-client-ws", version = "0.1.0-preview.7" }
ng-verifier = { path = "../ng-verifier", version = "0.1.0-preview.5" } ng-verifier = { path = "../ng-verifier", version = "0.1.0-preview.7" }
[target.'cfg(all(not(target_family = "wasm"),not(docsrs)))'.dependencies] [target.'cfg(all(not(target_family = "wasm"),not(docsrs)))'.dependencies]
ng-storage-rocksdb = { path = "../ng-storage-rocksdb", version = "0.1.0-preview.6" } ng-storage-rocksdb = { path = "../ng-storage-rocksdb", version = "0.1.0-preview.7" }
[[example]] [[example]]
name = "in_memory" name = "in_memory"

@ -43,7 +43,7 @@ A tokio-based version (as a feature) might be available in the future.
```toml ```toml
[dependencies] [dependencies]
nextgraph = "0.1.0-preview.6" nextgraph = "0.1.0-preview.7"
async-std = "1.12.0" async-std = "1.12.0"
``` ```

@ -1,7 +1,7 @@
{ {
"name": "ng-app", "name": "ng-app",
"private": true, "private": true,
"version": "0.1.0", "version": "0.1.0-preview.7",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "shx cp index-native.html index.html && vite", "dev": "shx cp index-native.html index.html && vite",
@ -68,7 +68,7 @@
"immutable-json-patch": "^6.0.1", "immutable-json-patch": "^6.0.1",
"katex": "^0.16.11", "katex": "^0.16.11",
"lodash.debounce": "4.0.8", "lodash.debounce": "4.0.8",
"ng-sdk-js": "workspace:^0.1.0-preview.1", "ng-sdk-js": "workspace:^0.1.0-preview.7",
"prism-themes": "^1.9.0", "prism-themes": "^1.9.0",
"prosemirror-model": "^1.7.1", "prosemirror-model": "^1.7.1",
"prosemirror-state": "^1.2.3", "prosemirror-state": "^1.2.3",

@ -1,6 +1,6 @@
[package] [package]
name = "ng-broker" name = "ng-broker"
version = "0.1.0-preview.6" version = "0.1.0-preview.7"
description = "Broker library of NextGraph, a decentralized, secure and local-first web 3.0 ecosystem based on Semantic Web and CRDTs" description = "Broker library of NextGraph, a decentralized, secure and local-first web 3.0 ecosystem based on Semantic Web and CRDTs"
edition.workspace = true edition.workspace = true
license.workspace = true license.workspace = true
@ -26,11 +26,11 @@ async-trait = "0.1.64"
rust-embed= { version = "6.7.0", features=["include-exclude"] } 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"] } 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" blake3 = "1.3.1"
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1" } ng-repo = { path = "../ng-repo", version = "0.1.0-preview.7" }
ng-net = { path = "../ng-net", version = "0.1.0-preview.1" } ng-net = { path = "../ng-net", version = "0.1.0-preview.7" }
ng-client-ws = { path = "../ng-client-ws", version = "0.1.0-preview.1" } ng-client-ws = { path = "../ng-client-ws", version = "0.1.0-preview.7" }
ng-verifier = { path = "../ng-verifier", version = "0.1.0-preview.6" } ng-verifier = { path = "../ng-verifier", version = "0.1.0-preview.7" }
ng-storage-rocksdb = { path = "../ng-storage-rocksdb", version = "0.1.0-preview.6" } ng-storage-rocksdb = { path = "../ng-storage-rocksdb", version = "0.1.0-preview.7" }
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2.7" version = "0.2.7"

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

@ -197,7 +197,7 @@ fn prepare_urls_from_private_addrs(addrs: &Vec<BindAddress>, port: u16) -> Vec<S
struct App; struct App;
#[derive(RustEmbed)] #[derive(RustEmbed)]
#[folder = "../ng-app/public/"] #[folder = "src/public/"]
struct AppPublic; struct AppPublic;
static ROBOTS: &str = "User-agent: *\r\nDisallow: /"; static ROBOTS: &str = "User-agent: *\r\nDisallow: /";

@ -18,8 +18,8 @@ either = "1.8.1"
futures = "0.3.24" futures = "0.3.24"
async-trait = "0.1.64" async-trait = "0.1.64"
async-std = { version = "1.12.0", features = ["attributes","unstable"] } async-std = { version = "1.12.0", features = ["attributes","unstable"] }
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1" } ng-repo = { path = "../ng-repo", version = "0.1.0-preview.7" }
ng-net = { path = "../ng-net", version = "0.1.0-preview.1" } ng-net = { path = "../ng-net", version = "0.1.0-preview.7" }
[target.'cfg(target_arch = "wasm32")'.dependencies] [target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2" wasm-bindgen = "0.2"

@ -36,7 +36,7 @@ url = "2.4.0"
regex = "1.8.4" regex = "1.8.4"
base64-url = "2.0.0" base64-url = "2.0.0"
web-time = "0.2.0" web-time = "0.2.0"
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1" } ng-repo = { path = "../ng-repo", version = "0.1.0-preview.7" }
[target.'cfg(target_arch = "wasm32")'.dependencies] [target.'cfg(target_arch = "wasm32")'.dependencies]
reqwest = { version = "0.11.18", features = ["json","native-tls-vendored"] } reqwest = { version = "0.11.18", features = ["json","native-tls-vendored"] }

@ -1,6 +1,6 @@
[package] [package]
name = "ng-oxigraph" name = "ng-oxigraph"
version = "0.4.0-alpha.7-ngpreview6" version = "0.4.0-alpha.7-ngpreview7"
authors = ["Tpt <thomas@pellissier-tanon.fr>", "Niko PLP <niko@nextgraph.org>"] authors = ["Tpt <thomas@pellissier-tanon.fr>", "Niko PLP <niko@nextgraph.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
readme = "README.md" readme = "README.md"
@ -46,7 +46,7 @@ quick-xml = ">=0.29, <0.32"
memchr = "2.5" memchr = "2.5"
peg = "0.8" peg = "0.8"
base64-url = "2.0.0" base64-url = "2.0.0"
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1" } ng-repo = { path = "../ng-repo", version = "0.1.0-preview.7" }
[target.'cfg(all(not(target_family = "wasm"),not(docsrs)))'.dependencies] [target.'cfg(all(not(target_family = "wasm"),not(docsrs)))'.dependencies]
libc = "0.2" libc = "0.2"

@ -1,6 +1,6 @@
[package] [package]
name = "ng-storage-rocksdb" name = "ng-storage-rocksdb"
version = "0.1.0-preview.6" version = "0.1.0-preview.7"
description = "Stores based on RocksDB for NextGraph" description = "Stores based on RocksDB for NextGraph"
edition.workspace = true edition.workspace = true
license.workspace = true license.workspace = true
@ -14,7 +14,7 @@ build = "build.rs"
[dependencies] [dependencies]
serde_bare = "0.5.0" serde_bare = "0.5.0"
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1" } ng-repo = { path = "../ng-repo", version = "0.1.0-preview.7" }
[target.'cfg(all(not(target_arch = "wasm32"),not(docsrs)))'.dependencies.ng-rocksdb] [target.'cfg(all(not(target_arch = "wasm32"),not(docsrs)))'.dependencies.ng-rocksdb]
git = "https://git.nextgraph.org/NextGraph/rust-rocksdb.git" git = "https://git.nextgraph.org/NextGraph/rust-rocksdb.git"

@ -1,6 +1,6 @@
[package] [package]
name = "ng-verifier" name = "ng-verifier"
version = "0.1.0-preview.6" version = "0.1.0-preview.7"
description = "Verifier library of NextGraph" description = "Verifier library of NextGraph"
edition.workspace = true edition.workspace = true
license.workspace = true license.workspace = true
@ -32,16 +32,16 @@ async-std = { version = "1.12.0", features = [ "attributes", "unstable" ] }
automerge = "0.5.11" automerge = "0.5.11"
yrs = "0.19.2" yrs = "0.19.2"
sbbf-rs-safe = "0.3.2" sbbf-rs-safe = "0.3.2"
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1" } ng-repo = { path = "../ng-repo", version = "0.1.0-preview.7" }
ng-net = { path = "../ng-net", version = "0.1.0-preview.1" } ng-net = { path = "../ng-net", version = "0.1.0-preview.7" }
ng-oxigraph = { path = "../ng-oxigraph", version = "0.4.0-alpha.7-ngpreview6" } ng-oxigraph = { path = "../ng-oxigraph", version = "0.4.0-alpha.7-ngpreview7" }
[target.'cfg(target_family = "wasm")'.dependencies] [target.'cfg(target_family = "wasm")'.dependencies]
ng-oxigraph = { path = "../ng-oxigraph", version = "0.4.0-alpha.7-ngpreview6", features = ["js"] } ng-oxigraph = { path = "../ng-oxigraph", version = "0.4.0-alpha.7-ngpreview7", features = ["js"] }
[target.'cfg(all(not(target_family = "wasm"),not(docsrs)))'.dependencies] [target.'cfg(all(not(target_family = "wasm"),not(docsrs)))'.dependencies]
ng-storage-rocksdb = { path = "../ng-storage-rocksdb", version = "0.1.0-preview.6" } ng-storage-rocksdb = { path = "../ng-storage-rocksdb", version = "0.1.0-preview.7" }
getrandom = "0.2.7" getrandom = "0.2.7"
[dev-dependencies] [dev-dependencies]
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1", features = ["testing"] } ng-repo = { path = "../ng-repo", version = "0.1.0-preview.7", features = ["testing"] }

@ -1,6 +1,6 @@
[package] [package]
name = "ng-wallet" name = "ng-wallet"
version = "0.1.0-preview.6" version = "0.1.0-preview.7"
description = "Wallet library of NextGraph. keeps the secret keys of all identities of the user in a safe wallet. NextGraph is a decentralized, secure and local-first web 3.0 ecosystem based on Semantic Web and CRDTs" description = "Wallet library of NextGraph. keeps the secret keys of all identities of the user in a safe wallet. NextGraph is a decentralized, secure and local-first web 3.0 ecosystem based on Semantic Web and CRDTs"
categories = ["authentication"] categories = ["authentication"]
edition.workspace = true edition.workspace = true
@ -32,10 +32,10 @@ chacha20poly1305 = "0.10.1"
#{version = "0.10.1", features = ["heapless","getrandom"] } #{version = "0.10.1", features = ["heapless","getrandom"] }
image = "0.24.6" image = "0.24.6"
web-time = "0.2.0" web-time = "0.2.0"
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1" } ng-repo = { path = "../ng-repo", version = "0.1.0-preview.7" }
ng-net = { path = "../ng-net", version = "0.1.0-preview.1" } ng-net = { path = "../ng-net", version = "0.1.0-preview.7" }
ng-verifier = { path = "../ng-verifier", version = "0.1.0-preview.6" } ng-verifier = { path = "../ng-verifier", version = "0.1.0-preview.7" }
[dev-dependencies] [dev-dependencies]
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1", features = ["testing"] } ng-repo = { path = "../ng-repo", version = "0.1.0-preview.7", features = ["testing"] }
ng-verifier = { path = "../ng-verifier", version = "0.1.0-preview.6", features = ["testing"] } ng-verifier = { path = "../ng-verifier", version = "0.1.0-preview.7", features = ["testing"] }

@ -23,6 +23,6 @@ log = "0.4"
env_logger = "0.10" env_logger = "0.10"
anyhow = "1.0.71" anyhow = "1.0.71"
duration-str = "0.7.1" duration-str = "0.7.1"
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1", features = ["server_log_output"] } ng-repo = { path = "../ng-repo", version = "0.1.0-preview.7", features = ["server_log_output"] }
ng-net = { path = "../ng-net", version = "0.1.0-preview.1" } ng-net = { path = "../ng-net", version = "0.1.0-preview.7" }
ng-client-ws = { path = "../ng-client-ws", version = "0.1.0-preview.1" } ng-client-ws = { path = "../ng-client-ws", version = "0.1.0-preview.7" }

@ -26,6 +26,6 @@ duration-str = "0.7.1"
clap = { version = "4.3.5", features = ["env","string","cargo"] } clap = { version = "4.3.5", features = ["env","string","cargo"] }
log = "0.4" log = "0.4"
env_logger = "0.10" env_logger = "0.10"
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1", features = ["server_log_output"] } ng-repo = { path = "../ng-repo", version = "0.1.0-preview.7", features = ["server_log_output"] }
ng-net = { path = "../ng-net", version = "0.1.0-preview.1" } ng-net = { path = "../ng-net", version = "0.1.0-preview.7" }
ng-client-ws = { path = "../ng-client-ws", version = "0.1.0-preview.1" } ng-client-ws = { path = "../ng-client-ws", version = "0.1.0-preview.7" }

@ -27,9 +27,9 @@ lazy_static = "1.4.0"
log = "0.4" log = "0.4"
env_logger = "0.10" env_logger = "0.10"
clap = { version = "4.3.21", features = ["derive","env","string"] } clap = { version = "4.3.21", features = ["derive","env","string"] }
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1", features = ["server_log_output"] } ng-repo = { path = "../ng-repo", version = "0.1.0-preview.7", features = ["server_log_output"] }
ng-net = { path = "../ng-net", version = "0.1.0-preview.1" } ng-net = { path = "../ng-net", version = "0.1.0-preview.7" }
ng-broker = { path = "../ng-broker", version = "0.1.0-preview.3" } ng-broker = { path = "../ng-broker", version = "0.1.0-preview.7" }

Loading…
Cancel
Save