Iron(III) Oxide
Iron(III) Oxide
## Feature Request ### Motivation Reduce noise in the code ### Proposal The code would look cleaner if I could write like this: ``` rust use std::str::FromStr; use anyhow::Context; use...
Serde has this functionality: ``` use std::collections::HashSet; fn main() { let var: HashSet = serde_json::from_str("[\"hello\"]").unwrap(); dbg!(&var); } ``` Do you have something similar in rkyv? I couldn't find it
`.try_collect()` is for turning `Iterator` into `Result`. Can you create an equivalent method that turns `Iterator` into `Option`? Or perhaps implement it as a generic, as part of `try_collect()`? The...
Same as `try_collect()` except that I don't have to specify Vec as a type parameter
Add `round_to_digit` method to `Float` trait. # Example usage ``` let full_float = 12.34567; let rounded_float = full_float.round_to_digit(2); assert_eq!(rounded_float, 12.35); ```
https://github.com/rust-lang-nursery/lazy-static.rs/issues/19#issue-73125355 I'm reopening this issue posted by another user, since it wasn't actually solved and I'm having a similar problem
## The following doesn't work, but would be great if it did: `.env`: ``` dotenv KEY1=hello JSON_VAL_ONELINE='[{"unit": 1,"eid": 1,"label": "Label1","uid": "00000000-0000-0000-0000-000000000001","path": "/tmp/path/1",},"unit": 2,"eid": 2,"label": "Label2","uid": "00000000-0000-0000-0000-000000000002","path": "/tmp/path/2",},"unit": 3,"eid": 3,"label": "Label3","uid":...
I have a struct containing a `serde_json::Value` field like this: ``` use dbg_pls::{color, DebugPls}; use serde_json::Value; fn main() { let expr = Structer::default(); color!(expr); } #[derive(Default, Clone, DebugPls)] struct Structer...
I found this [cool crate](https://crates.io/crates/dbg-pls) that offers a colored version of [dbg!()](https://doc.rust-lang.org/std/macro.dbg.html) called [color!()](https://docs.rs/dbg-pls/0.4.3/dbg_pls/macro.color.html). Unfortunately, it doesn't integrate with all other crates because most people aren't aware of this crate...
**Is your feature request related to a problem? Please describe.** I'm trying to create a test that runs for X amount of time. if no errors occur within this time,...