todop

Crates.iotodop
lib.rstodop
version1.0.0
created_at2025-04-18 10:43:41.204694+00
updated_at2025-04-18 10:43:41.204694+00
descriptionA simple proc-macro for (forward-) declaring unimplemented functions.
homepagehttps://github.com/kjughx/todop
repositoryhttps://github.com/kjughx/todop
max_upload_size
id1639200
size3,262
Philip Johansson (kjughx)

documentation

https://docs.rs/todop

README

[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();
Commit count: 1

cargo fmt