# 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 = "oatbar"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "oatbar"
description = "Powerful and customizable DE and WM status bar"
homepage = "https://oatbar.app"
documentation = "https://github.com/igor-petruk/oatbar"
readme = "README.md"
keywords = [
    "x11",
    "wm",
    "bar",
]
categories = [
    "graphics",
    "visualization",
]
license = "Apache-2.0"
repository = "https://github.com/igor-petruk/oatbar"

[features]
bmp = [
    "image",
    "raster",
    "image/bmp",
]
default = [
    "bmp",
    "ico",
    "image",
    "jpeg",
    "png",
    "webp",
    "svg",
    "raster",
    "llm",
    "llm-google",
    "llm-openai",
    "llm-anthropic",
    "llm-mistral",
    "llm-xai",
    "llm-ollama",
    "x11",
    "wayland",
    "mcp",
]
gtk4_icons = [
    "dep:gtk4",
    "dep:gdk4",
]
ico = [
    "image",
    "raster",
    "image/ico",
]
image = []
jpeg = [
    "image",
    "raster",
    "image/jpeg",
]
llm = [
    "dep:llm",
    "dep:tokio",
]
llm-anthropic = [
    "llm",
    "llm/anthropic",
]
llm-google = [
    "llm",
    "llm/google",
]
llm-mistral = [
    "llm",
    "llm/mistral",
]
llm-ollama = [
    "llm",
    "llm/ollama",
]
llm-openai = [
    "llm",
    "llm/openai",
]
llm-xai = [
    "llm",
    "llm/xai",
]
mcp = [
    "dep:rmcp",
    "dep:schemars",
    "dep:tokio",
]
png = [
    "image",
    "raster",
    "image/png",
]
profile = ["dep:pprof"]
raster = ["dep:image"]
svg = [
    "image",
    "dep:resvg",
]
wayland = [
    "dep:smithay-client-toolkit",
    "dep:wayland-client",
    "dep:calloop",
    "dep:calloop-wayland-source",
    "dep:swayipc",
    "dep:wayland-protocols-wlr",
    "dep:wayland-protocols",
    "dep:hyprland",
]
webp = [
    "image",
    "raster",
    "image/webp",
]
x11 = [
    "dep:xcb",
    "cairo-rs/xcb",
]

[[bin]]
name = "oatbar"
path = "src/main.rs"

[[bin]]
name = "oatbar-desktop"
path = "src/desktop.rs"

[[bin]]
name = "oatbar-keyboard"
path = "src/keyboard.rs"

[[bin]]
name = "oatbar-llm"
path = "src/llm.rs"
required-features = ["llm"]

[[bin]]
name = "oatbar-mcp"
path = "src/mcp.rs"
required-features = ["mcp"]

[[bin]]
name = "oatbar-mpris"
path = "src/mpris.rs"

[[bin]]
name = "oatbar-sni"
path = "src/sni.rs"

[[bin]]
name = "oatbar-stats"
path = "src/stats.rs"

[[bin]]
name = "oatctl"
path = "src/cli.rs"

[dependencies.anyhow]
version = "1"

[dependencies.battery]
version = "0.7.8"

[dependencies.bytesize]
version = "2.0"

[dependencies.cairo-rs]
version = "0.22"
default-features = false

[dependencies.calloop]
version = "0.14.3"
optional = true

[dependencies.calloop-wayland-source]
version = "0.4.1"
optional = true

[dependencies.chrono]
version = "0.4.42"
features = ["serde"]

[dependencies.clap]
version = "4.4.8"
features = ["derive"]

[dependencies.crossbeam-channel]
version = "0.5.8"

[dependencies.derive_builder]
version = "0.20"

[dependencies.dirs]
version = "6.0"

[dependencies.event-listener]
version = "5.4.1"

[dependencies.fork]
version = "0.7"

[dependencies.futures-util]
version = "0.3.31"

[dependencies.gdk4]
version = "0.11"
optional = true

[dependencies.gtk4]
version = "0.11"
optional = true

[dependencies.hyprland]
version = "0.4.0-beta.3"
optional = true

[dependencies.image]
version = "0.25.1"
optional = true
default-features = false

[dependencies.itertools]
version = "0.14"

[dependencies.libc]
version = "0.2.150"

[dependencies.llm]
version = "1.3"
features = ["default-tls"]
optional = true
default-features = false

[dependencies.macro_rules_attribute]
version = "0.2.0"

[dependencies.nix]
version = "0.31"
features = ["net"]

[dependencies.pango]
version = "0.22"
features = ["v1_52"]

[dependencies.pangocairo]
version = "0.22"

[dependencies.pprof]
version = "0.15"
features = ["flamegraph"]
optional = true

[dependencies.regex]
version = "1"

[dependencies.resvg]
version = "0.47"
optional = true

[dependencies.rmcp]
version = "1.3.0"
features = [
    "macros",
    "server",
    "transport-io",
]
optional = true

[dependencies.schemars]
version = "1.2"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_ext_duration]
version = "0.2.0"

[dependencies.serde_json]
version = "1"

[dependencies.serde_regex]
version = "1.1.0"

[dependencies.serde_with]
version = "3"
features = [
    "macros",
    "std",
]
default-features = false

[dependencies.smithay-client-toolkit]
version = "0.20.0"
optional = true

[dependencies.swayipc]
version = "4.0.0"
optional = true

[dependencies.systemstat]
version = "0.2.3"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[dependencies.toml]
version = "1.1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.wayland-client]
version = "0.31.11"
optional = true

[dependencies.wayland-protocols]
version = "0.32"
features = ["client"]
optional = true

[dependencies.wayland-protocols-wlr]
version = "0.3"
features = ["client"]
optional = true

[dependencies.xcb]
version = "1.7"
features = [
    "randr",
    "xkb",
    "xlib_xcb",
    "xinput",
]
optional = true

[dependencies.zbus]
version = "5"
features = ["tokio"]
default-features = false
