Cook the wild rice in salted water and some duck stock, if you have it. This should take 20 minutes in a pressure cooker at a high pressure, or you can cook it on the stove for longer. When the rice is done, set it aside to finish up the rest.
Gently saute the shallot, rosemary, thyme, and pecans in olive oil for about ten minutes. Towards the end, stir in the dried or fresh cooked cranberries, and finally, stir in the rice.
You can use this stuffing to actually stuff a duck or other fowl before roasting, or serve it separately as a side dish on its own.