refactor(loader)!: transition from anyhow to thiserror

This commit is contained in:
WillLillis 2025-10-03 22:32:50 -04:00 committed by Christian Clason
parent 12a31536e1
commit 67cb3cb881
3 changed files with 471 additions and 247 deletions

2
Cargo.lock generated
View file

@ -2084,7 +2084,6 @@ version = "0.1.5"
name = "tree-sitter-loader"
version = "0.26.0"
dependencies = [
"anyhow",
"cc",
"etcetera",
"fs4",
@ -2097,6 +2096,7 @@ dependencies = [
"serde",
"serde_json",
"tempfile",
"thiserror 2.0.16",
"tree-sitter",
"tree-sitter-highlight",
"tree-sitter-tags",

View file

@ -28,7 +28,6 @@ wasm = ["tree-sitter/wasm"]
default = ["tree-sitter-highlight", "tree-sitter-tags"]
[dependencies]
anyhow.workspace = true
cc.workspace = true
etcetera.workspace = true
fs4.workspace = true
@ -41,6 +40,7 @@ semver.workspace = true
serde.workspace = true
serde_json.workspace = true
tempfile.workspace = true
thiserror.workspace = true
tree-sitter = { workspace = true }
tree-sitter-highlight = { workspace = true, optional = true }

File diff suppressed because it is too large Load diff