4#include <unordered_set>
6#include <userver/dynamic_config/snapshot.hpp>
7#include <userver/formats/json_fwd.hpp>
13struct BaggageSettings
final {
14 std::unordered_set<std::string> allowed_keys;
17BaggageSettings Parse(
const formats::
json::Value& value, formats::
parse::
To<BaggageSettings>);
19extern const dynamic_config::Key<BaggageSettings> kBaggageSettings;
21extern const dynamic_config::Key<
bool> kBaggageEnabled;