System Preferences Backend
defaults-rs
In order to automate the process for setting up System Preferences, instead of relying on the defaults command, cutler uses
the defaults-rs crate.
It communicates with the preferences daemon through the CoreFoundation API bindings in Rust. This is primarily known as the cfprefsd process inside macOS, which is used for setting, storing and caching preference and/or default key-value pairs.
You can view the source of the backend through the given links below. Consider contributing to make it even better for everyone!