Preheat oven to 375°F. Lightly grease a mini muffin pan.
Unroll crescent roll dough and cut into 24 equal squares.
Place one square into each mini muffin cup, pressing gently to form a cup.
Cut Brie into small cubes and place one piece into each dough cup.
Top each with a spoonful of cranberry sauce.
Sprinkle chopped pecans over the top, if using.
Bake for 12-15 minutes or until golden and bubbly.
Remove from oven and cool slightly before garnishing with fresh rosemary.