Releases: selmeci/dgraph-tonic
Releases · selmeci/dgraph-tonic
feat: Client can be created with custom endpoint configuration
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
v0.10.6 fix: remove misplaced feature flag in sync tls client
chore: update deps
v0.10.3 chore: update deps
Implement `login_into_namespace` for sync Acl client
v0.10.2 Implement `login_into_namespace` for sync Acl client
Implement login into namespace for Dgraph v21.03.x
Merge pull request #37 from selmeci/feature/login_into_namespace
fix: Cargo audit issue
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
v0.9.0 Update version in README.md (again)
Export api::Metrics + api:::Latency and transport client for SlashQL
v0.8.6 Expose api Metrics and Latency structures
Add support for Slash GraphQL service over gRPC
v0.8.4 Fix tonic feature which block publishing of new version into crate.io
Implement get_txn_context for all transaction variants
Merge pull request #28 from selmeci/get_txn_context Implement get_txn_context for all transaction variants