mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
I was getting really tired of having to switch between display inputs to different platform-specific machines to be able to make and test changes on komorebi for Windows and komorebi for Mac. With this commit, the `flake.nix` provides a Nix devShell and crane build for users to make and validate changes with `cargo check`, `cargo clippy` and `cargo build` with the Windows MSVC toolchain on Linux and macOS.
52 lines
1.7 KiB
TOML
52 lines
1.7 KiB
TOML
[package]
|
|
name = "komorebi-bar"
|
|
version = "0.1.40"
|
|
edition = "2024"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
komorebi-client = { path = "../komorebi-client", default-features = false }
|
|
komorebi-themes = { path = "../komorebi-themes", default-features = false }
|
|
|
|
chrono-tz = { workspace = true }
|
|
chrono = { workspace = true }
|
|
clap = { workspace = true }
|
|
color-eyre = { workspace = true }
|
|
crossbeam-channel = { workspace = true }
|
|
dirs = { workspace = true }
|
|
dunce = { workspace = true }
|
|
eframe = { workspace = true }
|
|
egui-phosphor = { git = "https://github.com/amPerl/egui-phosphor", rev = "d13688738478ecd12b426e3e74c59d6577a85b59" }
|
|
font-loader = "0.11"
|
|
hotwatch = { workspace = true }
|
|
image = "0.25"
|
|
lazy_static = { workspace = true }
|
|
netdev = "0.40"
|
|
num = "0.4"
|
|
num-derive = "0.4"
|
|
num-traits = "0.2"
|
|
parking_lot = { workspace = true }
|
|
random_word = { version = "0.5", features = ["en"] }
|
|
reqwest = { version = "0.12", features = ["blocking"] }
|
|
schemars = { workspace = true, optional = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
starship-battery = "0.10"
|
|
sysinfo = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
which = { workspace = true }
|
|
windows = { workspace = true }
|
|
windows-core = { workspace = true }
|
|
windows-icons = { git = "https://github.com/LGUG2Z/windows-icons", rev = "0c9d7ee1b807347c507d3a9862dd007b4d3f4354" }
|
|
windows-icons-fallback = { package = "windows-icons", git = "https://github.com/LGUG2Z/windows-icons", rev = "d67cc9920aa9b4883393e411fb4fa2ddd4c498b5" }
|
|
|
|
[features]
|
|
default = ["schemars"]
|
|
schemars = [
|
|
"dep:schemars",
|
|
"komorebi-client/default",
|
|
"komorebi-themes/default",
|
|
]
|