This crate provides safe Rust bindings too [libryzenadj]https://crates.io/crates/libryzenadj
Adjusting values provided by that lib can lead to system instabilty/crashes or even break you hardware