Fixing byte compilation issues with use-package

When you call functions inside of a :config block with use-package, emacs will often throw byte-compilation warnings like the following:

the function ‘org-roam-db-autosync-mode’ might not be defined at runtime.

Fixing these is pretty straightforward: all you need to do is add the following lines to the use-package declaration:

:functions
org-roam-db-autosync-mode

For more details, see use-package#Byte-compiling.