chore: use workspace dependencies (#6964)

This commit is contained in:
Brooooooklyn
2024-05-16 09:49:23 +00:00
parent bf43ba3d6b
commit 6d5d09bb74
9 changed files with 73 additions and 90 deletions
+11 -14
View File
@@ -1,23 +1,20 @@
[package]
name = "affine_server_native"
version = "1.0.0"
edition = "2021"
name = "affine_server_native"
version = "1.0.0"
[lib]
crate-type = ["cdylib"]
[dependencies]
chrono = "0.4"
file-format = { version = "0.25", features = ["reader"] }
napi = { version = "2", default-features = false, features = [
"napi6",
"async",
] }
napi-derive = { version = "2", features = ["type-def"] }
rand = "0.8"
sha3 = "0.10"
tiktoken-rs = "0.5.9"
y-octo = { git = "https://github.com/y-crdt/y-octo.git", branch = "main" }
chrono = { workspace = true }
file-format = { workspace = true }
napi = { workspace = true }
napi-derive = { workspace = true }
rand = { workspace = true }
sha3 = { workspace = true }
tiktoken-rs = { workspace = true }
y-octo = { workspace = true }
[target.'cfg(not(target_os = "linux"))'.dependencies]
mimalloc = { workspace = true }
@@ -29,4 +26,4 @@ mimalloc = { workspace = true, features = ["local_dynamic_tls"] }
tokio = "1"
[build-dependencies]
napi-build = "2"
napi-build = { workspace = true }