#from-str #try-from #impl #try-from-str #delegating

macro tryfrom-via-fromstr

Derive TryFrom by delegating to the FromStr impl

2 releases

0.1.1 May 13, 2023
0.1.0 May 13, 2023

#1415 in Procedural macros

MIT license

13KB
268 lines

A rust proc-macro for deriving TryFrom<&str> from FromStr.


lib.rs:

See [macro@tryfrom_via_fromstr] for examples.

Dependencies

~275–720KB
~17K SLoC