Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
codevardhan
caffeine-applet
Repository navigation
Code
Issues
1
(1)
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
caffeine-applet
/
Cargo.toml
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
35 lines (31 loc) · 1.15 KB
main
Breadcrumbs
caffeine-applet
/
Cargo.toml
Copy path
Top
File metadata and controls
Code
Blame
35 lines (31 loc) · 1.15 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
name = "caffeine-applet"
version = "0.1.3"
edition = "2021"
# Set by libcosmic 1.0, the highest floor in the tree; our own code only needs
# 1.87. Declared so an older rustc fails with one clear line instead of a wall
# of errors from inside a dependency.
rust-version = "1.93"
license = "MIT"
description = "A simple COSMIC applet that prevents your system from going idle by creating a systemd-inhibit lock session."
repository = "https://github.com/codevardhan/caffeine-applet"
[dependencies]
dirs = "6"
tempfile = "3"
serde = { version = "1", features = ["derive"] }
i18n-embed-fl = "0.9.2"
rust-embed = "8.5.0"
[dependencies.i18n-embed]
version = "0.15"
features = ["fluent-system", "desktop-requester"]
[dependencies.libcosmic]
git = "https://github.com/pop-os/libcosmic"
# Deliberately unpinned. `cosmic-panel` depends on libcosmic without a rev, so a
# `rev =` here splits the graph into two libcosmic sources, which the Flatpak
# cargo vendoring cannot express. Cargo.lock still pins the exact commit.
default-features = false
features = ["applet", "tokio", "wayland"]
[dependencies.zbus]
version = "5"
default-features = false
features = ["blocking"]
You can’t perform that action at this time.