Add mdbook-summary

This new crate will hold the Summary types and parsing support.
This commit is contained in:
Eric Huss
2025-07-21 13:43:56 -07:00
parent 02b6628048
commit bd3e555962
3 changed files with 18 additions and 0 deletions

4
Cargo.lock generated
View File

@@ -1333,6 +1333,10 @@ dependencies = [
"mdbook-core",
]
[[package]]
name = "mdbook-summary"
version = "0.5.0-alpha.1"
[[package]]
name = "memchr"
version = "2.7.5"

View File

@@ -24,6 +24,7 @@ rust-version = "1.85.0" # Keep in sync with installation.md and .github/workflow
anyhow = "1.0.98"
log = "0.4.27"
mdbook-core = { path = "crates/mdbook-core" }
mdbook-summary = { path = "crates/mdbook-summary" }
pulldown-cmark = { version = "0.10.3", default-features = false, features = ["html"] } # Do not update, part of the public api.
regex = "1.11.1"
serde = { version = "1.0.219", features = ["derive"] }

View File

@@ -0,0 +1,13 @@
[package]
name = "mdbook-summary"
version = "0.5.0-alpha.1"
description = "Summary parser for mdBook"
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[dependencies]
[lints]
workspace = true