AFFiNE/packages/native/Cargo.toml

54 lines
1.0 KiB
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]
affine_schema = { path = "./schema" }
2023-05-10 12:16:48 +03:00
anyhow = "1"
chrono = "0.4"
2023-05-10 12:16:48 +03:00
napi = { version = "2", default-features = false, features = [
"napi5",
2023-05-10 12:16:48 +03:00
"tokio_rt",
"serde-json",
"error_anyhow",
"chrono_date",
2023-05-10 12:16:48 +03:00
] }
napi-derive = "2"
notify = { version = "6", features = ["serde"] }
once_cell = "1"
2023-05-10 12:16:48 +03:00
parking_lot = "0.12"
serde = "1"
serde_json = "1"
sqlx = { version = "0.7.0-alpha.3", default-features = false, features = [
"sqlite",
"runtime-tokio",
"tls-rustls",
"chrono",
"macros",
] }
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]
affine_schema = { path = "./schema" }
dotenv = "0.15"
2023-05-10 12:16:48 +03:00
napi-build = "2"
sqlx = { version = "0.7.0-alpha.3", default-features = false, features = [
"sqlite",
"runtime-tokio",
"tls-rustls",
"chrono",
"macros",
"migrate",
"json",
] }
tokio = { version = "1", features = ["full"] }