Cargo Features

granite-rs has no features set by default.

[dependencies]
granite-rs = { version = "1.2.0", features = ["v7_1", "v7_2", "v7_3", "v7_4", "v7_5"] }
v7_1 v7_2?

Enables v7_1 of granite-rs-sys

Affects constants::STYLE_CLASS_BACKGROUND, constants::STYLE_CLASS_FRAME, constants::STYLE_CLASS_SIDEBAR, constants::STYLE_CLASS_RICH_LIST, header_label::HeaderLabelExt.secondary_text, header_label::HeaderLabelExt.set_secondary_text, header_label::HeaderLabelExt.connect_secondary_text_notify

v7_2 v7_3? = v7_1

Enables v7_2 of granite-rs-sys

Affects functions::init

v7_3 v7_4? = v7_2

Enables v7_3 of granite-rs-sys

Affects constants::SettingsUriLOCATION, constants::SettingsUriONLINE_ACCOUNTS, constants::SettingsUriNETWORK, constants::SettingsUriPERMISSIONS, constants::SettingsUriNOTIFICATIONS, constants::SettingsUriSOUND_INPUT, constants::SettingsUriSHORTCUTS

v7_4 v7_5? = v7_3

Enables v7_4 of granite-rs-sys

Affects header_label::HeaderLabelExt.mnemonic_widget, header_label::HeaderLabelExt.set_mnemonic_widget, header_label::HeaderLabelExt.connect_mnemonic_widget_notify, toast::ToastExt.withdraw

v7_5 = v7_4

Enables v7_5 of granite-rs-sys

Affects constants::STYLE_CLASS_SUCCESS, dialog::DialogExt.add_button, enums::ToastDismissReason, toast::ToastExt.connect_dismissed