Cargo Features
[dependencies]
icon-loader = { version = "0.4.0", default-features = false, features = ["kde", "gtk", "theme_error_log"] }
- default = gtk, kde
-
These default features are set whenever
icon-loader
is added without
somewhere in the dependency tree.default-features = false - kde default
-
Adds the ability to read the default theme name from '~/.config/kdeglobals'.
- gtk default
-
Adds the ability to read the default theme name from '~/.config/gtk-3.0/settings.ini'.
- theme_error_log = log
-
Log icon theme error messages. Only useful for debugging malformed icon themes.
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.