danlehmann / arbitrary-int

A modern and lightweight implementation of arbitrary integers for Rust
MIT License
32 stars 13 forks source link

Implement formatting traits #21

Closed danlehmann closed 1 year ago

danlehmann commented 1 year ago

It is not currently possible to easily print arbitrary-ints through for example {:x}.

Ensure that all typical formatting operations are available

hecatia-elegua commented 1 year ago

https://github.com/rust-ux/uX/blob/31b5d11b884a77f4ed78db7a298526eca0fc80a4/src/lib.rs#L211

danlehmann commented 1 year ago

Thanks! Looks like a couple more are needed: Eq, PartialEq, Ord, Hash, Octal, Binary

danlehmann commented 1 year ago

Ord, PartialOrd, Eq, PartialEq are already done.

Need Octal, Binary, Hash