mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 15:16:28 +08:00
72 lines
2.1 KiB
TOML
72 lines
2.1 KiB
TOML
[package]
|
|
edition = "2024"
|
|
license-file = "LICENSE"
|
|
name = "affine_server_native"
|
|
publish = false
|
|
version = "1.0.0"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
aes-gcm = { workspace = true }
|
|
affine_common = { workspace = true, features = [
|
|
"hashcash",
|
|
"napi",
|
|
"ydoc-loader",
|
|
] }
|
|
anyhow = { workspace = true }
|
|
aws-sdk-s3 = "1.115"
|
|
base64 = { workspace = true }
|
|
chrono = { workspace = true }
|
|
doc_extractor = { workspace = true }
|
|
file-format = { workspace = true }
|
|
hex = { workspace = true }
|
|
homedir = { workspace = true }
|
|
image = { workspace = true }
|
|
infer = { workspace = true }
|
|
jsonschema = "0.46"
|
|
libwebp-sys = { workspace = true }
|
|
little_exif = { workspace = true }
|
|
llm_adapter = { workspace = true, features = ["schema", "ureq-client"] }
|
|
llm_runtime = { workspace = true, features = ["schema", "ureq-client"] }
|
|
matroska = { workspace = true }
|
|
mp4parse = { workspace = true }
|
|
napi = { workspace = true, features = ["async", "serde-json"] }
|
|
napi-derive = { workspace = true }
|
|
p256 = { workspace = true }
|
|
rand = { workspace = true }
|
|
safefetch = { workspace = true }
|
|
schemars = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
sha3 = { workspace = true }
|
|
sqlx = { workspace = true, default-features = false, features = [
|
|
"chrono",
|
|
"json",
|
|
"macros",
|
|
"migrate",
|
|
"postgres",
|
|
"runtime-tokio",
|
|
] }
|
|
tiktoken-rs = { workspace = true }
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "sync"] }
|
|
url = { workspace = true }
|
|
uuid = { workspace = true, features = ["v4"] }
|
|
v_htmlescape = { workspace = true }
|
|
y-octo = { workspace = true, features = ["large_refs"] }
|
|
|
|
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
|
mimalloc = { workspace = true }
|
|
|
|
[target.'cfg(all(target_os = "linux", not(target_arch = "arm")))'.dependencies]
|
|
mimalloc = { workspace = true, features = ["local_dynamic_tls"] }
|
|
|
|
[dev-dependencies]
|
|
rayon = { workspace = true }
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
|
|
|
[build-dependencies]
|
|
napi-build = { workspace = true }
|