Cargo Features

[dependencies]
millennium = { version = "1.0.0-beta.3", default-features = false, features = ["compression", "millennium_webview", "objc-exception", "isolation", "custom-protocol", "updater", "http-api", "http-multipart", "shell-open-api", "fs-extract-api", "reqwest-client", "process-command-api", "global-shortcut", "clipboard", "dialog", "notification", "cli", "system-tray", "devtools", "dox", "macos-private-api", "window-data-url", "api-all", "clipboard-all", "clipboard-write-text", "dialog-all", "dialog-ask", "dialog-confirm", "dialog-save", "fs-all", "fs-read-dir", "fs-exists", "global-shortcut-all", "http-all", "http-request", "notification-all", "os-all", "path-all", "process-all", "process-relaunch", "process-relaunch-dangerous-allow-symlink-macos", "protocol-all", "protocol-asset", "shell-all", "shell-sidecar", "shell-open", "window-all", "window-request-user-attention", "window-maximize", "window-unminimize", "window-set-decorations", "window-set-min-size", "window-set-fullscreen", "window-set-skip-taskbar", "window-set-cursor-visible", "window-set-cursor-position", "window-print", "icon-ico", "icon-png"] }
default = compression, millennium_webview, objc-exception

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

compression default

Enables compression of millennium-macros and millennium-utils

millennium_webview default = millennium-runtime-webview

Affects millennium::MillenniumWebview, window::PlatformWebview

objc-exception default

Enables objc-exception of millennium-runtime-webview

isolation

Enables isolation of millennium-macros and millennium-utils

custom-protocol

Enables custom-protocol of millennium-macros

updater = base64, dialog-ask, fs-extract-api, http-api, minisign-verify, time
http-api http-request? updater? = attohttpc, bytes

Affects api::http

http-multipart

Enables multipart-form of attohttpc ^0.19, multipart of reqwest ^0.11

shell-open-api shell-open? = open, regex

Enables shell-scope of millennium-macros

Affects api::shell

fs-extract-api updater? = zip
reqwest-client = reqwest

Affects http::Client, http::Response

process-command-api shell-execute? shell-sidecar? = os_pipe, shared_child
global-shortcut global-shortcut-all?

Enables global-shortcut of millennium-runtime and millennium-runtime-webview

Affects mock_runtime::MockGlobalShortcutManager

clipboard clipboard-read-text? clipboard-write-text?

Enables clipboard of millennium-runtime and millennium-runtime-webview

Affects mock_runtime::MockClipboardManager

dialog dialog-ask? dialog-confirm? dialog-message? dialog-open? dialog-save? = rfd

Affects api::dialog

notification notification-all? = notify-rust

Affects api::notification

cli = clap

Affects api::cli

system-tray

Enables system-tray of millennium-runtime and millennium-runtime-webview

Affects mock_runtime::MockTrayHandler

devtools

Enables devtools of millennium-runtime and millennium-runtime-webview

dox

Enables dox of millennium-runtime-webview

macos-private-api

Enables macos-private-api of millennium-runtime and millennium-runtime-webview

window-data-url = data-url
api-all = clipboard-all, dialog-all, fs-all, global-shortcut-all, http-all, notification-all, os-all, path-all, process-all, protocol-all, shell-all, window-all
clipboard-all api-all? = clipboard-read-text, clipboard-write-text
clipboard-read-text clipboard-write-text clipboard-all? = clipboard
dialog-all api-all? = dialog-ask, dialog-message, dialog-open, dialog-save
dialog-ask dialog-all? notification-all? updater? = dialog
dialog-confirm = dialog
dialog-message dialog-open dialog-save dialog-all? = dialog
fs-all api-all? = fs-copy-file, fs-create-dir, fs-exists, fs-read-dir, fs-read-file, fs-remove-dir, fs-remove-file, fs-rename, fs-write-file
fs-copy-file fs-create-dir fs-read-file fs-read-dir fs-all?
fs-remove-dir fs-remove-file fs-write-file fs-rename fs-exists fs-all?
global-shortcut-all api-all? = global-shortcut
http-all api-all? = http-request
http-request http-all? = http-api
notification-all api-all? = dialog-ask, notification
os-all api-all? = os_info
path-all api-all?
process-all api-all? = process-exit, process-relaunch
process-exit process-relaunch process-all?

Enables process-relaunch…symlink-macos of millennium-utils

protocol-all api-all? = protocol-asset
protocol-asset protocol-all?
shell-all api-all? = shell-execute, shell-open, shell-sidecar
shell-execute shell-sidecar shell-all? = process-command-api, regex

Enables shell-scope of millennium-macros

shell-open shell-all? = shell-open-api
window-all api-all? = window-center, window-close, window-create, window-hide, window-maximize, window-minimize, window-print, window-request-user-attention, window-set-always-on-top, window-set-cursor-grab, window-set-cursor-icon, window-set-cursor-position, window-set-cursor-visible, window-set-decorations, window-set-focus, window-set-fullscreen, window-set-icon, window-set-max-size, window-set-min-size, window-set-position, window-set-resizable, window-set-size, window-set-skip-taskbar, window-set-title, window-show, window-start-dragging, window-unmaximize, window-unminimize
window-create window-center window-request-user-attention window-all?
window-set-resizable window-set-title window-maximize window-all?
window-unmaximize window-minimize window-unminimize window-all?
window-show window-hide window-close window-set-decorations window-all?
window-set-always-on-top window-set-size window-set-min-size window-all?
window-set-max-size window-set-position window-set-fullscreen window-all?
window-set-focus window-set-icon window-set-skip-taskbar window-all?
window-set-cursor-grab window-set-cursor-visible window-all?
window-set-cursor-icon window-set-cursor-position window-all?
window-start-dragging window-print window-all?
icon-ico = ico, infer
icon-png = infer, png

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.

millennium-runtime-webview clipboard? devtools? dox? global-shortcut? macos-private-api? millennium_webview objc-exception system-tray?
zip fs-extract-api?

Enables zip ^0.6

base64 updater?

Enables base64 ^0.13

clap cli?

Enables clap ^3

notify-rust notification?
reqwest http-multipart? reqwest-client?

Enables reqwest ^0.11

bytes http-api?
attohttpc http-api? http-multipart?

Enables attohttpc ^0.19

open shell-open-api?

Enables open ^3.0

shared_child process-command-api?
os_pipe process-command-api?
rfd dialog?

Enables rfd ^0.9

minisign-verify updater?
time updater?
os_info os-all?
regex shell-execute? shell-open-api? shell-sidecar?
data-url window-data-url?

Enables data-url ^0.1

infer icon-ico? icon-png?

Enables infer ^0.8

png icon-png?
ico icon-ico?

Enables ico ^0.1