Also bump MSRV to 1.82 Updating anstyle-wincon v3.0.7 -> v3.0.8 Updating backtrace v0.3.74 -> v0.3.75 Updating bitflags v2.9.0 -> v2.9.1 Updating cc v1.2.21 -> v1.2.24 Updating clap v4.5.37 -> v4.5.38 Updating clap_builder v4.5.37 -> v4.5.38 Updating clap_complete v4.5.48 -> v4.5.50 Updating errno v0.3.11 -> v0.3.12 Updating getrandom v0.3.2 -> v0.3.3 Updating icu_collections v1.5.0 -> v2.0.0 Adding icu_locale_core v2.0.0 Removing icu_locid v1.5.0 Removing icu_locid_transform v1.5.0 Removing icu_locid_transform_data v1.5.1 Updating icu_normalizer v1.5.0 -> v2.0.0 Updating icu_normalizer_data v1.5.1 -> v2.0.0 Updating icu_properties v1.5.1 -> v2.0.1 Updating icu_properties_data v1.5.1 -> v2.0.1 Updating icu_provider v1.5.0 -> v2.0.0 Removing icu_provider_macros v1.5.0 Updating idna_adapter v1.2.0 -> v1.2.1 Updating jiff v0.2.12 -> v0.2.14 Updating jiff-static v0.2.12 -> v0.2.14 Updating kqueue v1.0.8 -> v1.1.1 Updating litemap v0.7.5 -> v0.8.0 Adding once_cell_polyfill v1.70.1 Adding potential_utf v0.1.2 Updating rustversion v1.0.20 -> v1.0.21 Updating tempfile v3.19.1 -> v3.20.0 Updating tinystr v0.7.6 -> v0.8.1 Updating tokio v1.44.2 -> v1.45.0 Removing utf16_iter v1.0.5 Updating web_atoms v0.1.1 -> v0.1.2 Updating windows-core v0.61.0 -> v0.61.2 Updating windows-result v0.3.2 -> v0.3.4 Updating windows-strings v0.4.0 -> v0.4.2 Removing write16 v1.0.0 Updating writeable v0.5.5 -> v0.6.1 Updating yoke v0.7.5 -> v0.8.0 Updating yoke-derive v0.7.5 -> v0.8.0 Adding zerotrie v0.2.2 Updating zerovec v0.10.4 -> v0.11.2 Updating zerovec-derive v0.10.3 -> v0.11.1
100 lines
3 KiB
TOML
100 lines
3 KiB
TOML
[workspace]
|
|
members = [".", "examples/remove-emphasis/mdbook-remove-emphasis"]
|
|
|
|
[workspace.lints.clippy]
|
|
all = { level = "allow", priority = -2 }
|
|
correctness = { level = "warn", priority = -1 }
|
|
complexity = { level = "warn", priority = -1 }
|
|
needless-lifetimes = "allow" # Remove once 1.87 is stable, https://github.com/rust-lang/rust-clippy/issues/13514
|
|
|
|
[package]
|
|
name = "mdbook"
|
|
version = "0.4.49"
|
|
authors = [
|
|
"Mathieu David <mathieudavid@mathieudavid.org>",
|
|
"Michael-F-Bryan <michaelfbryan@gmail.com>",
|
|
"Matt Ickstadt <mattico8@gmail.com>"
|
|
]
|
|
documentation = "https://rust-lang.github.io/mdBook/index.html"
|
|
edition = "2021"
|
|
exclude = ["/guide/*"]
|
|
keywords = ["book", "gitbook", "rustbook", "markdown"]
|
|
license = "MPL-2.0"
|
|
readme = "README.md"
|
|
repository = "https://github.com/rust-lang/mdBook"
|
|
description = "Creates a book from markdown files"
|
|
rust-version = "1.82" # Keep in sync with installation.md and .github/workflows/main.yml
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.71"
|
|
chrono = { version = "0.4.24", default-features = false, features = ["clock"] }
|
|
clap = { version = "4.3.12", features = ["cargo", "wrap_help"] }
|
|
clap_complete = "4.3.2"
|
|
env_logger = "0.11.1"
|
|
handlebars = "6.0"
|
|
hex = "0.4.3"
|
|
log = "0.4.17"
|
|
memchr = "2.5.0"
|
|
opener = "0.8.1"
|
|
pulldown-cmark = { version = "0.10.0", default-features = false, features = ["html"] } # Do not update, part of the public api.
|
|
regex = "1.8.1"
|
|
serde = { version = "1.0.163", features = ["derive"] }
|
|
serde_json = "1.0.96"
|
|
sha2 = "0.10.8"
|
|
shlex = "1.3.0"
|
|
tempfile = "3.4.0"
|
|
toml = "0.5.11" # Do not update, see https://github.com/rust-lang/mdBook/issues/2037
|
|
topological-sort = "0.2.2"
|
|
|
|
# Watch feature
|
|
notify = { version = "8.0.0", optional = true }
|
|
notify-debouncer-mini = { version = "0.6.0", optional = true }
|
|
ignore = { version = "0.4.20", optional = true }
|
|
pathdiff = { version = "0.2.1", optional = true }
|
|
walkdir = { version = "2.3.3", optional = true }
|
|
|
|
# Serve feature
|
|
futures-util = { version = "0.3.28", optional = true }
|
|
tokio = { version = "1.43.1", features = ["macros", "rt-multi-thread"], optional = true }
|
|
warp = { version = "0.3.6", default-features = false, features = ["websocket"], optional = true }
|
|
|
|
# Search feature
|
|
elasticlunr-rs = { version = "3.0.2", optional = true }
|
|
ammonia = { version = "4.0.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
select = "0.6.0"
|
|
semver = "1.0.17"
|
|
snapbox = { version = "0.6.21", features = ["diff", "dir", "term-svg", "regex", "json"] }
|
|
pretty_assertions = "1.3.0"
|
|
walkdir = "2.3.3"
|
|
|
|
[features]
|
|
default = ["watch", "serve", "search"]
|
|
watch = ["dep:notify", "dep:notify-debouncer-mini", "dep:ignore", "dep:pathdiff", "dep:walkdir"]
|
|
serve = ["dep:futures-util", "dep:tokio", "dep:warp"]
|
|
search = ["dep:elasticlunr-rs", "dep:ammonia"]
|
|
|
|
[[bin]]
|
|
doc = false
|
|
name = "mdbook"
|
|
|
|
[[example]]
|
|
name = "nop-preprocessor"
|
|
test = true
|
|
|
|
[[example]]
|
|
name = "remove-emphasis"
|
|
path = "examples/remove-emphasis/test.rs"
|
|
crate-type = ["lib"]
|
|
test = true
|
|
|
|
[[test]]
|
|
harness = false
|
|
test = false
|
|
name = "gui"
|
|
path = "tests/gui/runner.rs"
|
|
crate-type = ["bin"]
|
|
|
|
[lints]
|
|
workspace = true
|