#pragma once #include #include namespace vcpkg { struct triplet; struct dependency { std::string name; std::string qualifier; }; std::ostream& operator<<(std::ostream& os, const dependency& p); struct SourceParagraph { SourceParagraph(); explicit SourceParagraph(std::unordered_map fields); std::string name; std::string version; std::string description; std::string maintainer; std::vector depends; }; std::vector filter_dependencies(const std::vector& deps, const triplet& t); std::vector expand_qualified_dependencies(const std::vector& depends); std::vector parse_depends(const std::string& depends_string); }