pub fn minor_of(v: &str) -> &str
版の名前の小数第 1 位まで(0.5.0-dev・0.5.0-rc.1・0.5.1 → 0.5)。接尾辞(-・+ から後)は落とす
0.5.0-dev
0.5.0-rc.1
0.5.1
0.5
-
+