Introduction

Warpgrapher is published as a Rust crate. There are crate features for each of the databases supported as a back-end. For Gremlin-based databases such as Apache Tinkerpop and Azure CosmosDB, use the gremlin feature.

[dependencies]
warpgrapher = { version = "0", features = ["gremlin"] }

For Cypher-based databases, such as AWS Neptune and Neo4j, use the cypher feature.

[dependencies]
warpgrapher = { version = "0", features = ["cypher"] }

The database features are not mutually exclusive, so building with both features enabled will not do any harm. However, only one database may be used for an instance of the Warpgrapher engine. Compiling with no database features selected will succeed, but the resulting engine will have sharply limited functionality, as it will have no ability to connect to a back-end storage mechanism.

Continue for a tutorial on using Warpgrapher to build a web service.