Hrvoje Nikšić
Hrvoje Nikšić
I have a function that expects `impl Error + Send + Sync + 'static`: ```rust fn a(_: impl std::error::Error + Send + Sync + 'static) { todo!() } ``` I...
Not sure where this should be reported, but I figured this crate might be a good starting point. Please let me know if it doesn't fit. While looking into an...
I tried using `FxHashMap` to improve performance of internal hash maps, but I noticed that it takes several times longer to deserialize a large hash map that we need to...
Is there a convenience method to convert owned value to owned `String`, like an owned version of `as_str()`. For example: ```rust let v: Value = json!("foo"); // in my case...
The `exec` family of functions replace the current process with the new one, thus programs that wish to spawn a child normally call `exec*()` soon after a `fork()`. Unfortunately, fork...
It appears that `python-modernize` doesn't convert `for k, v in d.items()` to `for k, v in list(d.items())`, assuming that the use of `items()` was an accident in Python 2. This...
The docs for `QuoteStyle::Never` say: > This _never_ writes quotes, even if it would produce invalid CSV data. Based on that, I would expect the following program to output a...
I have a TOML whose section contains an array of inline dicts: ``` [section] list-key = [ { path = "foo.jsonl", id_key = "id" }, { path = "bar.jsonl", id_key...
Is it possible to create a JSON object (i.e. Map) using the `json!()` macro? It seems to always produce a `serde_json::Value` which doesn't define a consuming conversion into `Map`. For...