@@ -23,9 +23,16 @@ rust-version = "1.85.0" # Keep in sync with installation.md and .github/workflow
23
23
[workspace .dependencies ]
24
24
ammonia = " 4.1.1"
25
25
anyhow = " 1.0.98"
26
+ axum = " 0.8.4"
27
+ chrono = { version = " 0.4.41" , default-features = false , features = [" clock" ] }
28
+ clap = { version = " 4.5.41" , features = [" cargo" , " wrap_help" ] }
29
+ clap_complete = " 4.5.55"
26
30
elasticlunr-rs = " 3.0.2"
31
+ env_logger = " 0.11.8"
32
+ futures-util = " 0.3.31"
27
33
handlebars = " 6.3.2"
28
34
hex = " 0.4.3"
35
+ ignore = " 0.4.23"
29
36
log = " 0.4.27"
30
37
mdbook-core = { path = " crates/mdbook-core" }
31
38
mdbook-driver = { path = " crates/mdbook-driver" }
@@ -35,16 +42,26 @@ mdbook-preprocessor = { path = "crates/mdbook-preprocessor" }
35
42
mdbook-renderer = { path = " crates/mdbook-renderer" }
36
43
mdbook-summary = { path = " crates/mdbook-summary" }
37
44
memchr = " 2.7.5"
45
+ notify = " 8.1.0"
46
+ notify-debouncer-mini = " 0.6.0"
47
+ opener = " 0.8.2"
48
+ pathdiff = " 0.2.3"
38
49
pretty_assertions = " 1.4.1"
39
50
pulldown-cmark = { version = " 0.10.3" , default-features = false , features = [" html" ] } # Do not update, part of the public api.
40
51
regex = " 1.11.1"
52
+ select = " 0.6.1"
53
+ semver = " 1.0.26"
41
54
serde = { version = " 1.0.219" , features = [" derive" ] }
42
55
serde_json = " 1.0.140"
43
56
sha2 = " 0.10.9"
44
57
shlex = " 1.3.0"
58
+ snapbox = " 0.6.21"
45
59
tempfile = " 3.20.0"
60
+ tokio = " 1.46.1"
46
61
toml = " 0.5.11" # Do not update, see https://github.com/rust-lang/mdBook/issues/2037
47
62
topological-sort = " 0.2.2"
63
+ tower-http = " 0.6.6"
64
+ walkdir = " 2.5.0"
48
65
49
66
[package ]
50
67
name = " mdbook"
@@ -66,10 +83,10 @@ rust-version.workspace = true
66
83
67
84
[dependencies ]
68
85
anyhow.workspace = true
69
- chrono = { version = " 0.4.24 " , default-features = false , features = [ " clock " ] }
70
- clap = { version = " 4.3.12 " , features = [ " cargo " , " wrap_help " ] }
71
- clap_complete = " 4.3.2 "
72
- env_logger = " 0.11.1 "
86
+ chrono.workspace = true
87
+ clap.workspace = true
88
+ clap_complete.workspace = true
89
+ env_logger.workspace = true
73
90
log.workspace = true
74
91
mdbook-core.workspace = true
75
92
mdbook-driver.workspace = true
@@ -78,30 +95,30 @@ mdbook-markdown.workspace = true
78
95
mdbook-preprocessor.workspace = true
79
96
mdbook-renderer.workspace = true
80
97
mdbook-summary.workspace = true
81
- opener = " 0.8.1 "
98
+ opener.workspace = true
82
99
toml.workspace = true
83
100
84
101
# Watch feature
85
- notify = { version = " 8.0.0 " , optional = true }
86
- notify-debouncer-mini = { version = " 0.6.0 " , optional = true }
87
- ignore = { version = " 0.4.20 " , optional = true }
88
- pathdiff = { version = " 0.2.1 " , optional = true }
89
- walkdir = { version = " 2.3.3 " , optional = true }
102
+ ignore = { workspace = true , optional = true }
103
+ notify = { workspace = true , optional = true }
104
+ notify-debouncer-mini = { workspace = true , optional = true }
105
+ pathdiff = { workspace = true , optional = true }
106
+ walkdir = { workspace = true , optional = true }
90
107
91
108
# Serve feature
92
- futures-util = { version = " 0.3.28 " , optional = true }
93
- tokio = { version = " 1.43.1 " , features = [ " macros " , " rt-multi-thread " ] , optional = true }
94
- axum = { version = " 0.8.0 " , features = [" ws " ], optional = true }
95
- tower-http = { version = " 0.6.0 " , features = [" fs" , " trace" ], optional = true }
109
+ axum = { workspace = true , features = [ " ws " ] , optional = true }
110
+ futures-util = { workspace = true , optional = true }
111
+ tokio = { workspace = true , features = [" macros " , " rt-multi-thread " ], optional = true }
112
+ tower-http = { workspace = true , features = [" fs" , " trace" ], optional = true }
96
113
97
114
[dev-dependencies ]
98
115
regex.workspace = true
99
- select = " 0.6.0 "
100
- semver = " 1.0.17 "
116
+ select.workspace = true
117
+ semver.workspace = true
101
118
serde_json.workspace = true
102
- snapbox = { version = " 0.6.21 " , features = [" diff" , " dir" , " term-svg" , " regex" , " json" ] }
119
+ snapbox = { workspace = true , features = [" diff" , " dir" , " term-svg" , " regex" , " json" ] }
103
120
tempfile.workspace = true
104
- walkdir = " 2.3.3 "
121
+ walkdir.workspace = true
105
122
106
123
[features ]
107
124
default = [" watch" , " serve" , " search" ]
0 commit comments