Cook the rice with lots of water. Later drain the water after rice is cooked and place it aside. You could also steam the rice in a pressure cooker instead. Use a ratio of 1:1.5cup of water for every cup of rice.
Place a pan over medium heat add oil. As the oil heats up, add peanuts and cashews. Fry them to a crispy consistency.
Add mustard and cumin seeds and saute them until they start to sizzle. Now, add dry red chilies and curry leaves and saute for another 30 seconds.
Add grated turmeric, ginger, and chopped green chilies and cook for a minute.
Add salt to taste and mix in the cooked rice. Give it a good mix until the flavor is evenly distributed.
Switch off the heat and squeeze some fresh lemon juice.