2023-06-29 04:45:45 +03:00
|
|
|
[package]
|
2024-04-29 05:14:20 +03:00
|
|
|
name = "affine_server_native"
|
2023-06-29 04:45:45 +03:00
|
|
|
version = "1.0.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
|
|
|
[dependencies]
|
2023-10-18 11:06:07 +03:00
|
|
|
chrono = "0.4"
|
2024-05-09 11:37:28 +03:00
|
|
|
file-format = { version = "0.25", features = ["reader"] }
|
2023-06-29 04:45:45 +03:00
|
|
|
napi = { version = "2", default-features = false, features = [
|
2024-05-16 10:55:10 +03:00
|
|
|
"napi6",
|
2023-06-29 04:45:45 +03:00
|
|
|
"async",
|
|
|
|
] }
|
|
|
|
napi-derive = { version = "2", features = ["type-def"] }
|
2023-10-18 11:06:07 +03:00
|
|
|
rand = "0.8"
|
|
|
|
sha3 = "0.10"
|
2024-05-16 10:55:10 +03:00
|
|
|
tiktoken-rs = "0.5.9"
|
2024-01-31 09:54:33 +03:00
|
|
|
y-octo = { git = "https://github.com/y-crdt/y-octo.git", branch = "main" }
|
2023-10-18 11:06:07 +03:00
|
|
|
|
2024-05-16 10:55:10 +03:00
|
|
|
[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"] }
|
|
|
|
|
2023-10-18 11:06:07 +03:00
|
|
|
[dev-dependencies]
|
|
|
|
tokio = "1"
|
2023-06-29 04:45:45 +03:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
napi-build = "2"
|