This library provides high-level bindings to EJDB, an Embedded JSON Database engine.
EJDB is a document-oriented NoSQL embedded database, very similar to MongoDB. It allows storing, querying and manipulation of collections of BSON documents. It has MongoDB-like query language, collection-level transactions and typed indices.
This library attempts to provide idiomatic and safe Rust bindings to EJDB. It exposes all main features of EJDB: databases, collections, queries, transactions, indices and metadata.
See crate documentation for usage examples.
Add a dependency in your Cargo.toml
:
[dependencies]
ejdb = "0.3"
To build the library, you need to have libejdb installed and its pkg-config file available in the correct place for your operating system. Usually this requires just to install the respective package using your system's native package manager.
- Bumped the
bson
dependency version.
- Bumped versions of various dependencies.
- Improved
bson!
macro to support optional values.
- Made
Database
implementSend
.
- Initial release.
This library is provided under MIT license.