Move error types to mdbook-core

This moves Result and Error to mdbook-core with the anticipation of
using them in user crates. For now, the internal APIs will be using
anyhow directly, but the intent is to transition more of these to
mdbook-core where it makes sense.
This commit is contained in:
Eric Huss
2025-07-21 11:37:46 -07:00
parent 461884f109
commit f51d89ba02
34 changed files with 67 additions and 65 deletions

4
Cargo.lock generated
View File

@@ -1297,6 +1297,9 @@ dependencies = [
[[package]]
name = "mdbook-core"
version = "0.5.0-alpha.1"
dependencies = [
"anyhow",
]
[[package]]
name = "mdbook-preprocessor"
@@ -1309,6 +1312,7 @@ dependencies = [
name = "mdbook-remove-emphasis"
version = "0.1.0"
dependencies = [
"anyhow",
"mdbook",
"pulldown-cmark 0.12.2",
"pulldown-cmark-to-cmark",