Skip to content

re-export num_traits #290

Open
Open
@benma

Description

@benma

BigUint::from_str_radix("aa", 16)

results in

help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use num_traits::Num;

So I need to add another explicit dependency num_traits and worry about setting its version correctly.

It would be great UX if the crate re-exported it and I could do:

use num_bigint::num_traits::Num;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions