Some of the features of suppaftp are behind #[cfg]s , yet they are not displayed in the official documentation because the project doesn't utilize #[doc_cfg]s.
Changes
Display conditionally compiled items on docs.rs.
Implementation
You can keep the library stable while allowing the documentation to be built using the combination of --cfg, #[package.metadata], #[cfg_attr(...)], and #[cfg_doc(...)]. syn is a good example.
Description
Some of the features of
suppaftp
are behind#[cfg]
s , yet they are not displayed in the official documentation because the project doesn't utilize#[doc_cfg]
s.Changes
Display conditionally compiled items on docs.rs.
Implementation
You can keep the library stable while allowing the documentation to be built using the combination of
--cfg
,#[package.metadata]
,#[cfg_attr(...)]
, and#[cfg_doc(...)]
.syn
is a good example.