Crates.io | todo-or-die |
lib.rs | todo-or-die |
version | 0.1.2 |
source | src |
created_at | 2021-07-08 19:41:54.309597 |
updated_at | 2021-09-17 21:08:38.731513 |
description | TODOs checked at compile time |
homepage | https://github.com/davidpdrsn/todo-or-die |
repository | https://github.com/davidpdrsn/todo-or-die |
max_upload_size | |
id | 420446 |
size | 33,550 |
todo-or-die
provides procedural macros that act as checked reminders.
// 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.
The name was shamelessly stolen from the ruby gem todo_or_die
.
This project is licensed under the MIT license.