Michal 'vorner' Vaner
Michal 'vorner' Vaner
Hello Let's say I want to deserialize some configuration using serde and something is broken (eg. missing field): ```rust use config::{Config, File, FileFormat}; use serde_derive::Deserialize; #[derive(Debug, Deserialize)] struct Inner {...
Hello I was wondering if it would be more user friendly to be able to accept a single value in config where the structure expects a sequence. In other words,...
Is there a way to merge two arrays by appending them instead of overwriting one with the other? Or how are sets that should be merged usually represented? By the...
Hello I find the git fixup commits quite useful. For those who are not used to them, this is how it works: * I create a pull request. * There...
Hello I know the compile-time regular expressions that were provided by regex-macros are no longer supported. I found them quite an interesting thing. I was wondering how much work it...
Hello If there's an error in syntax of regular expression, the `Display` of the `Error` tries to be helpful and outputs the original pattern with an arrow pointing to the...
Hello Some time ago I was trying to figure out if the domains below were rejected by the Rust url crate, it is tracked [here](https://github.com/servo/rust-url/issues/489). It seems this is maybe...
## Description I'd like to have some way to get a lightweight snapshot of part of the world state for later use. I'm not entirely sure about the form which...
## Description I wanted to make bunch of systems conditional (eg. running them only when the game is not paused). I thought I'd use the `DispatcherBuilder::with_batch` and decide if I...
Hello I've found out the `#[target_cfg]` attribute is somewhat unfriendly to macros provided by a library, for two reasons: * If I put that into a macro and use the...