Feature since version instead of deprecated
Example:
The following signal of the GIR-file
<glib:signal name="web-process-crashed" when="last" deprecated="1" deprecated-version="2.20">
gets translated to this method
#[cfg_attr(feature = "v2_20", deprecated = "Since 2.20")]
#[doc(alias = "web-process-crashed")]
fn connect_web_process_crashed<F: Fn(&Self) -> bool + 'static>(&self, f: F) -> SignalHandlerId;
As far as I can tell connect_web_process_crashed
should not be behind the feature-gate v2_20
. It was available from the beginning and was only deprecated with version 2.20.