diff --git a/README.md b/README.md index 4ffb4b2..f8dc310 100644 --- a/README.md +++ b/README.md @@ -46,13 +46,13 @@ cargo build The crates are organized as follow : -- p2p-repo : all the common types, traits and structs for the P2P repositories -- p2p-net : all the common types, traits and structs for the P2P networks -- p2p-broker : the broker code (as server and core peer) -- p2p-client-ws : the client connecting to a broker, used by the apps and verifier +- p2p-repo : NextGraph repositories common library +- p2p-net : P2P network common library +- p2p-broker : the broker code (as server and core node) +- p2p-client-ws : the client connecting to a broker with WebSocket, used by the apps and verifier - p2p-verifier : the code of the verifier - stores-lmdb : lmdb backed stores -- ngcli : CLI tool to manipulate the repos +- ngcli : CLI tool to manipulate the repos and administrate the server - ngd : binary executable of the daemon (that can run a broker, verifier and/or Rust services) - ng-wallet : keeps the secret keys of all identities of the user in a safe wallet - [ng-sdk-js](ng-sdk-js/README.md) : contains the JS SDK, with example apps: web app, react app, or node service. diff --git a/ng-app/src-tauri/src/lib.rs b/ng-app/src-tauri/src/lib.rs index 39a1db4..d2b33dc 100644 --- a/ng-app/src-tauri/src/lib.rs +++ b/ng-app/src-tauri/src/lib.rs @@ -1,6 +1,3 @@ -use std::collections::HashMap; -use std::fs::{read, write}; - // Copyright (c) 2022-2023 Niko Bonnieure, Par le Peuple, NextGraph.org developers // All rights reserved. // Licensed under the Apache License, Version 2.0 @@ -17,6 +14,8 @@ use p2p_net::types::{CreateAccountBSP, Invitation}; use p2p_net::utils::{decode_invitation_string, spawn_and_log_error, Receiver, ResultSend}; use p2p_repo::log::*; use p2p_repo::types::*; +use std::collections::HashMap; +use std::fs::{read, write}; use tauri::ipc::RemoteDomainAccessScope; use tauri::utils::config::WindowConfig; use tauri::{path::BaseDirectory, App, Manager, Window}; diff --git a/ng-app/src/routes/URI.svelte b/ng-app/src/routes/URI.svelte index a4d9d9a..6e4e1ae 100644 --- a/ng-app/src/routes/URI.svelte +++ b/ng-app/src/routes/URI.svelte @@ -1,3 +1,13 @@ +