@@ -27,7 +27,7 @@ for example is capable of running on top of `URLSession`, `AsyncHTTPClient`,
27
27
` Hummingbird ` or ` Vapor ` . To avoid bringing all of those potential dependencies
28
28
into every adopters binary, the project has created individual repositories for
29
29
each transport. This achieves the goal of making the dependencies optional;
30
- however, it requires users to discovery those adjacent repositories and add
30
+ however, it requires users to discover those adjacent repositories and add
31
31
additional dependencies to their project.
32
32
33
33
### Configurable behavior
@@ -87,7 +87,7 @@ let package = Package(
87
87
)
88
88
```
89
89
90
- When depending on a package the default trait is enabled. However, the enabled
90
+ When depending on a package the ` default ` trait is enabled. However, the enabled
91
91
traits can be customized by passing a set of enabled traits when declaring the
92
92
dependency. When specifying the enabled traits of the dependencies the
93
93
` .default ` trait can be passed which will enable the default trait. The below
@@ -634,6 +634,10 @@ A lot of the other considered names have other meanings in the language already.
634
634
For example ` feature ` is already used in expressing compiler feature via
635
635
` enable[Upcoming|Experimental]Feature ` and the ` hasFeature ` check.
636
636
637
+ _ Package traits_ are also consistent with [ the "traits" concept in the
638
+ ` swift-testing `
639
+ library] ( https://github.com/apple/swift-testing/blob/25d0eed9b339de36365ff16deb9a3d9c64322f1c/Sources/Testing/Traits/Trait.swift#L22 ) .
640
+
637
641
### Using SPI instead
638
642
639
643
During the investigation how to solve the optional dependency problem ` @_spi `
0 commit comments