Skip to content

replace #[main] fn main() {} with #![rustest] or similar #19

@rursprung

Description

@rursprung

it feels a bit weird to have to add #[main] fn main() {}. having something along the lines of #![rustest] (or #![cfg_attr(test, rustest)] for unit tests) might be cleaner to read (and maintain longer-term?).

though maybe #13 will come up with a way where this isn't needed at all in the code and can instead be controlled via Cargo.toml?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions