twitch-rs / twitch_api

Rust library for talking with the Twitch API aka. "Helix", TMI and more! Use Twitch endpoints fearlessly!
Apache License 2.0
149 stars 32 forks source link

Only add serde derives on `serde` feature, making `serde` dependency optional #204

Open Emilgardis opened 3 years ago

Emilgardis commented 3 years ago

This is mainly to make it less "heavy" to use the library with only the types module, with no need for serialization. May not do this, but it could be good to have.

Emilgardis commented 1 year ago

Maybe miniserde or serde-lite could help?

miniserde doesn't have all the features we're using currently but serde-lite could maybe be interesting, but doesn't either have all the features we use

_Originally posted by @Emilgardis in https://github.com/twitch-rs/twitch_api/issues/211#issuecomment-1509755110_