pub fn write_library_config( path: &Path, cfg: &LibraryConfigCbor, ) -> Result<(), Box<dyn Error + Send + Sync>>