Compatibility of rustdoc output between versions #55420
Labels
C-discussion
Category: Discussion or questions that doesn't represent real issues.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I'm trying to figure out a way to include crate docs in the Debian rust packages.
cargo doc
callsrustdoc
which generates:One clean way to include this in Debian would be to distribute (1) as its own package, e.g.
librust-$crate-doc
, that depends on a shared common packagelibrust-doc-common
that contains (2).However this then raises the question, how stable is the data format of (1)? When building (1) we have to use a specific version of
rustdoc
. When we upgraderustdoc
, we will change (2). Will the newer (2) still be compatible with the older (1)? It would be nice not to have to rebuild all crates whenever we upgraderustdoc
.(We also have to combine all crates' aliases.js and searchindex.js into one single file, but that is relatively easy to do with dpkg triggers.)
The text was updated successfully, but these errors were encountered: