chore: unify Cargo deps versions (#10553)

This commit is contained in:
Brooooooklyn
2025-03-03 03:30:59 +00:00
parent 4eae3cc66a
commit 73fa04e249
5 changed files with 120 additions and 100 deletions
Generated
+1 -1
View File
@@ -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",
+20
View File
@@ -24,9 +24,11 @@ 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"
docx-parser = { git = "https://github.com/toeverything/docx-parser" }
dotenvy = "0.15" dotenvy = "0.15"
file-format = { version = "0.26", features = ["reader"] } file-format = { version = "0.26", features = ["reader"] }
homedir = "0.3" homedir = "0.3"
infer = { version = "0.19.0" }
libc = "0.2" libc = "0.2"
mimalloc = "0.1" mimalloc = "0.1"
mp3lame-encoder = "0.2" mp3lame-encoder = "0.2"
@@ -38,19 +40,37 @@ objc2 = "0.6"
objc2-foundation = "0.3" objc2-foundation = "0.3"
once_cell = "1" once_cell = "1"
parking_lot = "0.12" parking_lot = "0.12"
path-ext = "0.1.1"
pdf-extract = "0.8.2"
rand = "0.9" rand = "0.9"
rayon = "1.10" rayon = "1.10"
readability = { version = "0.3.0", default-features = false }
rubato = "0.16" rubato = "0.16"
screencapturekit = "0.3" screencapturekit = "0.3"
serde = "1" serde = "1"
serde_json = "1" serde_json = "1"
sha3 = "0.10" sha3 = "0.10"
sqlx = { version = "0.8", default-features = false, features = ["chrono", "macros", "migrate", "runtime-tokio", "sqlite", "tls-rustls"] } sqlx = { version = "0.8", default-features = false, features = ["chrono", "macros", "migrate", "runtime-tokio", "sqlite", "tls-rustls"] }
strum_macros = "0.27.0"
symphonia = { version = "0.5", features = ["all", "opt-simd"] } symphonia = { version = "0.5", features = ["all", "opt-simd"] }
text-splitter = "0.24"
thiserror = "2" thiserror = "2"
tiktoken-rs = "0.6" tiktoken-rs = "0.6"
tokio = "1.37" 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" uniffi = "0.29"
url = { version = "2.5" }
uuid = "1.8" uuid = "1.8"
v_htmlescape = "0.15" v_htmlescape = "0.15"
y-octo = { git = "https://github.com/y-crdt/y-octo.git", branch = "main" } y-octo = { git = "https://github.com/y-crdt/y-octo.git", branch = "main" }
+22 -22
View File
@@ -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,21 +1,21 @@
[versions] [versions]
androidGradlePlugin = "8.8.2"
androidxEspressoCore = "3.6.1" androidxEspressoCore = "3.6.1"
androidxJunit = "1.2.1" androidxJunit = "1.2.1"
apollo = "4.1.1"
appcompat = "1.7.0"
browser = "1.8.0" browser = "1.8.0"
coordinatorLayout = "1.3.0"
coreKtx = "1.15.0" coreKtx = "1.15.0"
material = "1.12.0"
material3 = "1.3.1"
coreSplashScreen = "1.0.1" coreSplashScreen = "1.0.1"
googleServices = "4.4.2"
jna = "5.16.0" jna = "5.16.0"
junitVersion = "4.13.2" junitVersion = "4.13.2"
kotlin = "2.1.10" kotlin = "2.1.10"
kotlinxCoroutines = "1.10.1" kotlinxCoroutines = "1.10.1"
material = "1.12.0"
material3 = "1.3.1"
rustAndroid = "0.9.6" rustAndroid = "0.9.6"
appcompat = "1.7.0"
coordinatorLayout = "1.3.0"
googleServices = "4.4.2"
androidGradlePlugin = "8.8.2"
apollo = "4.1.1"
[libraries] [libraries]
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" } androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
@@ -26,21 +26,21 @@ androidx-core-splashscreen = { module = "androidx.core:core-splashscreen", versi
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" }
apollo-api = { module = "com.apollographql.apollo:apollo-api", 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" }
google-services = { module = "com.google.gms:google-services", version.ref = "googleServices" }
jna = { module = "net.java.dev.jna:jna", version.ref = "jna" } jna = { module = "net.java.dev.jna:jna", version.ref = "jna" }
junit = { module = "junit:junit", version.ref = "junitVersion" } junit = { module = "junit:junit", version.ref = "junitVersion" }
apollo-runtime = { module = "com.apollographql.apollo:apollo-runtime", version.ref = "apollo" }
apollo-api = { module = "com.apollographql.apollo:apollo-api", version.ref = "apollo" }
[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" }
rust-android = { id = "org.mozilla.rust-android-gradle.rust-android", version.ref = "rustAndroid" }
apollo-android = { id = "com.apollographql.apollo", version.ref = "apollo" } 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" }