feat: remove yrs (#4153)

This commit is contained in:
DarkSky 2023-09-04 15:31:00 +08:00 committed by GitHub
parent 5b7d076a90
commit 80195ca2a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 104 additions and 1580 deletions

1673
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,3 @@ lto = true
codegen-units = 1
opt-level = 3
strip = "symbols"
[patch.crates-io]
lib0 = { git = "https://github.com/toeverything/y-crdt", rev = "a700f09" }
yrs = { git = "https://github.com/toeverything/y-crdt", rev = "a700f09" }

View File

@ -7,15 +7,14 @@ edition = "2021"
crate-type = ["cdylib"]
[dependencies]
jwst = { git = "https://github.com/toeverything/OctoBase.git" }
jwst-codec = { git = "https://github.com/toeverything/OctoBase.git" }
jwst-core = { git = "https://github.com/toeverything/OctoBase.git" }
jwst-storage = { git = "https://github.com/toeverything/OctoBase.git" }
napi = { version = "2", default-features = false, features = [
"napi5",
"async",
] }
napi-derive = { version = "2", features = ["type-def"] }
yrs = { version = "0.16.5" }
[build-dependencies]
napi-build = "2"

View File

@ -6,8 +6,8 @@ use std::{
path::PathBuf,
};
use jwst::BlobStorage;
use jwst_codec::Doc;
use jwst_core::BlobStorage;
use jwst_storage::{BlobStorageType, JwstStorage, JwstStorageError};
use napi::{bindgen_prelude::*, Error, Result, Status};

View File

@ -1,3 +1,3 @@
#!/bin/bash
cargo update -p jwst -p jwst-codec -p jwst-storage
cargo update -p jwst-codec -p jwst-core -p jwst-storage