AFFiNE/packages/native/Cargo.toml

33 lines
667 B
TOML
Raw Normal View History

[package]
edition = "2021"
2023-05-10 13:38:23 +03:00
name = "affine_native"
version = "0.0.0"
[lib]
crate-type = ["cdylib"]
[dependencies]
2023-05-10 12:16:48 +03:00
anyhow = "1"
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
2023-05-10 12:16:48 +03:00
napi = { version = "2", default-features = false, features = [
"napi4",
"tokio_rt",
"serde-json",
"error_anyhow",
] }
napi-derive = "2"
notify = { version = "5", features = ["serde"] }
once_cell = "1"
2023-05-10 12:16:48 +03:00
parking_lot = "0.12"
serde = "1"
serde_json = "1"
tokio = { version = "1", features = ["full"] }
2023-05-10 12:16:48 +03:00
uuid = { version = "1", default-features = false, features = [
"serde",
"v4",
"fast-rng",
] }
[build-dependencies]
2023-05-10 12:16:48 +03:00
napi-build = "2"