ng-storage-rocksdb preview.6

pull/19/head
Niko PLP 6 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" } ng-verifier = { path = "../ng-verifier", version = "0.1.0-preview.5" }
[target.'cfg(all(not(target_arch = "wasm32")))'.dependencies] [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]] [[example]]
name = "in_memory" name = "in_memory"

@ -1,6 +1,6 @@
[package] [package]
name = "ng-broker" 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" 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
@ -29,8 +29,8 @@ 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.1" }
ng-net = { path = "../ng-net", 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-client-ws = { path = "../ng-client-ws", version = "0.1.0-preview.1" }
ng-verifier = { path = "../ng-verifier", 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.3" } ng-storage-rocksdb = { path = "../ng-storage-rocksdb", version = "0.1.0-preview.6" }
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2.7" version = "0.2.7"

@ -10,12 +10,13 @@ homepage.workspace = true
keywords = ["crdt","e2ee","local-first","p2p","database"] keywords = ["crdt","e2ee","local-first","p2p","database"]
documentation.workspace = true documentation.workspace = true
rust-version.workspace = true rust-version.workspace = true
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.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" git = "https://git.nextgraph.org/NextGraph/rust-rocksdb.git"
branch = "master" branch = "master"
features = [ ] 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; pub mod block_storage;
#[cfg(not(target_arch = "wasm32"))] #[cfg(all(not(target_arch = "wasm32"),not(docsrs)))]
pub mod kcv_storage; pub mod kcv_storage;

@ -32,13 +32,13 @@ yrs = "0.18.2"
bloomfilter = { version = "1.0.13", features = ["random","serde"] } bloomfilter = { version = "1.0.13", features = ["random","serde"] }
ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1" } ng-repo = { path = "../ng-repo", version = "0.1.0-preview.1" }
ng-net = { path = "../ng-net", 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] [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] [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" getrandom = "0.2.7"
[dev-dependencies] [dev-dependencies]

Loading…
Cancel
Save