Cargo Features

[dependencies]
notify-rust = { version = "4.10.0", default-features = false, features = ["d", "d_vendored", "z", "async", "debug_namespace", "images", "chrono", "env_logger"] }
default = z

The z feature is set by default whenever notify-rust is added without default-features = false somewhere in the dependency tree.

d = dbus

`server = []

d_vendored

Enables vendored of dbus

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.

chrono mac implicit feature

Enables chrono

chrono:

Date and time library for Rust

env_logger unix not mac implicit feature

Enables env_logger ^0.10

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 ^3.10

Affects xdg::dbus_stack, xdg::get_capabilities, xdg::get_server_information, xdg::handle_action, xdg::server_zbus, 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, notify-rust::server, xdg::server_dbus, xdg::dbus_stack, xdg::get_capabilities, xdg::get_server_information, xdg::handle_action