Skip to content

Releases: selmeci/dgraph-tonic

feat: Client can be created with custom endpoint configuration

14 Mar 09:54
6c2e672
Compare
Choose a tag to compare

A client can also be initialized with custom endpoint configuration.

use dgraph_tonic::{Endpoint, EndpointConfig, Client};

use std::time::Duration;

#[derive(Debug, Default)]
struct EndpointWithTimeout {}

impl EndpointConfig for EndpointWithTimeout {
    fn configure_endpoint(&self, endpoint: Endpoint) -> Endpoint {
        endpoint.timeout(Duration::from_secs(5))
    }
}

fn main() {
  let endpoint_config = EndpointWithTimeout::default();
  let client = Client::new_with_endpoint_config("http://127.0.0.1:19080",endpoint_config).expect("Dgraph client");
}

fix: sync client features

08 Mar 10:35
Compare
Choose a tag to compare
v0.10.6

fix: remove misplaced feature flag in sync tls client

chore: update deps

02 Mar 19:40
Compare
Choose a tag to compare
v0.10.3

chore: update deps

Implement `login_into_namespace` for sync Acl client

21 Oct 13:06
Compare
Choose a tag to compare
v0.10.2

Implement `login_into_namespace` for sync Acl client

Implement login into namespace for Dgraph v21.03.x

20 Oct 14:52
51a106e
Compare
Choose a tag to compare
Merge pull request #37 from selmeci/feature/login_into_namespace

fix: Cargo audit issue

30 Dec 12:59
ae5caba
Compare
Choose a tag to compare
v0.10.0 (#35)

* Update cargo libs

* Support proto from v21.03.0 (experimental)

* Remove fail in cargo audit

Update dependencies - specifically, tokio, prost, and tonic

19 Jan 14:59
Compare
Choose a tag to compare
v0.9.0

Update version in README.md (again)

Export api::Metrics + api:::Latency and transport client for SlashQL

20 Dec 14:36
Compare
Choose a tag to compare
v0.8.6

Expose api Metrics and Latency structures

Add support for Slash GraphQL service over gRPC

12 Dec 12:49
Compare
Choose a tag to compare
v0.8.4

Fix tonic feature which block publishing of new version into crate.io

Implement get_txn_context for all transaction variants

30 Oct 17:14
6f348c2
Compare
Choose a tag to compare
Merge pull request #28 from selmeci/get_txn_context

Implement get_txn_context for all transaction variants