If neither the client, nor the server feature is enabled the fields are unused and therefore trigger the dead_code lint.