diff --git a/Sources/ProjectSpec/Project.swift b/Sources/ProjectSpec/Project.swift index 2bef7874..b113c51c 100644 --- a/Sources/ProjectSpec/Project.swift +++ b/Sources/ProjectSpec/Project.swift @@ -132,7 +132,6 @@ extension Project: Equatable { extension Project { - @available(*, deprecated, message: "Use `Project.Spec` and `init(spec:basePath:)`.") public init(basePath: Path, jsonDictionary: JSONDictionary) throws { let spec = Project.Spec(relativePath: Path(), jsonDictionary: jsonDictionary) try self.init(spec: spec, basePath: basePath) diff --git a/Sources/ProjectSpec/SpecLoader.swift b/Sources/ProjectSpec/SpecLoader.swift index 504678d5..5744de60 100644 --- a/Sources/ProjectSpec/SpecLoader.swift +++ b/Sources/ProjectSpec/SpecLoader.swift @@ -11,7 +11,6 @@ extension Project { try self.init(spec: template, basePath: basePath) } - @available(*, deprecated, message: "Use `Project.Spec` for loading files from disk.") public static func loadDictionary(path: Path) throws -> JSONDictionary { return try Project.Spec(filename: path.lastComponent, basePath: path.parent()).jsonDictionary }