mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 06:18:45 +08:00
chore: unify Cargo deps versions (#10553)
This commit is contained in:
Generated
+1
-1
@@ -44,7 +44,7 @@ dependencies = [
|
|||||||
"sha3",
|
"sha3",
|
||||||
"strum_macros",
|
"strum_macros",
|
||||||
"text-splitter",
|
"text-splitter",
|
||||||
"thiserror 1.0.69",
|
"thiserror 2.0.11",
|
||||||
"tiktoken-rs",
|
"tiktoken-rs",
|
||||||
"tree-sitter",
|
"tree-sitter",
|
||||||
"tree-sitter-c",
|
"tree-sitter-c",
|
||||||
|
|||||||
+61
-41
@@ -11,49 +11,69 @@ members = [
|
|||||||
resolver = "3"
|
resolver = "3"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
affine_common = { path = "./packages/common/native" }
|
affine_common = { path = "./packages/common/native" }
|
||||||
affine_nbstore = { path = "./packages/frontend/native/nbstore" }
|
affine_nbstore = { path = "./packages/frontend/native/nbstore" }
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
base64-simd = "0.8"
|
base64-simd = "0.8"
|
||||||
block2 = "0.6"
|
block2 = "0.6"
|
||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
core-foundation = "0.10"
|
core-foundation = "0.10"
|
||||||
coreaudio-rs = "0.12"
|
coreaudio-rs = "0.12"
|
||||||
criterion2 = { version = "3", default-features = false }
|
criterion2 = { version = "3", default-features = false }
|
||||||
dispatch2 = "0.2"
|
dispatch2 = "0.2"
|
||||||
dotenvy = "0.15"
|
docx-parser = { git = "https://github.com/toeverything/docx-parser" }
|
||||||
file-format = { version = "0.26", features = ["reader"] }
|
dotenvy = "0.15"
|
||||||
homedir = "0.3"
|
file-format = { version = "0.26", features = ["reader"] }
|
||||||
libc = "0.2"
|
homedir = "0.3"
|
||||||
mimalloc = "0.1"
|
infer = { version = "0.19.0" }
|
||||||
mp3lame-encoder = "0.2"
|
libc = "0.2"
|
||||||
napi = { version = "3.0.0-alpha.31", features = ["async", "chrono_date", "error_anyhow", "napi9", "serde"] }
|
mimalloc = "0.1"
|
||||||
napi-build = { version = "2" }
|
mp3lame-encoder = "0.2"
|
||||||
napi-derive = { version = "3.0.0-alpha.28" }
|
napi = { version = "3.0.0-alpha.31", features = ["async", "chrono_date", "error_anyhow", "napi9", "serde"] }
|
||||||
notify = { version = "8", features = ["serde"] }
|
napi-build = { version = "2" }
|
||||||
objc2 = "0.6"
|
napi-derive = { version = "3.0.0-alpha.28" }
|
||||||
objc2-foundation = "0.3"
|
notify = { version = "8", features = ["serde"] }
|
||||||
once_cell = "1"
|
objc2 = "0.6"
|
||||||
parking_lot = "0.12"
|
objc2-foundation = "0.3"
|
||||||
rand = "0.9"
|
once_cell = "1"
|
||||||
rayon = "1.10"
|
parking_lot = "0.12"
|
||||||
rubato = "0.16"
|
path-ext = "0.1.1"
|
||||||
screencapturekit = "0.3"
|
pdf-extract = "0.8.2"
|
||||||
serde = "1"
|
rand = "0.9"
|
||||||
serde_json = "1"
|
rayon = "1.10"
|
||||||
sha3 = "0.10"
|
readability = { version = "0.3.0", default-features = false }
|
||||||
sqlx = { version = "0.8", default-features = false, features = ["chrono", "macros", "migrate", "runtime-tokio", "sqlite", "tls-rustls"] }
|
rubato = "0.16"
|
||||||
symphonia = { version = "0.5", features = ["all", "opt-simd"] }
|
screencapturekit = "0.3"
|
||||||
thiserror = "2"
|
serde = "1"
|
||||||
tiktoken-rs = "0.6"
|
serde_json = "1"
|
||||||
tokio = "1.37"
|
sha3 = "0.10"
|
||||||
uniffi = "0.29"
|
sqlx = { version = "0.8", default-features = false, features = ["chrono", "macros", "migrate", "runtime-tokio", "sqlite", "tls-rustls"] }
|
||||||
uuid = "1.8"
|
strum_macros = "0.27.0"
|
||||||
v_htmlescape = "0.15"
|
symphonia = { version = "0.5", features = ["all", "opt-simd"] }
|
||||||
y-octo = { git = "https://github.com/y-crdt/y-octo.git", branch = "main" }
|
text-splitter = "0.24"
|
||||||
|
thiserror = "2"
|
||||||
|
tiktoken-rs = "0.6"
|
||||||
|
tokio = "1.37"
|
||||||
|
tree-sitter = { version = "0.25" }
|
||||||
|
tree-sitter-c = { version = "0.23" }
|
||||||
|
tree-sitter-c-sharp = { version = "0.23" }
|
||||||
|
tree-sitter-cpp = { version = "0.23" }
|
||||||
|
tree-sitter-go = { version = "0.23" }
|
||||||
|
tree-sitter-java = { version = "0.23" }
|
||||||
|
tree-sitter-javascript = { version = "0.23" }
|
||||||
|
tree-sitter-kotlin-ng = { version = "1.1" }
|
||||||
|
tree-sitter-python = { version = "0.23" }
|
||||||
|
tree-sitter-rust = { version = "0.23" }
|
||||||
|
tree-sitter-scala = { version = "0.23" }
|
||||||
|
tree-sitter-typescript = { version = "0.23" }
|
||||||
|
uniffi = "0.29"
|
||||||
|
url = { version = "2.5" }
|
||||||
|
uuid = "1.8"
|
||||||
|
v_htmlescape = "0.15"
|
||||||
|
y-octo = { git = "https://github.com/y-crdt/y-octo.git", branch = "main" }
|
||||||
|
|
||||||
[profile.dev.package.sqlx-macros]
|
[profile.dev.package.sqlx-macros]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# Please do not edit this file manually
|
# Please do not edit this file manually
|
||||||
# It should be added in your version-control system (i.e. Git)
|
# It should be added in your version-control system (i.e. Git)
|
||||||
provider = "postgresql"
|
provider = "postgresql"
|
||||||
|
|||||||
@@ -27,28 +27,28 @@ chrono = { workspace = true }
|
|||||||
rand = { workspace = true }
|
rand = { workspace = true }
|
||||||
sha3 = { workspace = true }
|
sha3 = { workspace = true }
|
||||||
|
|
||||||
docx-parser = { git = "https://github.com/toeverything/docx-parser", optional = true }
|
docx-parser = { workspace = true, optional = true }
|
||||||
infer = { version = "0.19.0", optional = true }
|
infer = { workspace = true, optional = true }
|
||||||
path-ext = { version = "0.1.1", optional = true }
|
path-ext = { workspace = true, optional = true }
|
||||||
pdf-extract = { version = "0.8.2", optional = true }
|
pdf-extract = { workspace = true, optional = true }
|
||||||
readability = { version = "0.3.0", optional = true, default-features = false }
|
readability = { workspace = true, optional = true, default-features = false }
|
||||||
serde_json = { version = "1.0", optional = true }
|
serde_json = { workspace = true, optional = true }
|
||||||
strum_macros = { version = "0.27.0", optional = true }
|
strum_macros = { workspace = true, optional = true }
|
||||||
text-splitter = { version = "0.24", features = ["markdown", "tiktoken-rs"], optional = true }
|
text-splitter = { workspace = true, features = ["markdown", "tiktoken-rs"], optional = true }
|
||||||
thiserror = { version = "2", optional = true }
|
thiserror = { workspace = true, optional = true }
|
||||||
tree-sitter = { version = "0.25", optional = true }
|
tree-sitter = { workspace = true, optional = true }
|
||||||
tree-sitter-c = { version = "0.23", optional = true }
|
tree-sitter-c = { workspace = true, optional = true }
|
||||||
tree-sitter-c-sharp = { version = "0.23", optional = true }
|
tree-sitter-c-sharp = { workspace = true, optional = true }
|
||||||
tree-sitter-cpp = { version = "0.23", optional = true }
|
tree-sitter-cpp = { workspace = true, optional = true }
|
||||||
tree-sitter-go = { version = "0.23", optional = true }
|
tree-sitter-go = { workspace = true, optional = true }
|
||||||
tree-sitter-java = { version = "0.23", optional = true }
|
tree-sitter-java = { workspace = true, optional = true }
|
||||||
tree-sitter-javascript = { version = "0.23", optional = true }
|
tree-sitter-javascript = { workspace = true, optional = true }
|
||||||
tree-sitter-kotlin-ng = { version = "1.1", optional = true }
|
tree-sitter-kotlin-ng = { workspace = true, optional = true }
|
||||||
tree-sitter-python = { version = "0.23", optional = true }
|
tree-sitter-python = { workspace = true, optional = true }
|
||||||
tree-sitter-rust = { version = "0.23", optional = true }
|
tree-sitter-rust = { workspace = true, optional = true }
|
||||||
tree-sitter-scala = { version = "0.23", optional = true }
|
tree-sitter-scala = { workspace = true, optional = true }
|
||||||
tree-sitter-typescript = { version = "0.23", optional = true }
|
tree-sitter-typescript = { workspace = true, optional = true }
|
||||||
url = { version = "2.5", optional = true }
|
url = { workspace = true, optional = true }
|
||||||
|
|
||||||
|
|
||||||
tiktoken-rs = { workspace = true }
|
tiktoken-rs = { workspace = true }
|
||||||
|
|||||||
@@ -1,46 +1,46 @@
|
|||||||
[versions]
|
[versions]
|
||||||
|
androidGradlePlugin = "8.8.2"
|
||||||
androidxEspressoCore = "3.6.1"
|
androidxEspressoCore = "3.6.1"
|
||||||
androidxJunit = "1.2.1"
|
androidxJunit = "1.2.1"
|
||||||
browser = "1.8.0"
|
apollo = "4.1.1"
|
||||||
coreKtx = "1.15.0"
|
appcompat = "1.7.0"
|
||||||
material = "1.12.0"
|
browser = "1.8.0"
|
||||||
material3 = "1.3.1"
|
coordinatorLayout = "1.3.0"
|
||||||
coreSplashScreen = "1.0.1"
|
coreKtx = "1.15.0"
|
||||||
jna = "5.16.0"
|
coreSplashScreen = "1.0.1"
|
||||||
junitVersion = "4.13.2"
|
googleServices = "4.4.2"
|
||||||
kotlin = "2.1.10"
|
jna = "5.16.0"
|
||||||
kotlinxCoroutines = "1.10.1"
|
junitVersion = "4.13.2"
|
||||||
rustAndroid = "0.9.6"
|
kotlin = "2.1.10"
|
||||||
appcompat = "1.7.0"
|
kotlinxCoroutines = "1.10.1"
|
||||||
coordinatorLayout = "1.3.0"
|
material = "1.12.0"
|
||||||
googleServices = "4.4.2"
|
material3 = "1.3.1"
|
||||||
androidGradlePlugin = "8.8.2"
|
rustAndroid = "0.9.6"
|
||||||
apollo = "4.1.1"
|
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
|
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
|
||||||
androidx-browser = { module = "androidx.browser:browser", version.ref = "browser" }
|
androidx-browser = { module = "androidx.browser:browser", version.ref = "browser" }
|
||||||
androidx-coordinatorlayout = { module = "androidx.coordinatorlayout:coordinatorlayout", version.ref = "coordinatorLayout" }
|
androidx-coordinatorlayout = { module = "androidx.coordinatorlayout:coordinatorlayout", version.ref = "coordinatorLayout" }
|
||||||
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "coreKtx" }
|
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "coreKtx" }
|
||||||
androidx-core-splashscreen = { module = "androidx.core:core-splashscreen", version.ref = "coreSplashScreen" }
|
androidx-core-splashscreen = { module = "androidx.core:core-splashscreen", version.ref = "coreSplashScreen" }
|
||||||
androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidxEspressoCore" }
|
androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidxEspressoCore" }
|
||||||
androidx-junit = { module = "androidx.test.ext:junit", version.ref = "androidxJunit" }
|
androidx-junit = { module = "androidx.test.ext:junit", version.ref = "androidxJunit" }
|
||||||
androidx-material3 = { module = "androidx.compose.material3:material3", version.ref = "material3" }
|
androidx-material3 = { module = "androidx.compose.material3:material3", version.ref = "material3" }
|
||||||
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinxCoroutines" }
|
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinxCoroutines" }
|
||||||
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinxCoroutines"}
|
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinxCoroutines" }
|
||||||
|
|
||||||
google-services = { module = "com.google.gms:google-services", version.ref = "googleServices" }
|
|
||||||
google-material = { module = "com.google.android.material:material", version.ref = "material" }
|
|
||||||
android-gradlePlugin = { module = "com.android.tools.build:gradle", version.ref = "androidGradlePlugin" }
|
android-gradlePlugin = { module = "com.android.tools.build:gradle", version.ref = "androidGradlePlugin" }
|
||||||
jna = { module = "net.java.dev.jna:jna", version.ref = "jna" }
|
apollo-api = { module = "com.apollographql.apollo:apollo-api", version.ref = "apollo" }
|
||||||
junit = { module = "junit:junit", version.ref = "junitVersion" }
|
apollo-runtime = { module = "com.apollographql.apollo:apollo-runtime", version.ref = "apollo" }
|
||||||
apollo-runtime = { module = "com.apollographql.apollo:apollo-runtime", version.ref = "apollo" }
|
google-material = { module = "com.google.android.material:material", version.ref = "material" }
|
||||||
apollo-api = { module = "com.apollographql.apollo:apollo-api", version.ref = "apollo" }
|
google-services = { module = "com.google.gms:google-services", version.ref = "googleServices" }
|
||||||
|
jna = { module = "net.java.dev.jna:jna", version.ref = "jna" }
|
||||||
|
junit = { module = "junit:junit", version.ref = "junitVersion" }
|
||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" }
|
android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" }
|
||||||
android-library = { id = "com.android.library", version.ref = "androidGradlePlugin" }
|
android-library = { id = "com.android.library", version.ref = "androidGradlePlugin" }
|
||||||
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
apollo-android = { id = "com.apollographql.apollo", version.ref = "apollo" }
|
||||||
rust-android = { id = "org.mozilla.rust-android-gradle.rust-android", version.ref = "rustAndroid" }
|
|
||||||
apollo-android = { id = "com.apollographql.apollo", version.ref = "apollo" }
|
|
||||||
jetbrains-kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
jetbrains-kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
||||||
|
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
||||||
|
rust-android = { id = "org.mozilla.rust-android-gradle.rust-android", version.ref = "rustAndroid" }
|
||||||
|
|||||||
Reference in New Issue
Block a user