It's written in Rust, so it's safe.

https://github.com/pingcap/tidb reports as 95% Go with no Rust at all?

That confused me too since I remember reading they are Rust proponents. Apparently their storage engine TiKV is written in Rust, and TiDB is the database built on top.