# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "bitbar"
version = "0.8.2"
authors = ["Fenhl <fenhl@fenhl.net>"]
description = "Helper library for writing BitBar plugins"
readme = "README.md"
keywords = [
    "plugin",
    "macos",
    "menu-bar",
    "swiftbar",
    "xbar",
]
license = "MIT"
repository = "https://github.com/fenhl/rust-bitbar"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[dependencies.base64]
version = "0.13"
optional = true

[dependencies.bitbar-derive]
version = "=0.8.2"

[dependencies.css-color-parser]
version = "0.1.2"

[dependencies.css-colors]
version = "1"
optional = true

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.image]
version = "0.24"
optional = true

[dependencies.notify-rust]
version = "4"

[dependencies.open]
version = "2"

[dependencies.semver]
version = "1"

[dependencies.serenity]
version = "0.11"
features = [
    "model",
    "rustls_backend",
    "utils",
]
optional = true
default-features = false

[dependencies.static_assertions]
version = "1"
optional = true

[dependencies.structopt]
version = "0.3"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]
optional = true

[dependencies.url]
version = "2"

[features]
assume-flavor = ["static_assertions"]
default = ["tokio"]
tokio = [
    "dep:tokio",
    "futures",
    "bitbar-derive/tokio",
]
