Crates.io | fauna |
lib.rs | fauna |
version | 0.1.0 |
source | src |
created_at | 2022-07-19 22:12:48.521685 |
updated_at | 2022-07-19 22:12:48.521685 |
description | A parser for the Fauna Query Language (FQL). |
homepage | https://docs.fauna.com/fauna/current/api/fql/ |
repository | https://github.com/fauna-labs/fauna-rs |
max_upload_size | |
id | 628556 |
size | 108,726 |
This repository contains unofficial patterns, sample code, or tools to help developers build more effectively with Fauna. All Fauna Labs repositories are provided “as-is” and without support. By using this repository or its contents, you agree that this repository may never be officially supported and moved to the Fauna organization.
This is a Rust driver to provides native handling of Fauna requests
Clone the repository
git clone https://github.com/fauna-labs/fauna-rs.git
Each file in the examples folder is an example that can be run. The examples use environment variable for Fauna key and domain, so export the variables in your shell
export FAUNA_KEY=YOUR_FAUNA_KEY
export FAUNA_DOMAIN=db.fauna.com
Then run the examples
cargo run --example [EXAMPLE NAME]
Include the crate as a local dependency in your Cargo.toml
file.
# Cargo.toml
[dependencies]
fauna = { path = "path/to/fauna-rs" }
...