update for current rust language/library changes.