2023-05-10 12:16:48 +03:00
|
|
|
[workspace]
|
2024-11-18 16:18:16 +03:00
|
|
|
members = [
|
|
|
|
"./packages/backend/native",
|
|
|
|
"./packages/common/native",
|
|
|
|
"./packages/frontend/native",
|
|
|
|
"./packages/frontend/native/schema"
|
|
|
|
]
|
2023-08-29 13:07:05 +03:00
|
|
|
resolver = "2"
|
2023-06-07 09:52:19 +03:00
|
|
|
|
2024-05-16 10:55:10 +03:00
|
|
|
[workspace.dependencies]
|
2024-11-18 16:18:16 +03:00
|
|
|
affine_common = { path = "./packages/common/native" }
|
|
|
|
anyhow = "1"
|
|
|
|
chrono = "0.4"
|
|
|
|
dotenv = "0.15"
|
|
|
|
file-format = { version = "0.26", features = ["reader"] }
|
|
|
|
mimalloc = "0.1"
|
|
|
|
napi = { version = "3.0.0-alpha.12", features = ["async", "chrono_date", "error_anyhow", "napi9", "serde"] }
|
|
|
|
napi-build = { version = "2" }
|
|
|
|
napi-derive = { version = "3.0.0-alpha.12" }
|
|
|
|
notify = { version = "7", features = ["serde"] }
|
|
|
|
once_cell = "1"
|
|
|
|
parking_lot = "0.12"
|
|
|
|
rand = "0.8"
|
|
|
|
rayon = "1.10"
|
|
|
|
serde = "1"
|
|
|
|
serde_json = "1"
|
|
|
|
sha3 = "0.10"
|
|
|
|
sqlx = { version = "0.8", default-features = false, features = ["chrono", "macros", "migrate", "runtime-tokio", "sqlite", "tls-rustls"] }
|
|
|
|
tiktoken-rs = "0.6"
|
|
|
|
tokio = "1.37"
|
|
|
|
uuid = "1.8"
|
|
|
|
v_htmlescape = "0.15"
|
|
|
|
y-octo = { git = "https://github.com/y-crdt/y-octo.git", branch = "main" }
|
2024-05-16 10:55:10 +03:00
|
|
|
|
2023-06-07 09:52:19 +03:00
|
|
|
[profile.dev.package.sqlx-macros]
|
|
|
|
opt-level = 3
|
2023-05-10 13:38:23 +03:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
2024-05-16 12:49:23 +03:00
|
|
|
lto = true
|
|
|
|
opt-level = 3
|
|
|
|
strip = "symbols"
|