2.1 KiB · text History 33961a4
[package]
name = "markprompter"
version = "0.2.0"
edition = "2021"
description = "A markdown teleprompter with automatic scrolling and live preview"
authors = ["Gabe <gabe@neiam.org>"]
license = "GPL-3.0-or-later"

# Packaging. Both tools read the release binary out of target/release,
# so `cargo build --release` has to have run first — `cargo deb
# --no-build` and `cargo generate-rpm` only assemble.
#
# No .desktop entry or icon: there are none in the repo to install, so
# this ships the binary and the docs. Add both here if MarkPrompter
# should show up in an application menu.
[package.metadata.deb]
assets = [
    # target/release is special, and cargo-deb replaces it with the
    # actual target directory.
    ["target/release/markprompter", "usr/bin/", "755"],
    { source = "LICENSE.md", dest = "/usr/share/doc/neiam-markprompter/LICENSE", doc = true, mode = "0644" },
    { source = "README.md", dest = "/usr/share/doc/neiam-markprompter/README.md", doc = true, mode = "0644" },
]
section = "utility"
license-file = ["LICENSE.md", "4"]

[package.metadata.generate-rpm]
assets = [
    { source = "target/release/markprompter", dest = "/usr/bin/markprompter", mode = "0755" },
    { source = "LICENSE.md", dest = "/usr/share/doc/neiam-markprompter/LICENSE", doc = true, mode = "0644" },
    { source = "README.md", dest = "/usr/share/doc/neiam-markprompter/README.md", doc = true, mode = "0644" },
]

[dependencies]
egui = "0.37.0"
# glow as well as the default wgpu: eframe 0.34 made wgpu the default
# renderer, and main() keeps the glow one this has always run on.
eframe = { version = "0.37.0", features = ["glow"] }
pollster = "0.3.0"
rfd = "0.12.1"
markdown = "1.0.0-alpha.14"
# Without its default features: those are comrak's own command-line
# tool (clap) and syntect highlighting, and markdown_to_html uses
# neither. syntect brought in bincode and yaml-rust (unmaintained) and,
# through plist, vulnerable versions of time and quick-xml.
comrak = { version = "0.19.0", default-features = false }
toml = "0.8.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
chrono = "0.4"
egui_material_icons = "0.9.0"