Cargo Features
[dependencies]
notify-rust = { version = "4.11.3", default-features = false, features = ["d", "d_vendored", "z", "async", "debug_namespace", "images", "chrono", "env_logger"] }
- default = z
-
The
z
feature is set by default whenevernotify-rust
is added without
somewhere in the dependency tree.default-features = false - d = dbus
- d_vendored
- z default = async, serde, zbus
- async z
- debug_namespace
-
Affects
xdg::NOTIFICATION_DEFAULT_BUS
… - images = image, lazy_static
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.
- chrono mac implicit feature
-
Enables chrono
chrono:
Date and time library for Rust
- env_logger unix not mac implicit feature
-
Enables env_logger
env_logger:
A logging implementation for
log
which is configured via an environment variable - image unix not mac images?
- lazy_static unix not mac images?
- serde unix not mac z
- zbus unix not mac z
-
Enables zbus ^4
Affects
xdg::dbus_stack
,xdg::get_capabilities
,xdg::get_server_information
,xdg::handle_action
,xdg::dbus_stack
,xdg::get_capabilities
,xdg::get_server_information
,xdg::handle_action
… - dbus unix not mac d? d_vendored?
-
Affects
image::ImageMessage
,xdg::dbus_stack
,xdg::get_capabilities
,xdg::get_server_information
,xdg::handle_action
,xdg::dbus_stack
,xdg::get_capabilities
,xdg::get_server_information
,xdg::handle_action
…