mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-22 00:37:05 +08:00
feat(storage): binding jwst storage to node (#2808)
This commit is contained in:
27
packages/storage/Cargo.toml
Normal file
27
packages/storage/Cargo.toml
Normal 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" }
|
||||
Reference in New Issue
Block a user