Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidpdrsn/todo-or-die
TODOs you cannot forget!
https://github.com/davidpdrsn/todo-or-die
Last synced: 5 days ago
JSON representation
TODOs you cannot forget!
- Host: GitHub
- URL: https://github.com/davidpdrsn/todo-or-die
- Owner: davidpdrsn
- License: mit
- Created: 2021-09-05T14:31:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-17T21:08:46.000Z (about 3 years ago)
- Last Synced: 2024-11-30T13:47:30.248Z (13 days ago)
- Language: Rust
- Homepage:
- Size: 32.2 KB
- Stars: 586
- Watchers: 8
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - davidpdrsn/todo-or-die - TODOs you cannot forget! (others)
README
# todo-or-die
`todo-or-die` provides procedural macros that act as checked reminders.
[![Build status](https://github.com/davidpdrsn/todo-or-die/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/davidpdrsn/todo-or-die/actions/workflows/CI.yml)
[![Crates.io](https://img.shields.io/crates/v/todo-or-die)](https://crates.io/crates/todo-or-die)
[![Documentation](https://docs.rs/todo-or-die/badge.svg)](https://docs.rs/todo-or-die)# Examples
```rust
// trigger a compile error if we're past a certain date
todo_or_die::after_date!(3000, 1, 1); // its the year 3000!// or a GitHub issue has closed
todo_or_die::issue_closed!("rust-lang", "rust", 44265); // GATs are here!// or the latest version of a crate matches some expression
todo_or_die::crates_io!("serde", ">1.0.9000"); // its over 9000!
```More information about this crate can be found in the [crate documentation][docs].
The name was shamelessly stolen from the ruby gem [`todo_or_die`][ruby].
## License
This project is licensed under the [MIT license](LICENSE).
[ruby]: https://rubygems.org/gems/todo_or_die
[docs]: https://docs.rs/todo-or-die