update for rust language/library changes