-
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.
* update deps * simplify representation of network errors and remove some useless adapter types, fix a potential crash when resuming a CheckedThrowingContinuation more than once * format and lint * mark Mongo.NamespaceError as deprecated * setup swiftformat * format redundant return * sort imports * linebreak overlong doccoments * migrate the MongoWire module to the Mongo namespace * turn BSON.AnyType into its own type instead of overloading the namespace * modernize BSONTests * modernize BSONEncodingTests * modernize BSONDecodingTests * consolidate the various BSON modules under the BSON umbrella module * rename BSON.Field -> BSON.FieldEncoder * introduce the better-typed Mongo.InsertEncoder, Mongo.UpdateEncoder, and Mongo.DeleteEncoder types * add a typed encoding API to Mongo.InsertEncoder * add PAT to MongoMasterCodingModel * upgrade dep requirements * modernize the last test (OnlineCDFTests) * fix most of the documentation warnings * curate the BSONABI types
- Loading branch information
1 parent
7c07cf7
commit 7b75d55
Showing
432 changed files
with
4,802 additions
and
4,424 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--rules braces,redundantSelf,duplicateImports,linebreakAtEndOfFile,redundantReturn,sortImports | ||
--swiftversion 5.9.1 | ||
--allman true | ||
--self insert |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# ``/BSON`` | ||
|
||
An umbrella module providing a BSON parser, encoder, and decoder. | ||
|
||
## Linking the BSON libraries | ||
|
||
This module re-exports the ``BSONABI``, ``BSONEncoding``, and ``BSONDecoding`` modules. Importing them directly is discouraged. | ||
|
||
Some BSON modules (currently ``BSONReflection`` and ``BSONTesting``) are considered ancillary and are not included in this umbrella module. |
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,2 +1,3 @@ | ||
@_exported import BSONStreaming | ||
@_exported import BSONTypes | ||
@_exported import BSONABI | ||
@_exported import BSONDecoding | ||
@_exported import BSONEncoding |
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
Oops, something went wrong.