flipperzero-rs / flipperzero

Rust on the Flipper Zero
MIT License
517 stars 34 forks source link

Fix cargo doc when not using the alloc feature #91

Closed agarof closed 1 year ago

agarof commented 1 year ago

cargo doc could not build the documentation when the alloc feature was disabled because it could not access alloc symbols. This replaces them with direct links to the nightly documentation.

JarvisCraft commented 1 year ago

Imo, the docs are intended to be built with --all-features

dcoles commented 1 year ago

Hi @agarof,

Thanks for the PR! This is a bit of a weird case, since it's referring to a feature that might not be supported (which is part of the purpose of having FuriString). This seems to be a good compromise.