2.2 KiB · text History e22af51
[package]
name = "koco"
version = "0.1.2"
edition = "2024"
description = "A Kodi Controller"
authors = ["Gabe <gabe@neiam.org>"]
license = "GPLv3"


[package.metadata.deb]
assets = [
    # target/release path is special, and gets replaced by cargo-deb with the actual target dir path.
    ["target/release/koco", "usr/bin/", "755"],
    { source = "LICENSE.md", dest = "/usr/share/doc/neiam-koco/LICENSE", doc = true, mode = "0644" },
    { source = "README.md", dest = "/usr/share/doc/neiam-koco/README.md", doc = true, mode = "0644" },
    { source = "assets/koco.desktop", dest = "/usr/share/applications/koco.desktop", mode = "644" },
    { source = "assets/logo.png", dest = "/usr/share/icons/hicolor/256x256/apps/koco.png", mode = "644" },
]
section = "utility"
license-file = ["LICENSE.md", "4"]

[package.metadata.generate-rpm]
assets = [
    { source = "target/release/koco", dest = "/usr/bin/koco", mode = "0755" },
    { source = "LICENSE.md", dest = "/usr/share/doc/neiam-koco/LICENSE", doc = true, mode = "0644" },
    { source = "README.md", dest = "/usr/share/doc/neiam-koco/README.md", doc = true, mode = "0644" },
    { source = "assets/koco.desktop", dest = "/usr/share/applications/koco.desktop", mode = "644" },
    { source = "assets/logo.png", dest = "/usr/share/icons/hicolor/256x256/apps/koco.png", mode = "644" },
]


[dependencies]
chrono = "0.4"
# glow, as eframe 0.33 defaulted to, rather than 0.34's new default of
# wgpu; and no system_fonts, which 0.37 adds, so the look is unchanged.
eframe = { version = "0.37.0", default-features = false, features = [
    "accesskit",
    "clipboard",
    "default_fonts",
    "glow",
    "links",
    "wayland",
    "web_screen_reader",
    "x11",
] }
# eframe's default features turn on winit's, and a dependency can't name
# a feature of its dependency, so winit is listed here to keep them.
winit = "0.30.13"
egui = "0.37.0"
egui_material_icons = "0.9.0"
log = "0.4"
env_logger = "0.11"
serde = { version = "1.0", features = ["derive", "default"] }
serde_json = "1.0"
toml = "0.8.0"
dirs = "5.0"
reqwest = { version = "0.12", features = ["blocking", "json"] }
tokio = { version = "1", features = ["full"] }
tokio-tungstenite = "0.24"
futures-util = "0.3"
paho-mqtt = "0.13"