Cargo Features

[dependencies]
hgame = { version = "0.26.4", default-features = false, features = ["collab", "mongo", "review_item", "stage_graph", "alert", "query_message", "ticket", "kitsu", "ldap", "image_processing", "html", "gui", "egui_demo", "easy_mark", "persistence"] }
default = gui, html

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

collab = futures-util, quick-protobuf, tokio, tokio-tungstenite

Affects hgame::collab

mongo = mongodb

Use MongoDB.

Enables mongo of mktree

Affects production::MongoProject, production::pp_umbrella_ui

review_item

List/count review items (aka. "notice") of Pan-project members.

Enables datepicker of egui_extras ^0.21.0

Optional

Affects hgame::review_item, action::NoticeSignalPerm

stage_graph

Outgoing delivery notes of Pan-project members.

Enables dag of mkutil ^0.5.1

Affects ext::TrackedAsset, hgame::stage, action::ProjWorkflowPerm, action::StageActionPerm

alert

Enables file_dialog and notify of mkutil ^0.5.1

Affects hgame::alert

query_message

Send/receive short messages.

Enables datepicker of egui_extras ^0.21.0

Affects hgame::query_msg, action::QueryMsgPerm, prelude::topic, topic::MsgTopic, topic::msg_topic_options_ui

ticket = html

Defect Tracking as tickets and subtickets.

Affects hgame::ticket, action::DefectTrackPerm, action::DefectItemPerm, prelude::topic, topic::MsgTopic, topic::msg_topic_options_ui

kitsu

Zou/Kitsu

Enables zou of mktree

Affects asset::KitsuAsset, production::KitsuProject, production::pp_umbrella_ui

ldap

Enables ldap of hconf and mkutil ^0.5.1

Affects user::ActivePersonnel.person_entry_by_name, user::ActivePersonnel.take_profile_img, user::ActivePersonnel.profile_img_mut

image_processing = image

Enables image of egui_extras ^0.21.0, clipboard_to_temp_image of mkutil ^0.5.1

Affects icon::IconCel, icon::IconBook, prelude::pixel, user::ActivePersonnel.take_profile_img, user::ActivePersonnel.profile_img_mut

html default ticket? = html-builder

Enables html of mkutil ^0.5.1

Affects reply::ReplyWriteBuilder, reply::ReplyReadBuilder

gui default = egui_extras, mktree

Affects criterion::semantic_options_ui, org::AssetOrg.category_trees, org::AssetOrg.assignee_group_trees, hgame::genesis_stage_options_ui, hgame::genesis_simple_options_ui, hgame::ReadWriteSuggest.read_mode_ui, hgame::ReadWriteSuggest.write_suggest_ui, hgame::ReadWriteSuggest.write_compose_ui, hgame::ReadWriteSuggest.write_edit_ui, hgame::filter_operation_options_ui, locale::locale_options_ui, stage::Stage.color, workflow::StageRefReadBuilder, ticket::ticket_author_source_options_ui, ticket::subticket_class_options_ui, org::StaffOrg.staff_tree, org::StaffOrg.staff_treecb, staff::production_role_options_ui, reply::ReplyReadBuilder, locale::easy_mark_syntax_help

egui_demo

Display of egui demos.

Enables serde of egui_demo_lib ^0.21.0

easy_mark

Support for EasyMark syntax.

Enables serde of egui_demo_lib ^0.21.0

Affects locale::EASYMARK_SYNTAX_HELP, locale::easy_mark_syntax_help

persistence

Enables persistence of hconf and serde of egui_demo_lib ^0.21.0

egui_demo_lib:

Allow serialization using serde.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

-------------------------------------------------------------------------------

egui_extras gui image_processing? query_message? review_item?

Enables egui_extras ^0.21.0

mktree gui kitsu? mongo?
mongodb mongo?

Enables mongodb ^2.0.0

image image_processing?

Enables image ^0.24.3

html-builder html
egui_demo_lib easy_mark? egui_demo? persistence?

Enables egui_demo_lib ^0.21.0

futures-util collab?

Enables futures-util

WebSocket client.

quick-protobuf collab?
tokio collab?
tokio-tungstenite collab?

Enables tokio-tungstenite ^0.18.0