| Crates.io | todop |
| lib.rs | todop |
| version | 1.0.0 |
| created_at | 2025-04-18 10:43:41.204694+00 |
| updated_at | 2025-04-18 10:43:41.204694+00 |
| description | A simple proc-macro for (forward-) declaring unimplemented functions. |
| homepage | https://github.com/kjughx/todop |
| repository | https://github.com/kjughx/todop |
| max_upload_size | |
| id | 1639200 |
| size | 3,262 |
A simple proc-macro for (forward-) declaring unimplemented functions.
use todop::todo;
pub struct MyStruct;
impl MyStruct {
#[todo]
pub fn new() -> Self;
#[todo]
pub fn my_method(arg1: &str, arg2: f32) -> Option<String> {
let a = format!("{arg1} -> {arg2}");
// Not finished
}
}
#[todo]
fn my_function();