1 stable release
1.0.0 | Apr 18, 2025 |
---|
#707 in Procedural macros
134 downloads per month
4KB
#[todo]
A simple proc-macro for (forward-) declaring unimplemented functions.
Usage
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();
Dependencies
~1.5MB
~38K SLoC