Skip to content

feat: More Rust idiomatic, type safe API #20

@DougAnderson444

Description

@DougAnderson444

This is more of a minor issue, but helps with using the crate.

Right now the crate deals with a lot of primitive values that could be typed to make it more type safe, which results in a clear API which is less error prone (or not prone to user error at all).

Also little things like using get_ getters aren't idiomatic Rust and can be improved for readability.

Feature would be to type the API such that we gain these benefits.

Happy to submit a Pull Request for this

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