11//! Library for generating rust_project.json files from a `Vec<CrateSpec>`
2- //! See official documentation of file format at https://rust-analyzer.github.io/manual .html
2+ //! See official documentation of file format at https://rust-analyzer.github.io/book/non_cargo_based_projects .html
33
44use core:: fmt;
55use std:: {
@@ -57,7 +57,7 @@ impl FromStr for RustAnalyzerArg {
5757
5858/// The format that `rust_analyzer` expects as a response when automatically invoked.
5959/// See [rust-analyzer documentation][rd] for a thorough description of this interface.
60- /// [rd]: <https://rust-analyzer.github.io/manual .html#rust-analyzer. workspace.discoverConfig>.
60+ /// [rd]: <https://rust-analyzer.github.io/book/configuration .html#workspace.discoverConfig>.
6161// `Progress` carries an `&fmt::Arguments` for in-flight log lines, which can't
6262// be deserialized; the cache stores the inner `RustProject`, never the
6363// discovery envelope, so Serialize is all we need here.
@@ -80,7 +80,7 @@ pub enum DiscoverProject<'a> {
8080
8181/// A `rust-project.json` workspace representation. See
8282/// [rust-analyzer documentation][rd] for a thorough description of this interface.
83- /// [rd]: https://rust-analyzer.github.io/manual .html#non-cargo-based-projects
83+ /// [rd]: https://rust-analyzer.github.io/book/non_cargo_based_projects .html
8484#[ derive( Debug , Serialize , Deserialize ) ]
8585pub struct RustProject {
8686 /// The path to a Rust sysroot.
@@ -103,7 +103,7 @@ pub struct RustProject {
103103
104104/// A `rust-project.json` crate representation. See
105105/// [rust-analyzer documentation][rd] for a thorough description of this interface.
106- /// [rd]: https://rust-analyzer.github.io/manual .html#non-cargo-based-projects
106+ /// [rd]: https://rust-analyzer.github.io/book/non_cargo_based_projects .html
107107#[ derive( Debug , Serialize , Deserialize ) ]
108108pub struct Crate {
109109 /// A name used in the package's project declaration
0 commit comments