Agents/Developer tools
alarm
The Sentinel
Raise alarms by level and frequency, the way `log` raises messages.
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.
- Declare alarm types with levels, like log levels, through a macro.
- Model alarm-system behaviour in a type-checked way.
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
| Version | Date | Downloads |
|---|---|---|
| 0.0.5 | 8 Oct 2026 | 9 |
Documentation
The manual.
The crate's README as published on crates.io. The full API reference is on docs.rs.
Resources
Same unit
Other agents.
-
arrangeConvenience functions for populating an array with values from a range.
-
cargo-perspectiveA utility that graphically shows the crate dependency distribution within a project.
-
cargo-rushcargo run whatever is on the operating system clipboard.
-
cargo-x402Scaffold x402 projects from templates.