Native MongoDB driver for Swift, written in Swift. This library does not wrap around the mongoc driver. It uses:
- Our own BSON library, which is also 100% native Swift
- Our own MD5, SHA1, SCRAM and PBKDF2 libraries in 100% Swift (currently included in the package)
- Optional support for SSL/TLS using LibreSSL
Add this to your Package.swift
for the stable
.Package(url: "https://github.com/OpenKitten/MongoKitten.git", majorVersion: 3)
And import MongoKitten
in your project.
- SSL (MongoKitten 3)
- Sharded Clusters (MongoKitten 3)
- Replica Sets (MongoKitten 3)
- DBRefs (MongoKitten 3)
- GridFS
- Aggregates
- All basic MongoDB features
A MongoDB server (local or online) running MongoDB 2.6 or above.
We host all our documentation here.
To keep this project up and running we have a donation page set up here. If you add your email address we'll contact you and we'll put your photo underneath here.
MongoKitten is licensed under the MIT license.