The rincon_connector provides the communication layer of the driver. Currently this crate provides one basic connector which uses JSON over HTTP or HTTPS. In the future also other connectors may be provided.
This crate is separated from the [rinconsession], [rinconsessionasync] and [rinconclient] crates for a flexible and modular design. This enables one to implement a custom connector with some sophisticated or project specific features with a minimum effort and combine it with the existing functionality.
The rincon_connector is part of the Rincon ArangoDB Rust driver project.
The [rinconconnector] [create] is needed regardless whether the session APIs provided by the [rinconsession] and [rinconsessionasync] crates or the low level API provided by the [rincon_client] are used.
Additionally to one of the mentioned crates add this to your Cargo.toml
:
toml
[dependencies]
rincon_connector = "0.1"
And this to your crate root:
rust
extern crate rincon_connector;
Licensed under Apache License, Version 2.0
see [LICENSE] or http://www.apache.org/licenses/LICENSE-2.0 for details.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.