David Tolnay
David Tolnay
The Display behavior for strings is inconsistent with the behavior for other JsonValue variants. The others all display in JSON form. ```rust #[macro_use] extern crate json; fn main() { println!("{}",...
It has been deprecated: [announcement](https://users.rust-lang.org/t/deprecation-of-rustc-serialize/10485?u=dtolnay). Looks like this is blocked by https://github.com/docopt/docopt.rs/issues/128. I will follow up in this issue when they have a new release ready.
In what cases is it possible for https://docs.rs/codespan-reporting/0.6.0/codespan_reporting/term/fn.emit.html to return an error? I see that the error type is std::io::Error; is it guaranteed to be *only* if a write to...
Every crate on crates.io is for Rust :smile: no reason for the -rs suffix.
Without this, importing any other crate's `Result` type alias in a module that uses cpython's macros causes compilation to fail in a variety of interesting ways. Repro: ```rust use cpython::{py_class,...
Sometimes the `py` parameter of `py_class!` is only used in some class methods and not others. The current implementation of cpython's macros makes Rust produce a warning in this situation,...
I would like numbers to work in const_concat. ```rust const S: &str = "abc"; const N: u32 = 123; const C: &str = const_concat!(S, ", ", N); // "abc, 123"...
When running `make -f minicargo.mk output/cargo`, one of the commands mrustc 0.9 tries to run is: ```bash "x86_64-linux-gnu-gcc" "-ffunction-sections" "-pthread" "-O2" "-g" "-fPIC" "-o" "output/cargo-build/cargo" "output/cargo-build/cargo.c" "output/cargo-build/libvec_map-0_8_1.rlib.o" "output/cargo-build/libutf8_ranges-1_0_0.rlib.o" "output/cargo-build/liburl-1_7_1.rlib.o" "output/libunwind.rlib.o"...
https://github.com/koute/stdweb/blob/3c8f62f06fc884778409ea79a9fb3f4f2a1c1972/src/lib.rs#L113-L116 This feature was stabilized as part of the macro-related stabilizations in Rust 1.30 so `feature(use_extern_macros)` is no longer needed. Came up in https://github.com/bodil/typed-html/issues/6.
Often a type implements Display and FromStr but not Serialize and Deserialize. The module from https://github.com/serde-rs/json/issues/329#issuecomment-305608405 should work. ```rust #[macro_use] extern crate serde_derive; extern crate serde; extern crate serde_json; use...