The library spire.math 0.6.0 incorporates Rational class. Can use mainstream version from now on.