forked from selmeci/dgraph-tonic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (44 loc) · 1.14 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "dgraph-tonic"
version = "0.8.1"
authors = ["Selmeci <selmeci.roman@gmail.com>"]
edition = "2018"
description = "A rust async/sync client for Dgraph database build with Tonic crate"
readme = "README.md"
license = "MIT"
keywords = ["dgraph", "grpc", "async", "sync"]
repository = "https://github.com/selmeci/dgraph-tonic"
homepage = "https://github.com/selmeci/dgraph-tonic"
exclude = [
"build.rs"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0"
async-stream = "0.2"
async-trait = "0.1"
futures = "0.3"
http = "0.2"
lazy_static = "1.4"
prost = "0.6"
rand = "0.7"
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0"
serde_json = "1.0"
thiserror = "1.0"
tokio = { version = "0.2", features = ["macros", "rt-core"] }
tonic = {version = "0.3", features = ["tls"]}
tracing = "0.1"
tracing-attributes = "0.1"
tracing-futures = "0.2"
[build-dependencies]
tonic-build = "0.2"
[features]
default = ["dgraph-1-1"]
all = ["acl", "default", "tls", "sync", "experimental"]
acl = []
dgraph-1-0 = []
dgraph-1-1 = []
sync = []
tls = []
experimental = []