bb8-arangodb
ArangoDB support for bb8 based on the arangors crate.
The library supports all authentication methods supported by arangors,
defined by AuthenticationMethod.
Installing
Make sure to add bb8 and bb8-arangodb to your Cargo.toml, like:
[]
= "0.8"
= "0.1"
= "0.5"
Example
use Pool;
use ;
use ReqwestClient;
use join_all;
async
Running tests
To run tests, you'll need ArangoDB running locally. To run tests using docker, execute the following commands after cloning the repository:
# Starting ArangoDB in a detached docker container
docker run -d -p 8529:8529 -e ARANGO_ROOT_PASSWORD=openSesame --name arangodb arangodb/arangodb:3.10.0
# Wait some seconds to let ArangoDB start and run tests
cargo test
# Stop and remove the ArangoDB container
docker stop arangodb && docker rm arangodb
Releases
Detailed release notes are available in this repo at CHANGELOG.md.
Reporting issues
Found a bug? We'd love to know about it!
Please report all issues on the GitHub issue tracker.
Contributing
See the [bb8-arangodb Contributor Guide] for a complete introduction
to contributing to bb8-arangodb.
License
bb8-arangodb is primarily distributed under the terms of both the MIT license
and the Apache License (Version 2.0).
See LICENSE-MIT and LICENSE-APACHE for details.