-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCargo.toml
40 lines (36 loc) · 967 Bytes
/
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
[package]
name = "dgraph"
version = "0.4.0"
authors = ["Swoorup Joshi"]
description = "A rust client for Dgraph database"
readme = "README.md"
license = "MIT"
keywords = ["dgraph", "grpc"]
repository = "https://github.com/Swoorup/dgraph-rs"
homepage = "https://github.com/Swoorup/dgraph-rs"
edition = "2018"
[dependencies]
grpcio = "0.6.0"
futures = "0.3.5"
protobuf = { version = "2.16.2", features = ["with-serde"] }
protobuf-codegen = "2.16.2"
rand = "0.7.2"
serde = "1.0.114"
serde_derive = "1.0.114"
serde_json = "1.0.56"
protoc-grpcio = { version = "2.0.0", optional = true }
log = "0.4.11"
[dev-dependencies]
chrono = { version = "0.4.13", features = ["serde"] }
geojson = "0.19.0"
[features]
default = ["with-serde"]
with-serde = []
compile-protobufs = ["protoc-grpcio"]
openssl = ["grpcio/openssl"]
openssl-vendored = ["grpcio/openssl-vendored"]
[[bin]]
doc = false
name = "protoc"
path = "compile-protobufs.rs"
required-features = ["compile-protobufs"]