ng-storage-rocksdb preview.6

pull/19/head
Niko PLP 5 months ago
parent 295dfa5cc3
commit b5e380d06a
  1. 2
      nextgraph/Cargo.toml
  2. 6
      ng-broker/Cargo.toml
  3. 3
      ng-storage-rocksdb/Cargo.toml
  4. 7
      ng-storage-rocksdb/build.rs
  5. 4
      ng-storage-rocksdb/src/lib.rs
  6. 6
      ng-verifier/Cargo.toml

@ -33,7 +33,7 @@ ng-client-ws = { path = "../ng-client-ws", version = "0.1.0-preview.1" }
ng-verifier = { path = "../ng-verifier", version = "0.1.0-preview.5" }
[target.'cfg(all(not(target_arch = "wasm32")))'.dependencies]
ng-storage-rocksdb = { path = "../ng-storage-rocksdb", version = "0.1.0-preview.5" }
ng-storage-rocksdb = { path = "../ng-storage-rocksdb", version = "0.1.0-preview.6" }
[[example]]
name = "in_memory"

@ -1,6 +1,6 @@
[package]
name = "ng-broker"
version = "0.1.0-preview.3"
version = "0.1.0-preview.6"
description = "Broker library of NextGraph, a decentralized, secure and local-first web 3.0 ecosystem based on Semantic Web and CRDTs"
edition.workspace = true
license.workspace = true
@ -29,8 +29,8 @@ blake3 = "1.3.1"
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1" }
ng-net = { path = "../ng-net", version = "0.1.0-preview.1" }
ng-client-ws = { path = "../ng-client-ws", version = "0.1.0-preview.1" }
ng-verifier = { path = "../ng-verifier", version = "0.1.0-preview.3" }
ng-storage-rocksdb = { path = "../ng-storage-rocksdb", version = "0.1.0-preview.3" }
ng-verifier = { path = "../ng-verifier", version = "0.1.0-preview.6" }
ng-storage-rocksdb = { path = "../ng-storage-rocksdb", version = "0.1.0-preview.6" }
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2.7"

@ -10,12 +10,13 @@ homepage.workspace = true
keywords = ["crdt","e2ee","local-first","p2p","database"]
documentation.workspace = true
rust-version.workspace = true
build = "build.rs"
[dependencies]
serde_bare = "0.5.0"
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1" }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ng-rocksdb]
[target.'cfg(all(not(target_arch = "wasm32"),not(docsrs)))'.dependencies.ng-rocksdb]
git = "https://git.nextgraph.org/NextGraph/rust-rocksdb.git"
branch = "master"
features = [ ]

@ -0,0 +1,7 @@
fn main() {
if std::env::var("DOCS_RS").is_ok() {
println!("cargo:rustc-cfg=docsrs");
}
}

@ -1,5 +1,5 @@
#[cfg(not(target_arch = "wasm32"))]
#[cfg(all(not(target_arch = "wasm32"),not(docsrs)))]
pub mod block_storage;
#[cfg(not(target_arch = "wasm32"))]
#[cfg(all(not(target_arch = "wasm32"),not(docsrs)))]
pub mod kcv_storage;

@ -32,13 +32,13 @@ yrs = "0.18.2"
bloomfilter = { version = "1.0.13", features = ["random","serde"] }
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1" }
ng-net = { path = "../ng-net", version = "0.1.0-preview.1" }
ng-oxigraph = { path = "../ng-oxigraph", version = "0.4.0-alpha.7-ngpreview5" }
ng-oxigraph = { path = "../ng-oxigraph", version = "0.4.0-alpha.7-ngpreview6" }
[target.'cfg(target_arch = "wasm32")'.dependencies]
ng-oxigraph = { path = "../ng-oxigraph", version = "0.4.0-alpha.7-ngpreview5", features = ["js"] }
ng-oxigraph = { path = "../ng-oxigraph", version = "0.4.0-alpha.7-ngpreview6", features = ["js"] }
[target.'cfg(all(not(target_arch = "wasm32")))'.dependencies]
ng-storage-rocksdb = { path = "../ng-storage-rocksdb", version = "0.1.0-preview.5" }
ng-storage-rocksdb = { path = "../ng-storage-rocksdb", version = "0.1.0-preview.6" }
getrandom = "0.2.7"
[dev-dependencies]

Loading…
Cancel
Save