This is bitbar, a library crate which includes helpers for writing BitBar plugins in Rust. The main feature is the Menu type whose Display implementation generates output that conforms to the BitBar plugin API.
Features
The following features can be enabled via Cargo:
base64: Adds a depencency to thebase64crate and implements conversion methods from PNG files that aren't already base64-encoded toImages.css-colors: Adds a dependency to thecss-colorscrate and implementsIntoColorfor its color typesRGB,RGBA,HSL, andHSLA.image: Adds a depencency to theimagecrate. If thebase64feature is also enabled, implementsTryFrom<DynamicImage>forImage.serenity: Adds a dependency to theserenitycrate and implementsIntoColorfor itsColourtype.url1: Adds a dependency to the outdated version 1 of theurlcrate and implementsIntoUrlfor itsUrltype.
Example
use ;