# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "dgraph" version = "0.4.0" authors = ["Swoorup Joshi"] description = "A rust client for Dgraph database" homepage = "https://github.com/Swoorup/dgraph-rs" readme = "README.md" keywords = ["dgraph", "grpc"] license = "MIT" repository = "https://github.com/Swoorup/dgraph-rs" [[bin]] name = "protoc" path = "compile-protobufs.rs" doc = false required-features = ["compile-protobufs"] [dependencies.futures] version = "0.3.5" [dependencies.grpcio] version = "0.6.0" [dependencies.log] version = "0.4.11" [dependencies.protobuf] version = "2.16.2" features = ["with-serde"] [dependencies.protobuf-codegen] version = "2.16.2" [dependencies.protoc-grpcio] version = "2.0.0" optional = true [dependencies.rand] version = "0.7.2" [dependencies.serde] version = "1.0.114" [dependencies.serde_derive] version = "1.0.114" [dependencies.serde_json] version = "1.0.56" [dev-dependencies.chrono] version = "0.4.13" features = ["serde"] [dev-dependencies.geojson] version = "0.19.0" [features] compile-protobufs = ["protoc-grpcio"] default = ["with-serde"] openssl = ["grpcio/openssl"] openssl-vendored = ["grpcio/openssl-vendored"] with-serde = []