summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buildtool/auth/TARGETS2
-rw-r--r--src/buildtool/auth/authentication.hpp9
2 files changed, 6 insertions, 5 deletions
diff --git a/src/buildtool/auth/TARGETS b/src/buildtool/auth/TARGETS
index a66aae44..f54b3cc2 100644
--- a/src/buildtool/auth/TARGETS
+++ b/src/buildtool/auth/TARGETS
@@ -3,7 +3,7 @@
, "name": ["auth"]
, "hdrs": ["authentication.hpp"]
, "deps":
- [ ["@", "gsl", "", "gsl"]
+ [ ["@", "fmt", "", "fmt"]
, ["src/buildtool/logging", "log_level"]
, ["src/buildtool/logging", "logging"]
, ["src/utils/cpp", "expected"]
diff --git a/src/buildtool/auth/authentication.hpp b/src/buildtool/auth/authentication.hpp
index ace2e60d..24c0cf93 100644
--- a/src/buildtool/auth/authentication.hpp
+++ b/src/buildtool/auth/authentication.hpp
@@ -15,17 +15,18 @@
#ifndef INCLUDED_SRC_BUILDTOOL_AUTH_AUTHENTICATION_HPP
#define INCLUDED_SRC_BUILDTOOL_AUTH_AUTHENTICATION_HPP
-#include <cerrno> // for errno
-#include <cstdint>
+#include <cerrno> // for errno
#include <cstring> // for strerror()
+#include <exception>
#include <filesystem>
#include <fstream>
+#include <iterator>
#include <optional>
-#include <streambuf>
#include <string>
#include <utility>
+#include <variant>
-#include "gsl/gsl"
+#include "fmt/core.h"
#include "src/buildtool/logging/log_level.hpp"
#include "src/buildtool/logging/logger.hpp"
#include "src/utils/cpp/expected.hpp"