{"id":24771222,"url":"https://github.com/ikesyo/swiftpmpackagetraitsexample1","last_synced_at":"2026-02-08T16:02:51.968Z","repository":{"id":271059125,"uuid":"912271456","full_name":"ikesyo/SwiftPMPackageTraitsExample1","owner":"ikesyo","description":"https://github.com/swiftlang/swift-evolution/blob/main/proposals/0450-swiftpm-package-traits.md","archived":false,"fork":false,"pushed_at":"2025-01-11T01:44:32.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-06T13:48:23.394Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ikesyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-05T04:54:58.000Z","updated_at":"2025-01-12T15:08:14.000Z","dependencies_parsed_at":"2025-01-05T07:21:55.424Z","dependency_job_id":"5a2871a2-7e4d-41d9-aa0f-00b157623486","html_url":"https://github.com/ikesyo/SwiftPMPackageTraitsExample1","commit_stats":null,"previous_names":["ikesyo/swiftpmpackagetraitsexample1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ikesyo/SwiftPMPackageTraitsExample1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikesyo%2FSwiftPMPackageTraitsExample1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikesyo%2FSwiftPMPackageTraitsExample1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikesyo%2FSwiftPMPackageTraitsExample1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikesyo%2FSwiftPMPackageTraitsExample1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ikesyo","download_url":"https://codeload.github.com/ikesyo/SwiftPMPackageTraitsExample1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikesyo%2FSwiftPMPackageTraitsExample1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29236137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T14:18:14.570Z","status":"ssl_error","status_checked_at":"2026-02-08T14:18:14.071Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-29T03:59:32.544Z","updated_at":"2026-02-08T16:02:51.946Z","avatar_url":"https://github.com/ikesyo.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftPMPackageTraitsExample1\nhttps://github.com/swiftlang/swift-evolution/blob/main/proposals/0450-swiftpm-package-traits.md\n\nDefault (no traits):\n\n```sh\n$ swift test\nTest Suite 'All tests' started at 2025-01-11 10:32:02.229.\nTest Suite 'All tests' passed at 2025-01-11 10:32:02.230.\n\t Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.001) seconds\n◇ Test run started.\n↳ Testing Library Version: 6.1 (a9f21aa1a8cd486)\n↳ Target Platform: arm64-apple-macosx\n◇ Test example() started.\n✔ Test example() passed after 0.001 seconds.\n✔ Test run with 1 test passed after 0.001 seconds.\n```\n\n\nFoo is enabled:\n\n```sh\n$ swift test --traits Foo\nTest Suite 'All tests' started at 2025-01-11 10:32:24.621.\nTest Suite 'All tests' passed at 2025-01-11 10:32:24.622.\n\t Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.001) seconds\n◇ Test run started.\n↳ Testing Library Version: 6.1 (a9f21aa1a8cd486)\n↳ Target Platform: arm64-apple-macosx\n◇ Test example() started.\nFoo is enabled: using Collections' OrderedSet\nOrderedSet: [\"Foo\", \"Bar\", \"Baz\"]\n✔ Test example() passed after 0.001 seconds.\n✔ Test run with 1 test passed after 0.001 seconds.\n```\n\n\nBar is enabled:\n\n```sh\n$ swift test --traits Bar\nTest Suite 'All tests' started at 2025-01-11 10:32:41.077.\nTest Suite 'All tests' passed at 2025-01-11 10:32:41.078.\n\t Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.001) seconds\n◇ Test run started.\n↳ Testing Library Version: 6.1 (a9f21aa1a8cd486)\n↳ Target Platform: arm64-apple-macosx\n◇ Test example() started.\nBar is enabled: using Numerics' Complex\nComplex: (1.0, 1.0)\n✔ Test example() passed after 0.001 seconds.\n✔ Test run with 1 test passed after 0.001 seconds.\n```\n\n\nFooBar is enabled:\n\n```sh\n$ swift test --traits FooBar\nTest Suite 'All tests' started at 2025-01-11 10:32:54.602.\nTest Suite 'All tests' passed at 2025-01-11 10:32:54.603.\n\t Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.001) seconds\n◇ Test run started.\n↳ Testing Library Version: 6.1 (a9f21aa1a8cd486)\n↳ Target Platform: arm64-apple-macosx\n◇ Test example() started.\nFoo is enabled: using Collections' OrderedSet\nOrderedSet: [\"Foo\", \"Bar\", \"Baz\"]\nBar is enabled: using Numerics' Complex\nComplex: (1.0, 1.0)\nFooBar is enabled\n✔ Test example() passed after 0.001 seconds.\n✔ Test run with 1 test passed after 0.001 seconds.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikesyo%2Fswiftpmpackagetraitsexample1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fikesyo%2Fswiftpmpackagetraitsexample1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikesyo%2Fswiftpmpackagetraitsexample1/lists"}