Restructure config to fix debian builds

This commit is contained in:
Jeremy Soller 2025-05-09 19:17:28 -06:00
parent edaf5b994e
commit 515dbb3337
No known key found for this signature in database
GPG key ID: 670FDFB5428E05CA
6 changed files with 5 additions and 2 deletions

1
Cargo.lock generated
View file

@ -1307,6 +1307,7 @@ version = "0.1.0"
dependencies = [
"chrono",
"chrono-tz",
"cosmic-applets-config",
"cosmic-config",
"i18n-embed",
"i18n-embed-fl",

View file

@ -26,6 +26,7 @@ resolver = "2"
[workspace.dependencies]
anyhow = "1.0.95"
cctk = { git = "https://github.com/pop-os/cosmic-protocols", package = "cosmic-client-toolkit", rev = "178eb0b" }
cosmic-applets-config = { path = "cosmic-applets-config" }
cosmic-protocols = { git = "https://github.com/pop-os/cosmic-protocols", default-features = false, features = [
"client",
], rev = "1425bd4" }

View file

@ -5,6 +5,7 @@ edition = "2021"
license = "GPL-3.0-only"
[dependencies]
cosmic-applets-config.workspace = true
cosmic-config.workspace = true
chrono = { version = "0.4.39", features = ["clock"] }
chrono-tz = "0.10"

View file

@ -1,7 +1,8 @@
// Copyright 2023 System76 <info@system76.com>
// SPDX-License-Identifier: GPL-3.0-only
mod config;
pub use cosmic_applets_config::time as config;
mod localize;
mod time;
mod window;

View file

@ -1,2 +1 @@
#[path = "../../cosmic-applet-time/src/config.rs"]
pub mod time;