-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
56 lines (51 loc) · 1.48 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
50
51
52
53
54
55
56
[package]
name = "dgraph-tonic"
version = "0.11.0"
authors = ["Selmeci <[email protected]>"]
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.3"
async-trait = "0.1"
futures = "0.3"
http = "0.2"
hyper = "0.14"
hyper-rustls = { version = "0.23", features = ["http1", "http2", "webpki-tokio","tls12"] }
lazy_static = "1.4"
prost = "0.11"
rand = "0.8"
tokio-rustls = { version = "0.23", features = ["dangerous_configuration"], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0"
serde_json = "1.0"
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }
tonic = { version = "0.8", features = ["tls-webpki-roots"] }
tower = { version = "0.4" }
tracing = "0.1"
tracing-attributes = "0.1"
tracing-futures = "0.2"
webpki = { version = "0.22", optional = true }
[build-dependencies]
tonic-build = "0.8"
[features]
default = ["dgraph-1-1"]
all = ["acl", "default", "tls", "sync", "experimental", "slash-ql"]
acl = []
dgraph-1-0 = []
dgraph-1-1 = []
dgraph-21-03 = []
slash-ql = ["tls", "tokio-rustls", "webpki"]
sync = []
tls = []
experimental = []