David Tolnay
David Tolnay
Neither Travis CI nor AppVeyor is building this project. Furthermore, badges functionality has been deprecated by crates.io since 4 years ago.
This PR pulls in https://github.com/trishume/syntect/pull/511 and https://github.com/niklasmohrin/clircle/pull/12 to improve bat compile time by 20%. (`bat` is on the critical path for `cargo-expand`'s build, so I am interested in this PR...
See [this use case](https://www.reddit.com/r/rust/comments/5rwe3w/new_in_serde_096_untagged_and_internally_tagged/ddaq5lf/). > Would the internally tagged enum support allow me to handle schema versioning defined like this? > > ``` > { > "schema_version": 1, > ......
```rust #[macro_use] extern crate serde_derive; extern crate serde_json; #[derive(Deserialize, Debug)] struct S { a: u8, } fn main() { println!("{}", serde_json::from_str::("[0, 0]").unwrap_err()); } ``` > trailing characters at line 1...
https://github.com/serde-rs/serde/issues/2366 has measurements of the build speed regression in serde. If serde goes forward with `?`, serde_json most likely should follow.
When running `bazel sync` under `examples/crate_universe`, it produces the following output: ```console DEBUG: Rule 'crate_index_cargo_bindeps' indicated that a canonical reproducible form can be obtained by modifying arguments lockfile = Label("//cargo_bindeps:cargo-bazel-lock.json")...
I am working on parsing a TokenStream in a procedural macro using LALRPOP with [`proc_macro::Span`](https://doc.rust-lang.org/proc_macro/struct.Span.html) as my Location, but there is no Default impl. Would it be possible to provide...
I have the following TOML file: ```toml # thing.toml space="none" ``` Running `taplo format --diff thing.toml` produces the following output on stdout, as expected (modulo #415): ```diff diff a//git/repro/taplo/thing.toml b//git/repro/taplo/thing.toml...
Minimized from https://github.com/rust-lang/rust/blob/1.74.0/library/core/src/num/nonzero.rs#L341-L342. ```rust macro_rules! repro { () => { #[doc = concat!("let var = ", "false;")] fn f() {} }; } ``` As of current master, rustfmt applies the...