Skip to content

Make i128 support optional #95

@dbeckwith

Description

@dbeckwith

In a similar vein to rust-num/num-traits#177 (fixed by rust-num/num-traits#185), it would be great if support for i128 could be made optional using a cargo feature. The new i128 feature would enable num-traits/i128 and num-integer/i128, and any code in num-rational using the i128 type would need to be conditionally compiled. Basically, add the same kind of i128 feature detection that num-traits and num-integer use, where it turns on the feature if either the cargo feature is enabled, or the probe detects i128 support.

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