cazgp / ejdb.rs

Bindings for Embedded JSON Database library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ejdb.rs, high-level bindings for Embedded JSON Database engine

Build Status crates.io

Documentation

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.

Usage

Add a dependency in your Cargo.toml:

[dependencies]
ejdb = "0.2"

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.

Changelog

Version 0.2.0

  • Bumped versions of various dependencies.

Version 0.1.2

  • Improved bson! macro to support optional values.

Version 0.1.1

  • Made Database implement Send.

Version 0.1.0

  • Initial release.

License

This library is provided under MIT license.

About

Bindings for Embedded JSON Database library

License:MIT License


Languages

Language:Rust 100.0%Language:Shell 0.0%