toolkit for mdBook [mirror of my GitHub repo] docs.tonywu.dev/mdbookkit/
permalinks rust-analyzer mdbook
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: bump rust-analyzer version

Tony Wu 9f78ba9d 31fe7ff6

+11 -13
-4
.github/workflows/bin.yml
··· 8 8 types: 9 9 - published 10 10 11 - push: 12 - branches: 13 - - main 14 - 15 11 workflow_dispatch: 16 12 17 13 env:
+2 -3
.github/workflows/ci.yml
··· 14 14 - main 15 15 16 16 schedule: 17 - - cron: "27 0 * * *" # nightly test for RA 17 + - cron: "32 21 * * 0" # nightly test for RA 18 18 19 19 workflow_dispatch: 20 20 ··· 147 147 strategy: 148 148 matrix: 149 149 ra-version: 150 - - "2025-03-17" 151 - - "2025-03-04" 150 + - "2025-12-01" 152 151 - "nightly" 153 152 fail-fast: false 154 153
-1
crates/mdbookkit/Cargo.toml
··· 78 78 "dep:syn", 79 79 "dep:tempfile", 80 80 "dep:tokio", 81 - "dep:tokio", 82 81 "dep:tokio-util", 83 82 "dep:tower", 84 83 "tokio/process",
+1
crates/mdbookkit/src/bin/rustdoc_link/client.rs
··· 283 283 .current_dir(env.crate_dir.to_path()?) 284 284 .stdin(Stdio::piped()) 285 285 .stdout(Stdio::piped()) 286 + // TODO: managed subcommand stderr 286 287 .stderr(Stdio::inherit()) 287 288 .spawn() 288 289 .context("failed to spawn rust-analyzer")?;
+1 -1
crates/mdbookkit/src/diagnostics.rs
··· 339 339 struct LoggingReportHandler; 340 340 341 341 impl LoggingReportHandler { 342 - fn render_report(&self, f: &mut impl fmt::Write, diagnostic: &(dyn Diagnostic)) -> fmt::Result { 342 + fn render_report(&self, f: &mut impl fmt::Write, diagnostic: &dyn Diagnostic) -> fmt::Result { 343 343 let level = match diagnostic.severity() { 344 344 Some(Severity::Error) | None => "error", 345 345 Some(Severity::Warning) => "warning",
+1 -1
crates/mdbookkit/src/markdown.rs
··· 66 66 /// `stream` should be an [`Iterator`] yielding tuples of (`events`, `range`): 67 67 /// 68 68 /// - `events` is an [`Iterator`] yielding [`Event`]s which is the replacement 69 - /// Markdown to be rendered into `source` using [`pulldown_cmark_to_cmark`]. 69 + /// Markdown to be rendered into `source` using [`pulldown_cmark_to_cmark`]. 70 70 /// 71 71 /// - `range` is a [`Range<usize>`] representing the byte span in `source` that 72 72 /// should be patched.
+4 -1
utils/rust-analyzer/src/main.rs
··· 16 16 use tap::{Pipe, Tap}; 17 17 use tempfile::tempfile; 18 18 19 + #[derive(Debug)] 19 20 struct Download { 20 21 release: String, 21 22 path: PathBuf, ··· 146 147 fn main() -> Result<()> { 147 148 let program = Program::parse(); 148 149 149 - let release = program.ra_version.unwrap_or("2025-03-17".into()); 150 + let release = std::env::var("RA_VERSION") 151 + .ok() 152 + .unwrap_or("2025-12-01".into()); 150 153 151 154 let path = match program.ra_path { 152 155 Some(path) => path,
+2 -2
utils/testing/src/lib.rs
··· 17 17 // https://github.com/mitsuhiko/insta/blob/b113499249584cb650150d2d01ed96ee66db6b30/src/runtime.rs#L67-L88 18 18 std::process::Command::new(env!("CARGO")) 19 19 .arg("metadata") 20 - .arg("--format-version=1") 20 + .args(["--format-version=1", "--no-deps"]) 21 21 .current_dir(env!("CARGO_MANIFEST_DIR")) 22 22 .output() 23 23 .unwrap() 24 24 .pipe(|output| String::from_utf8(output.stdout)) 25 25 .unwrap() 26 - .pipe(|outout| serde_json::from_str::<CargoManifest>(&outout)) 26 + .pipe(|output| serde_json::from_str::<CargoManifest>(&output)) 27 27 .unwrap() 28 28 .pipe(|manifest| Url::from_directory_path(manifest.workspace_root)) 29 29 .unwrap()