Cook the rice and let it cool completely. Spread it on a wide plate to avoid clumping.
Heat oil in a pan. Add mustard seeds and let them splutter.
Add urad dal and chana dal. Sauté until golden.
Add peanuts and cashews. Fry until roasted.
Add red chilies, green chilies, and curry leaves. Sauté briefly.
Add turmeric and asafoetida. Stir well.
Add grated raw mango and sauté for 2–3 minutes until slightly soft.
Add salt and mix.
Add the cooled rice. Gently combine with the mango mixture.
Garnish with grated coconut and chopped coriander leaves. Serve warm or at room temperature.