Closed nicbus closed 1 year ago
Sure, I will have a look; it is just this has the lowest priority: let's get v0.8 and v0.9 working first.
Now that this has been fixed can we do a new release of store_daemon? It would be very helpful for rgb-lib and other projects using store_daemon.
Sure, will do it! I just do not understand how the missing docs affects other libs or binaries...
I just do not understand how the missing docs affects other libs or binaries...
It seems that cargo requires building the whole library for generating documentation, but if a dependency build requires a writable filesystem the doc will fail building since cargo uses a protected environment for building doc. You can see the error yourself by giving a look to these logs
@dr-orlovsky Thanks for doing the release :)
@zoedberg publlished
currently store_daemon is missing the documentation link on crates.io
the documentation build fails on docs.rs, which also means packages depending on store_daemon experience the same failure and are left without documentation
here's an excerpt from the build log:
I was able to reproduce it by running
cargo rustdoc
in docker with the project mounted read-only (andtarget/
mounted read-write) and confirm the issue seems to be inbuild.rs
, as it tries to write to the hard-coded./shell
directoryaccording to the docs.rs documentation this should be dealt with by using the
OUT_DIR
environment variable to source the writable path for the build scriptin the case of store_daemon,
build.rs
(andcli/build.rs
using../shell
) could be updated to something like:but I'm not sure about other implications of this change
@dr-orlovsky could you please take a look at it?