Closed saona-raimundo closed 5 months ago
Hi @saona-raimundo, Sure, PRs are welcome. Otherwise, we may add that into the next release.
I opened an issue in the num
crate as its dependencies should be updated to export these traits directly.
This way we do not add a direct dependency to num-traits
in fraction
.
Hi @saona-raimundo,
Thank you for the contribution! It is released as a part of 0.15.2
.
Thanks for the work!
I wanted to point out that there are two more traits to implement from the num_traits. num_traits::identities::ConstOne and num_traits::identities::ConstZero
I would do a PR if you accept implementing these. They should be the same as the respective
One
andZero
traits implementation.