Just published v1.0.0 of a single-purpose #rustlang crate, `conv`! Read about it here: https://myrrlyn.net/crates/conv
This crates lets you call `.into()` without making intermediate bindings or hitting compiler errors! I'd eventually like it to land in `core`, if it is well liked.
-
-
AUGH I forgot how to use Cargo Thanks (I feel like this should warn?)
-
Also you'll want to toss a `#![no_std]` in there or else you're linking std no matter what. Once you do that you can remove the explicit `extern crate core; use core::convert::From` because From is in the core prelude.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.