remove usage of rustpkg