create static method
Implementation
static Future<RustupInstaller> create({Logger? logger}) {
if (Platform.isWindows) {
return _WindowsRustupInstaller.prepare(logger: logger);
} else {
return _UnixRustupInstaller.prepare(logger: logger);
}
}