mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat(native): provide FSWatcher
This commit is contained in:
@@ -7,23 +7,25 @@ version = "0.0.0"
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
|
||||
napi = { version = "2.11.1", default-features = false, features = ["napi4", "tokio_rt"] }
|
||||
napi-derive = "2.11.0"
|
||||
jwst = { git = "https://github.com/toeverything/OctoBase", rev = "b701935", package = "jwst" }
|
||||
jwst-storage = { git = "https://github.com/toeverything/OctoBase", rev = "b701935", package = "jwst-storage", features = [ "sqlite"] }
|
||||
cloud-database = { git = "https://github.com/toeverything/OctoBase", rev = "b701935", package = "cloud-database", features = [ "sqlite"] }
|
||||
jwst-rpc = { git = "https://github.com/toeverything/OctoBase", rev = "b701935", package = "jwst-rpc" }
|
||||
lib0 = "0.16.3"
|
||||
tokio = "1.24.2"
|
||||
yrs = "0.16.3"
|
||||
bytes = "1.3.0"
|
||||
futures = "^0.3.25"
|
||||
napi = { version = "2", default-features = false, features = [
|
||||
"napi4",
|
||||
"tokio_rt",
|
||||
"serde-json",
|
||||
"error_anyhow",
|
||||
] }
|
||||
napi-derive = "2"
|
||||
notify = { version = "5", features = ["serde"] }
|
||||
parking_lot = "0.12"
|
||||
serde = "1"
|
||||
serde_json = "1"
|
||||
tokio = "1"
|
||||
uuid = { version = "1", default-features = false, features = [
|
||||
"serde",
|
||||
"v4",
|
||||
"fast-rng",
|
||||
] }
|
||||
|
||||
[build-dependencies]
|
||||
napi-build = "2.0.1"
|
||||
|
||||
[patch.crates-io]
|
||||
rust-embed = { git = "https://github.com/pyrossh/rust-embed", rev = "7c0fc42" }
|
||||
lib0 = { git = "https://github.com/toeverything/y-crdt", rev = "a3f7263" }
|
||||
yrs = { git = "https://github.com/toeverything/y-crdt", rev = "a3f7263" }
|
||||
napi-build = "2"
|
||||
|
||||
Reference in New Issue
Block a user