You can use dry rubs on vegetables too. Use them to season the vegetables after cooking as you would salt or toss, spray, or lightly coat the vegetables with a little oil and toss with the dry rub before cooking. Be careful with high heat as you don't want to burn the spices.