A new type to create emails and validate them.
let email: Email = "gamalal3yk@gmail.com"
{ "name": "Email", "path": "/usr/src/package", "targets": [ { "name": "EmailTests", "path": "/usr/src/package/Tests/EmailTests", "type": "test", "c99name": "EmailTests", "sources": [ "EmailTests.swift", "XCTestManifests.swift" ], "module_type": "SwiftTarget" }, { "name": "Email", "path": "/usr/src/package/Sources", "type": "library", "c99name": "Email", "sources": [ "Email/Email.swift" ], "module_type": "SwiftTarget" } ] }
{ "name": "Email", "targets": [ { "name": "Email", "path": "Sources", "type": "regular", "exclude": [], "settings": [], "resources": [], "dependencies": [] }, { "name": "EmailTests", "type": "test", "exclude": [], "settings": [], "resources": [], "dependencies": [ { "byName": [ "Email" ] } ] } ], "products": [ { "name": "Email", "type": { "library": [ "dynamic" ] }, "targets": [ "Email" ] } ], "pkgConfig": null, "platforms": [ { "version": "10.0", "platformName": "ios" } ], "providers": null, "dependencies": [], "toolsVersion": { "_version": "5.1.0" }, "cLanguageStandard": null, "cxxLanguageStandard": null, "swiftLanguageVersions": [ "5" ] }
{ "url": "/usr/src/package", "name": "Email", "path": "/usr/src/package", "version": "unspecified", "dependencies": [] }