Need help with terminusdb-store?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

226 Stars 21 Forks Apache License 2.0 600 Commits 22 Opened issues


a tokio-enabled data store for triple data

Services available


Need anything else?

Contributors list

terminusdb-store, a tokio-enabled data store for triple data

Build Status Crate Documentation codecov


This library implements a way to store triple data - data that consists of a subject, predicate and an object, where object can either be some value, or a node (a string that can appear both in subject and object position).

An example of triple data is:

cow says value(moo).
duck says value(quack).
cow likes node(duck).
duck hates node(cow).
cow says value(moo)
is the subject,
is the predicate, and
is the object.


cow likes node(duck)
is the subject,
is the predicate, and
is the object.

terminusdb-store allows you to store a lot of such facts, and search through them efficiently.

This library is intended as a common base for anyone who wishes to build a database containing triple data. It makes very few assumptions on what valid data is, only focusing on the actual storage aspect.

This library is tokio-enabled. Any i/o and locking happens through futures, and as a result, many of the functions in this library return futures. These futures are intended to run on a tokio runtime, and many of them will fail outside of one. If you do not wish to use tokio, there's a small sync wrapper in

which embeds its own tokio runtime, exposing a purely synchronous API.


Add this to your

terminus-store = "0.19.2"

create a directory where you want the store to be, then open that store with

let store = terminus_store::open_directory_store("/path/to/store").await.unwrap();

Or use the sync wrapper:

let store = terminus_store::open_sync_directory_store("/path/to/store").unwrap();

For more information, visit the documentation on

See also the

directory for some basic examples.


We are constantly developing terminusdb-store to make it a high quality succinct graph representation versioned datastorage layer. To help facilitate understanding of our aims for this project we have laid out a Roadmap. If you would like to assist in the development of terminusdb-store, or you think something should be added to the roadmap please contact us.


terminus-store is licensed under Apache 2.0.



See also

  • The Terminus database, for which this library was written: Website - GitHub
  • Our prolog bindings for this library: terminusstoreprolog
  • The HDT format, which the terminusdb-store layer format is based on: Website

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.