I started covering my seedlings at night with plastic bottles cut in half. My garden is small, so it's not too much effort. Once the plants get bigger and toughen up a little, the slugs don't go after them as much.
There seems to be fewer slugs this year. Maybe the population has shrunk in the heat, or they're looking for food under the shrubs because they don't like crawling out to the garden over the scorched and prickly grass.
I've had luck this year doing a barren dirt barrier which probably resembled the Sahara with the recent high heat. A couple years back I put fallen maple leaves to decompose in my raised beds, and I think introduced slugs that still plague me! Seemed like a good idea at the time.
If you too have bravely bare hand picked off slugs and then been amazed by the sticky yet slippery sliminess of slug slime and thought, there must be a use for this! Hard to wash off but no odor or irritation. it is inspiring some fine minds, circa 2017.
"A defensive mucus secreted by slugs has inspired a new kind of adhesive that could transform medicine, say scientists.
The "bio-glue" is incredibly strong, moves with the body and crucially, sticks to wet surfaces.
The team at Harvard University have even used it to seal a hole in a pig's heart."
https://www.bbc.com/news/health-40730875