I don't know how to initialize rust-analyzer (using rocks.nvim and mason.nvim)

It says “LSP Inactive” on my Lualine.
I’m not 100% sure if my lualine is correctly configured,
but I’m not seeing any warnings/errors in my rust files either.

~/.config/nvim/rocks.toml

[rocks]

# List of Neovim plugins to install alongside their versions.
# If the plugin name contains a dot then you must add quotes to the key name!
[plugins]
"rocks.nvim" = "2.42.2"
"mason.nvim" = "1.10.0"
"mason-lspconfig.nvim" = "1.31.0"
...
tree-sitter-markdown = "0.0.35"
tree-sitter-rust = "0.0.35"
tree-sitter-toml = "0.0.30"

/home/bas/.config/nvim/plugin/lsp/init.lua

-- LSP settings
require('mason').setup({
  ui = {
    icons = {
      package_installed = "",
      package_pending = "",
      package_uninstalled = "",
    },
  }
})
require('mason-lspconfig').setup()

:Mason

                                                                       mason.nvim 
                                                                    press g? for help
                                                        https://github.com/williamboman/mason.nvim
   (1) All   (2) LSP   (3) DAP   (4) Linter   (5) Formatter  

  Language Filter: press <C-f> to apply filter

  Installed
     codelldb
     rust-analyzer rust_analyzer
...

Solved.
The mason-lspconfig package helps setting it up the individual languages.

/home/bas/.config/nvim/plugin/lsp/init.lua

-- LSP settings
require('mason').setup({
  ui = {
    icons = {
      package_installed = "",
      package_pending = "",
      package_uninstalled = "",
    },
  }
})
require('mason-lspconfig').setup()

-- LSP languages
require'lspconfig'.rust_analyzer.setup{}