All Rust commits from Facepunch
Changed to using the shadow strength directly as the shadow caching flag