Toasting helps the nuts stay crisp when combined with moist ingredients. Toasting also brings out the fukk flavor of nuts. You can toast small amounts of nuts in a dry skillet over medium heat for just a few minutes stirring often.
Use your sense of smell to judge when they're toasted, and watch them closely. The smaller the pieces the faster they will roast. So don't leave them while they are toasting.