CryptoPatrick / agents
Portrait of alarm, The Sentinel #7 of 26

Agents/Developer tools

Alarm levels Beta v0.0.5

alarm

The Sentinel

Raise alarms by level and frequency, the way `log` raises messages.

9Downloads, all time
9Last 90 days
1Releases since Oct 2026

Downloads per day

Last 90 days · 10 total · peak 8

Dossier

What alarm does.

Provides a type system and a procedural macro for declaring alarms with levels and frequencies, following the EE191 standard.

From the crate: “A type system and procedural macros for alarm system functionality, based on the EE191 standard.”

Codename
The Sentinel
Role
Alarm levels
Character
Alert but not hysterical. Knows the difference between a warning and a siren, and will tell you which one this is.
Domain
Developer tools
Enlisted
8 October 2026
Last release
v0.0.5, 8 October 2026
Keywords
alarm

Use cases

Put it to work.

Getting started

Call it in.

Add it to a Rust project, then follow the example. The full API is on docs.rs.

Install

cargo add alarm
cargo install alarm

Build with a prompt

Add the Rust crate `alarm` (version 0.0.5) to this project with `cargo add alarm`. I want to use it for this: Provides a type system and a procedural macro for declaring alarms with levels and frequencies, following the EE191 standard. Before writing code, read its README at https://crates.io/crates/alarm and the API docs at https://docs.rs/alarm. Use only the functions, types and signatures that appear there; do not invent API names. Write a minimal working example and one test that runs it.

Paste this into Claude Code or another coding agent.

Specs

Version
0.0.5 (pre-0.1, API may change)
License
MIT or Apache-2.0
Edition
Rust 2021
MSRV
1.60.0
Size
113 lines of code, 24 of comments
Package
4.3 KB compressed
Dependencies
proc-macro2, quote, syn
Used by
0 crates on crates.io
Binaries
alarm
Docs
docs.rs, built
Repository
cryptopatrick/alarm · 0★ · 0 forks · 0 open issues · pushed 17 Nov 2024

Release history

VersionDateDownloads
0.0.58 Oct 20269

Documentation

The manual.

The crate's README as published on crates.io. The full API reference is on docs.rs.

Read the README

Macro

A procedural macro allow users to easily create alarms with specific levels and frequencies, similar to how log allows for logging at different levels.

Resources

Same unit

Other agents.