lib: fix 'dox' feature

This makes sure docs can be properly built when using the 'dox'
feature. It should fix auto-builds on docs.rs.
This commit is contained in:
Luca BRUNO 2021-08-02 15:15:51 +00:00 committed by Colin Walters
parent 712570b9b7
commit 20a025a0eb

View File

@ -4,7 +4,7 @@
//! tools that combines a "git-like" model for committing and downloading bootable filesystem trees,
//! along with a layer for deploying them and managing the bootloader configuration.
#![doc(html_root_url = "https://fkrull.gitlab.io/ostree-rs")]
#![cfg_attr(feature = "dox", feature(doc_cfg))]
// Re-export our dependencies. See https://gtk-rs.org/blog/2021/06/22/new-release.html
// "Dependencies are re-exported". Users will need e.g. `gio::File`, so this avoids