Move the remaining dependencies to the workspace table
This is intended to have all dependencies only defined in the workspace table, and crates can then refer to it.
This commit is contained in:
parent
12fc0ff5c3
commit
6e6518a7ae
1 changed files with 35 additions and 18 deletions
53
Cargo.toml
53
Cargo.toml
|
|
@ -23,9 +23,16 @@ rust-version = "1.85.0" # Keep in sync with installation.md and .github/workflow
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
ammonia = "4.1.1"
|
ammonia = "4.1.1"
|
||||||
anyhow = "1.0.98"
|
anyhow = "1.0.98"
|
||||||
|
axum = "0.8.4"
|
||||||
|
chrono = { version = "0.4.41", default-features = false, features = ["clock"] }
|
||||||
|
clap = { version = "4.5.41", features = ["cargo", "wrap_help"] }
|
||||||
|
clap_complete = "4.5.55"
|
||||||
elasticlunr-rs = "3.0.2"
|
elasticlunr-rs = "3.0.2"
|
||||||
|
env_logger = "0.11.8"
|
||||||
|
futures-util = "0.3.31"
|
||||||
handlebars = "6.3.2"
|
handlebars = "6.3.2"
|
||||||
hex = "0.4.3"
|
hex = "0.4.3"
|
||||||
|
ignore = "0.4.23"
|
||||||
log = "0.4.27"
|
log = "0.4.27"
|
||||||
mdbook-core = { path = "crates/mdbook-core" }
|
mdbook-core = { path = "crates/mdbook-core" }
|
||||||
mdbook-driver = { path = "crates/mdbook-driver" }
|
mdbook-driver = { path = "crates/mdbook-driver" }
|
||||||
|
|
@ -35,16 +42,26 @@ mdbook-preprocessor = { path = "crates/mdbook-preprocessor" }
|
||||||
mdbook-renderer = { path = "crates/mdbook-renderer" }
|
mdbook-renderer = { path = "crates/mdbook-renderer" }
|
||||||
mdbook-summary = { path = "crates/mdbook-summary" }
|
mdbook-summary = { path = "crates/mdbook-summary" }
|
||||||
memchr = "2.7.5"
|
memchr = "2.7.5"
|
||||||
|
notify = "8.1.0"
|
||||||
|
notify-debouncer-mini = "0.6.0"
|
||||||
|
opener = "0.8.2"
|
||||||
|
pathdiff = "0.2.3"
|
||||||
pretty_assertions = "1.4.1"
|
pretty_assertions = "1.4.1"
|
||||||
pulldown-cmark = { version = "0.10.3", default-features = false, features = ["html"] } # Do not update, part of the public api.
|
pulldown-cmark = { version = "0.10.3", default-features = false, features = ["html"] } # Do not update, part of the public api.
|
||||||
regex = "1.11.1"
|
regex = "1.11.1"
|
||||||
|
select = "0.6.1"
|
||||||
|
semver = "1.0.26"
|
||||||
serde = { version = "1.0.219", features = ["derive"] }
|
serde = { version = "1.0.219", features = ["derive"] }
|
||||||
serde_json = "1.0.140"
|
serde_json = "1.0.140"
|
||||||
sha2 = "0.10.9"
|
sha2 = "0.10.9"
|
||||||
shlex = "1.3.0"
|
shlex = "1.3.0"
|
||||||
|
snapbox = "0.6.21"
|
||||||
tempfile = "3.20.0"
|
tempfile = "3.20.0"
|
||||||
|
tokio = "1.46.1"
|
||||||
toml = "0.5.11" # Do not update, see https://github.com/rust-lang/mdBook/issues/2037
|
toml = "0.5.11" # Do not update, see https://github.com/rust-lang/mdBook/issues/2037
|
||||||
topological-sort = "0.2.2"
|
topological-sort = "0.2.2"
|
||||||
|
tower-http = "0.6.6"
|
||||||
|
walkdir = "2.5.0"
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mdbook"
|
name = "mdbook"
|
||||||
|
|
@ -66,10 +83,10 @@ rust-version.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
chrono = { version = "0.4.24", default-features = false, features = ["clock"] }
|
chrono.workspace = true
|
||||||
clap = { version = "4.3.12", features = ["cargo", "wrap_help"] }
|
clap.workspace = true
|
||||||
clap_complete = "4.3.2"
|
clap_complete.workspace = true
|
||||||
env_logger = "0.11.1"
|
env_logger.workspace = true
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
mdbook-core.workspace = true
|
mdbook-core.workspace = true
|
||||||
mdbook-driver.workspace = true
|
mdbook-driver.workspace = true
|
||||||
|
|
@ -78,30 +95,30 @@ mdbook-markdown.workspace = true
|
||||||
mdbook-preprocessor.workspace = true
|
mdbook-preprocessor.workspace = true
|
||||||
mdbook-renderer.workspace = true
|
mdbook-renderer.workspace = true
|
||||||
mdbook-summary.workspace = true
|
mdbook-summary.workspace = true
|
||||||
opener = "0.8.1"
|
opener.workspace = true
|
||||||
toml.workspace = true
|
toml.workspace = true
|
||||||
|
|
||||||
# Watch feature
|
# Watch feature
|
||||||
notify = { version = "8.0.0", optional = true }
|
ignore = { workspace = true, optional = true }
|
||||||
notify-debouncer-mini = { version = "0.6.0", optional = true }
|
notify = { workspace = true, optional = true }
|
||||||
ignore = { version = "0.4.20", optional = true }
|
notify-debouncer-mini = { workspace = true, optional = true }
|
||||||
pathdiff = { version = "0.2.1", optional = true }
|
pathdiff = { workspace = true, optional = true }
|
||||||
walkdir = { version = "2.3.3", optional = true }
|
walkdir = { workspace = true, optional = true }
|
||||||
|
|
||||||
# Serve feature
|
# Serve feature
|
||||||
futures-util = { version = "0.3.28", optional = true }
|
axum = { workspace = true, features = ["ws"], optional = true }
|
||||||
tokio = { version = "1.43.1", features = ["macros", "rt-multi-thread"], optional = true }
|
futures-util = { workspace = true, optional = true }
|
||||||
axum = { version = "0.8.0", features = ["ws"], optional = true }
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread"], optional = true }
|
||||||
tower-http = { version = "0.6.0", features = ["fs", "trace"], optional = true }
|
tower-http = { workspace = true, features = ["fs", "trace"], optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
regex.workspace = true
|
regex.workspace = true
|
||||||
select = "0.6.0"
|
select.workspace = true
|
||||||
semver = "1.0.17"
|
semver.workspace = true
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
snapbox = { version = "0.6.21", features = ["diff", "dir", "term-svg", "regex", "json"] }
|
snapbox = { workspace = true, features = ["diff", "dir", "term-svg", "regex", "json"] }
|
||||||
tempfile.workspace = true
|
tempfile.workspace = true
|
||||||
walkdir = "2.3.3"
|
walkdir.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["watch", "serve", "search"]
|
default = ["watch", "serve", "search"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue