icedwright-probe 0.1.4

What an iced app links for icedwright: semantic annotations, typed test ids and named tasks, all pass-through unless a feature turns them on
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use icedwright_probe::TaskName;

#[derive(Debug)]
pub struct Note;
#[derive(Debug)]
pub struct ApiError;

icedwright_probe::task_name!(pub SaveNote: Result<Note, ApiError>);

fn main() {
    let _task = SaveNote::task(async { 3 });
}