Package: wnpp
Severity: wishlist
Owner: Nicolas Peugnet <nico...@club1.fr>

* Package name    : golang-fortio-safecast
  Version         : 1.0.0-1
  Upstream Author : Fortio (Φορτίο)
* URL             : https://github.com/fortio/safecast
* License         : Apache-2.0
  Programming Lang: Go
  Description     : Go library for number type conversions safe from accidental 
overflow

 Avoid accidental overflow of numbers during go type conversions (e.g
 instead of shorter := bigger.(int8) type conversions use shorter :=
 safecast.MustConvert[int8](bigger).
 .
 Safecast allows one to safely convert between numeric types in Go and
 return errors (or panic when using the Must* variants) when the cast
 would result in a loss of precision, range or sign.

This is a dependency of arduino-cli (#1100073).

Reply via email to