Cargo Features

[dependencies]
cacao = { version = "0.4.0-beta2", default-features = false, features = ["appkit", "uikit", "autolayout", "cloudkit", "color_fallbacks", "quicklook", "user-notifications", "webview", "webview-downloading-macos"] }
default = appkit, autolayout

These default features are set whenever cacao is added without default-features = false somewhere in the dependency tree.

appkit default

Enables mac_os_10_8_features of core-foundation

core-foundation:

enables new features

Affects enums::BezelStyle, enums::ImagePosition, filesystem::select, constraint::LayoutConstraint.animator, traits::Layout.is_hidden_or_ancestor_is_hidden, traits::Layout.register_for_dragged_types, traits::Layout.unregister_dragged_types, traits::Layout.set_posts_frame_change_notifications, traits::Layout.set_posts_bounds_change_notifications, traits::Layout.set_alpha, cacao::appkit, cacao::button, cacao::dragdrop, cacao::events, cacao::listview, cacao::pasteboard, cacao::progress, cacao::switch, cacao::select, row::ListViewRow.animator

uikit

Affects cacao::uikit, cacao::control, cacao::filesystem, cacao::image, cacao::input, cacao::scrollview

autolayout default

Affects segmentedcontrol::SegmentedControl.top, segmentedcontrol::SegmentedControl.leading, segmentedcontrol::SegmentedControl.left, segmentedcontrol::SegmentedControl.trailing, segmentedcontrol::SegmentedControl.right, segmentedcontrol::SegmentedControl.bottom, segmentedcontrol::SegmentedControl.width, segmentedcontrol::SegmentedControl.height, segmentedcontrol::SegmentedControl.center_x, segmentedcontrol::SegmentedControl.center_y, button::Button.top, button::Button.leading, button::Button.left, button::Button.trailing, button::Button.right, button::Button.bottom, button::Button.width, button::Button.height, button::Button.center_x, button::Button.center_y

cloudkit

Affects traits::AppDelegate.user_accepted_cloudkit_share, cacao::cloudkit

color_fallbacks
quicklook

Affects cacao::quicklook

user-notifications = uuid

Affects cacao::user_notifications

webview = infer

Affects cacao::webview

webview-downloading-macos

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

infer webview?
uuid user-notifications?