feat: refactor the settings page architecture

This commit is contained in:
Michael Aaron Murphy 2023-04-25 00:30:50 +02:00
parent efdd934e62
commit c015ad9948
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
55 changed files with 2212 additions and 1635 deletions

37
app/Cargo.toml Normal file
View file

@ -0,0 +1,37 @@
[package]
name = "cosmic-settings"
version = "0.1.0"
edition = "2021"
license = "GPL-3.0-only"
rust-version = "1.65.0"
[dependencies]
apply = "0.3.0"
async-channel = "1.8.0"
bytecheck = "0.6.10"
color-eyre = "0.6.2"
cosmic-settings-page = { path = "../page" }
cosmic-settings-system = { path = "../pages/system" }
cosmic-settings-time = { path = "../pages/time" }
derive_setters = "0.1.5"
dirs = "4.0.0"
generator = "0.7.4"
i18n-embed-fl = "0.6.6"
libcosmic = {workspace = true}
once_cell = "1.17.1"
regex = "1.8.1"
rkyv = { version = "0.7.41", features = ["validation"]}
rust-embed = "6.6.1"
slotmap = "1.0.6"
tokio = "1.27.0"
downcast-rs = "1.2.0"
[dependencies.i18n-embed]
version = "0.13.8"
features = ["fluent-system", "desktop-requester"]
[profile.release]
opt-level = "s"
overflow-checks = true
lto = "thin"
incremental = false