1 unstable release
Uses old Rust 2015
0.1.0 | Apr 15, 2018 |
---|
#5 in #typesafe
Used in 4 crates
155KB
3K
SLoC
Rincon Connector
The rincon_connector crate 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 rincon_session, rincon_session_async and rincon_client 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 crate is part of the Rincon ArangoDB Rust driver project.
Usage
The rincon_connector [create] is needed regardless whether the session APIs provided by the rincon_session and rincon_session_async 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
:
[dependencies]
rincon_connector = "0.1"
And this to your crate root:
extern crate rincon_connector;
License
Licensed under Apache License, Version 2.0
see LICENSE or http://www.apache.org/licenses/LICENSE-2.0 for details.
Contribution
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.
Dependencies
~13–22MB
~350K SLoC