desktop-app-blocker-api 0.1.1

A cross-platform Rust library for creating application blockers. Useful for productivity apps
Documentation
desktop-app-blocker-api-0.1.1 has been yanked.

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