mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-28 11:53:24 +03:00
30 lines
1.1 KiB
TOML
30 lines
1.1 KiB
TOML
|
[package]
|
||
|
edition = "2021"
|
||
|
name = "affine_octobase"
|
||
|
version = "0.0.0"
|
||
|
|
||
|
[lib]
|
||
|
crate-type = ["cdylib"]
|
||
|
|
||
|
[dependencies]
|
||
|
# 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"
|
||
|
|
||
|
[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" }
|