rust-conv icon indicating copy to clipboard operation
rust-conv copied to clipboard

Conversion traits for Rust

Results 8 rust-conv issues
Sort by recently updated
recently updated
newest added

Are there any post Rust 2021 edition plans for this crate? `TryFrom` and `TryInto` are particularly tricksy, because the prelude includes it's own variants, so the code required to use...

Hi! Version 0.3.4 was tagged a while back, but `crates.io` still only has version 0.3.3. Would it be possible to publish version 0.3.4? Thanks!

Would you be open to a PR that adds `SaturatingInto` / `SaturatingFrom` traits? Eg: ```rust trait SaturatingInto { fn saturating_into(self) -> T; } impl SaturatingFrom for u64 { fn saturating_from(self)...

as macro-attr supersedes custom_derive. ref #13

Hi I'm working on packaging this project for inclusion into Debian, and noticed that it depends on an outdated dependency custom-derive that has been superceded by macro-attr. Would you be...

`f64::approx_from(usize)` works on 64 bit systems but seems to fail on 32 bit systems. See https://github.com/vks/average/issues/3.

The ranges of float-to-integer conversions appear to be inconsistent with all approximation schemes except `RoundToNegInf`. For example, consider `RoundToZero`, which rounds - `255.5` to `255` - `-255.5` to `-255` Yet,...

docs redirect to this page: https://docs.rs/conv/*/conv/index.html but if you actually click on any of the links then the links lead you to another crate: https://danielkeep.github.io/rust-scan-rules/doc/scan_rules/index.html aka https://docs.rs/scan-rules/*/scan_rules/index.html also, it seems...