Vidhan Bhatt

Results 30 comments of Vidhan Bhatt

you could just ```go cp_log.Info().Str("sessionKey", "bef5cc5a5fad3332a0c5fb359c71cc48").Str("ip", "192.168.0.111").Msg("") ```

also, if wanted i could update `bench/src/bench.rs` to use `once_cell` instead of `lazy_static` as well.

I've written my own derive macro for this in the style of `clap`. https://github.com/vidhanio/serenity-commands Extremely intuitive to use: ```rust use serenity::all::{ async_trait, Client, Context, CreateInteractionResponse, CreateInteractionResponseMessage, EventHandler, GatewayIntents, GuildId, Interaction,...

> You should see poise, it is under the serenity organisation now and is widely used. I have tried out poise and found it pretty good, but I ended up...

what would it hypothetically de/serialize to/from?

this would seem like unexpected behaviour imo, it's not immediately understandable why/how it de/serializes. why would a `#[serde(with = "serde_ordering")]` not suffice? ```rust mod serde_ordering { use std::cmp::Ordering; use serde::{...

> Thanks @vidhanio! > > > > I remember playing with the `syn` parser and getting stuck on diagnostics. So I'm glad that you found a solution for that. >...

> I didn't get this to work. Are there any other settings you changed? ah yes, i forgot to mention this, i just realized. ```json { "tailwindCSS.includeLanguages": { "rust": "html"...

sorry for the late reply, studying for a midterm 😅 just a question to confirm my intuition, this solution would not provide compile time type safety, correct? i assume this...

It seems to be written as "Values need to be a self-delineating value e.g. arrays, objects, or strings, or be followed by whitespace or a self-delineating value." It just needs...