Combine the sliced zucchini and onion in a large bowl. Cover with 1 inch of water, add the canning or pickling salt, and stir to distribute. Let stand 2 hours, then drain thoroughly. Do not rinse.
If canning, prepare a waterbath canner, jars, lids and rings.
Combine the vinegar, sugar, mustard seed, celery seed, and ground turmeric in a large stainless steel or enameled pot.
Bring to a boil, add the drained zucchini and onion, and simmer for 5 minutes.
Working quickly, fill the prepared hot jars with the vegetables and pickling liquid, leaving 1/2 inch headspace.
Remove air bubbles using a wooden chopstick or plastic utensil and adjust the headspace if needed. Wipe the rims, center the lids, and apply the bands to fingertip tight.
Process pints or quarts in a boiling water bath canner for 10 minutes, adjusting for altitude (see notes).
When the timer goes off, turn off the heat and let the jars stand in the canner for 5 minutes before removing them to a towel-lined surface.
Give the jars 12 to 24 hours to cool undisturbed to room temperature.
Check the seals on each jar (a sealed lid is flat or slightly concave and doesn't flex when pressed), remove the bands, and store in a cool, dark place. Refrigerate any jar that didn't seal and enjoy it within a couple of weeks.