Beacon/Cargo.toml
RTSDA dd086d0b30 feat: migrate to church-core crate for maximum code simplification
Major improvements leveraging the shared church-core library:

- **Replace custom Event struct**: Now using church-core::Event directly
  with built-in helper methods (formatted_date, clean_description, etc.)
- **Remove duplicate HTML cleaning**: Using church-core's clean_description()
- **Simplify API integration**: Replace custom ApiClient with church-core's
  ChurchApiClient and standardized endpoints
- **Remove redundant dependencies**: html2text, chrono no longer needed
- **Clean up configuration**: Remove unused cache settings, church-core handles caching
- **Streamline image loading**: Remove redundant HEAD requests, keep essential validation

Result: 37+ lines of duplicate code removed, 2 dependencies eliminated,
zero functionality lost. Project now maximizes church-core capabilities
while maintaining all original features.

Fixes: Eliminates code duplication and maintenance overhead
2025-08-16 21:54:13 -04:00

41 lines
1.3 KiB
TOML

[package]
name = "beacon"
version = "0.1.0"
edition = "2021"
description = "A modern digital signage application for displaying church events"
authors = ["Benjamin Slingo"]
[package.metadata.bundle]
name = "Beacon"
identifier = "church.rockvilletollandsda.beacon"
icon = ["icons/icon_256.png", "icons/icon_128.png", "icons/icon_64.png", "icons/icon_32.png"]
version = "1.0.0"
resources = ["icons/*"]
copyright = "© 2024 Rockville Tolland SDA Church"
category = "Office"
short_description = "Digital signage for church events"
long_description = """
A digital signage application that displays upcoming church events,
announcements, and information in a beautiful and engaging way.
"""
[dependencies]
tokio = { version = "1.36", features = ["full"] }
iced = { git = "https://github.com/iced-rs/iced.git", features = ["image", "tokio", "advanced", "debug", "system"] }
church-core = { path = "../church-core" }
# Keep these dependencies as they're used by the application directly
reqwest = { version = "0.11", features = ["json"] }
url = "2.5"
serde = { version = "1.0", features = ["derive"] }
anyhow = "1.0"
tracing = "0.1"
tracing-subscriber = "0.3"
config = "0.14"
once_cell = "1.19"
toml = "0.8"
dirs = "5.0"
ril = { version = "0.10", features = ["all"] }
infer = "0.15"
dotenvy = "0.15"
[package.metadata.iced.assets]
icon = "icons/appicon.png"