kangalio

Results 245 comments of kangalio
trafficstars

Another use case: Discord API libraries [serenity](https://github.com/serenity-rs/serenity) and [twilight](https://github.com/twilight-rs/twilight). Some JSON payloads omit important data from nested objects because it can be inferred from top-level fields. But when deserializing into...

Yes, this seems to be a duplicate of #2200

> I want to be able to get configuration from a file, where individual fields can also be presented as environment variables. > > The closest things to what I...

I think this PR is obsolete in favor of #2056

Make sure you're running the example with `default-features = false` for serenity, so that only the necessary features are enabled. For reference, see the included Cargo.toml in e14_slash_commands

> I'm running the example directly. So you're running `cargo run` inside the `serenity/examples/e14_slash_commands/` folder? Because that should work (I just tested too)

Clean diff here: https://github.com/serenity-rs/serenity/compare/5edbf0b3a720c528394a5d88325cb2ec804ae31b...GnomedDev:serenity:cleanup-http Currently blocked on @GnomedDev reviewing https://github.com/GnomedDev/serenity/pull/1 I believe?

This should be fixed on next now, although I currently cannot test it myself