Spiced Apple Chutney
Ingredients for about 2 1/2 cups:
1 1/2 cups white sugar
1 1/2 cups white vinegar
4 apples, peeled, 1/2-inch cubes
1/4 cup diced dried apricots
1/4 cup golden raisins
1/4 cup diced shallots or red onion
5 thick slices ginger
1/4 tsp red chili flakes, or to taste
1 whole star anise
1 tsp kosher salt, or to taste
1/2 tsp yellow mustard seeds
2 cloves minced garlic