desktop-app-blocker-api

Crates.iodesktop-app-blocker-api
lib.rsdesktop-app-blocker-api
version0.1.3
sourcesrc
created_at2024-09-23 21:17:08.039895
updated_at2024-10-05 10:55:09.153487
descriptionA cross-platform Rust library for creating application blockers. Useful for productivity apps
homepage
repository
max_upload_size
id1384489
size35,353
Ali (Revxrsal)

documentation

README

Crates.io

Desktop App Blocker API

Desktop App Blocker API is a utility Rust crate for performing cross-platform "app blocking". Useful for productivity applications or parenting software.

This is a project I have built for my personal use. Therefore, I am being slightly selfish and putting more emphasis on the features that I need, even if that meant ignoring the greater good. 🍕

Features

  • Support for Windows and macOS
  • Detect/Block Task Manager or Activity Monitor
  • Detect/Block terminal applications
  • Detect/Block system settings
  • Detect/Block installers (Windows)
  • Block by window names
  • Block executables (Windows)
  • Block by bundle IDs (macOS)
  • Structs include support for serde, bincode and specta

Usage

desktop-app-blocker-api = "0.1.0"

Features

  • serde: Includes serde Serialize and Deserialize derives for types
  • specta: Includes Type derives for types
  • bincode: Includes Encode and Decode derives for types
Commit count: 0

cargo fmt