Rasterize a SwiftUI view into an image.
{ "name": "Raster", "path": "/usr/src/package", "targets": [ { "name": "RasterTests", "path": "/usr/src/package/Tests/RasterTests", "type": "test", "c99name": "RasterTests", "sources": [ "RasterTests.swift", "XCTestManifests.swift" ], "module_type": "SwiftTarget" }, { "name": "Raster", "path": "/usr/src/package/Sources/Raster", "type": "library", "c99name": "Raster", "sources": [ "Raster.swift" ], "module_type": "SwiftTarget" } ] }
{ "name": "Raster", "targets": [ { "name": "Raster", "type": "regular", "exclude": [], "settings": [], "resources": [], "dependencies": [] }, { "name": "RasterTests", "type": "test", "exclude": [], "settings": [], "resources": [], "dependencies": [ { "byName": [ "Raster", null ] }, { "byName": [ "SnapshotTesting", null ] } ] } ], "products": [ { "name": "Raster", "type": { "library": [ "automatic" ] }, "targets": [ "Raster" ] } ], "pkgConfig": null, "platforms": [ { "options": [], "version": "11.0", "platformName": "macos" } ], "providers": null, "dependencies": [ { "url": "https://github.com/pointfreeco/swift-snapshot-testing.git", "name": "SnapshotTesting", "requirement": { "range": [ { "lowerBound": "1.8.1", "upperBound": "2.0.0" } ] }, "explicitName": "SnapshotTesting" } ], "toolsVersion": { "_version": "5.3.0" }, "cLanguageStandard": null, "cxxLanguageStandard": null, "swiftLanguageVersions": null }
{ "url": "/usr/src/package", "name": "Raster", "path": "/usr/src/package", "version": "unspecified", "dependencies": [ { "url": "https://github.com/pointfreeco/swift-snapshot-testing.git", "name": "SnapshotTesting", "path": "/usr/src/package/.build/checkouts/swift-snapshot-testing", "version": "1.8.2", "dependencies": [] } ] }