Cargo Features

[dependencies]
bitbar = { version = "0.8.2", default-features = false, features = ["assume-flavor", "tokio", "base64", "css-colors", "image", "serenity"] }
default = tokio

The tokio feature is set by default whenever bitbar is added without default-features = false somewhere in the dependency tree.

assume-flavor = static_assertions
tokio default = futures

Enables tokio, tokio of bitbar-derive

Affects swiftbar::Stream, bitbar::AsyncMainOutput

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

base64 implicit feature

Enables base64 ^0.13

base64:

encodes and decodes base64 as bytes or utf8

css-colors implicit feature

Enables css-colors

css-colors:

A Rust converter to transform CSS colors

image implicit feature

Enables image

image:

Imaging library. Provides basic image processing and encoders/decoders for common image formats.

serenity implicit feature

Enables serenity ^0.11

serenity:

A Rust library for the Discord API

futures tokio
static_assertions assume-flavor?