feat(storage): binding jwst storage to node (#2808)

This commit is contained in:
liuyi
2023-06-29 09:45:45 +08:00
committed by GitHub
parent 86616e152d
commit 2c95bfcc3d
40 changed files with 5621 additions and 98 deletions

View File

@@ -0,0 +1,27 @@
[package]
name = "affine_storage"
version = "1.0.0"
edition = "2021"
# used to avoid sys dep conflict sqlx -> libsqlite-sys
[workspace]
[lib]
crate-type = ["cdylib"]
[dependencies]
jwst = { git = "https://github.com/toeverything/OctoBase.git", branch = "master" }
jwst-storage = { git = "https://github.com/toeverything/OctoBase.git", branch = "master" }
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"
[patch.crates-io]
lib0 = { git = "https://github.com/toeverything/y-crdt", rev = "a700f09" }
yrs = { git = "https://github.com/toeverything/y-crdt", rev = "a700f09" }