It would be nice if both kem::Algorithm and sig::Algorithm would implement FromStr to make it easy to get a algorithm from the corresponding string. The return values from the name method of both enums could be the string to match against.
Is there already something similar that I'm missing?
It would be nice if both
kem::Algorithmandsig::Algorithmwould implementFromStrto make it easy to get a algorithm from the corresponding string. The return values from thenamemethod of both enums could be the string to match against.Is there already something similar that I'm missing?