FuelLabs / fuelup

⛽ The Fuel toolchain installer
https://fuellabs.github.io/fuelup/latest
Apache License 2.0
280 stars 143 forks source link

implement `Deserialize` for `Channel` #343

Open eightfilms opened 1 year ago

eightfilms commented 1 year ago

An alternative to providing a function like this is to implement Deserialize for Channel manually. This can be useful if Channel is used in some other serializable type and we want it to have the same serialization behaviour there too. Not important in this case, just a tip!

_Originally posted by @mitchmindtree in https://github.com/FuelLabs/fuelup/pull/335#discussion_r1070858715_

Samped commented 8 months ago

Good one