Reimplementation of Dtgconf purely in Rust