mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-01 04:54:28 +03:00
33 lines
667 B
TOML
33 lines
667 B
TOML
[package]
|
|
edition = "2021"
|
|
name = "affine_native"
|
|
version = "0.0.0"
|
|
|
|
[lib]
|
|
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", default-features = false, features = [
|
|
"napi4",
|
|
"tokio_rt",
|
|
"serde-json",
|
|
"error_anyhow",
|
|
] }
|
|
napi-derive = "2"
|
|
notify = { version = "6", features = ["serde"] }
|
|
once_cell = "1"
|
|
parking_lot = "0.12"
|
|
serde = "1"
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["full"] }
|
|
uuid = { version = "1", default-features = false, features = [
|
|
"serde",
|
|
"v4",
|
|
"fast-rng",
|
|
] }
|
|
|
|
[build-dependencies]
|
|
napi-build = "2"
|