-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extract the legacy support conformances out of BSONDecoding and into …
…a BSONLegacy module, to trim down binary size
- Loading branch information
1 parent
b20c0b4
commit 8f34dc8
Showing
10 changed files
with
64 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...Decoding/Legacy/BSON.AnyValue (ext).swift → Sources/BSONLegacy/BSON.AnyValue (ext).swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import BSON | ||
|
||
extension BSON.AnyValue:Decoder | ||
{ | ||
@inlinable public | ||
|
4 changes: 3 additions & 1 deletion
4
...ding/Legacy/BSON.KeyedDecoder.Super.swift → .../BSONLegacy/BSON.KeyedDecoder.Super.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ding/Legacy/BSON.SingleValueDecoder.swift → .../BSONLegacy/BSON.SingleValueDecoder.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 8 additions & 6 deletions
14
...ng/Legacy/BSON.UnkeyedDecoder.Index.swift → ...SONLegacy/BSON.UnkeyedDecoder.Index.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...Decoding/Legacy/BSON.UnkeyedDecoder.swift → Sources/BSONLegacy/BSON.UnkeyedDecoder.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import BSON | ||
|
||
extension BSON | ||
{ | ||
struct UnkeyedDecoder | ||
|
4 changes: 2 additions & 2 deletions
4
...s/BSONDecoding/Legacy/DecodingError.swift → Sources/BSONLegacy/DecodingError (ext).swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters