# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "postgrpc" version = "0.1.2" authors = ["Alex Pearson "] description = "A JSON-transcoding-ready gRPC server for querying Postgres databases" homepage = "https://github.com/boilerplatter/postgrpc" readme = "README.md" keywords = [ "postgres", "json", "grpc", "grpc-web", ] license = "MIT" repository = "https://github.com/boilerplatter/postgrpc" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] path = "src/lib.rs" doctest = false [[bin]] name = "postgrpc" path = "src/main.rs" doc = false required-features = [ "server", "deadpool", ] [dependencies.bytes] version = "1.2.1" [dependencies.deadpool-postgres] version = "0.10.2" features = ["serde"] optional = true [dependencies.envy] version = "0.4.2" optional = true [dependencies.futures-util] version = "0.3.23" [dependencies.native-tls] version = "0.2.10" optional = true [dependencies.num] version = "0.4.0" [dependencies.num_cpus] version = "1.13.1" optional = true [dependencies.pbjson] version = "0.4.0" [dependencies.pbjson-types] version = "0.4.0" [dependencies.pin-project-lite] version = "0.2.9" optional = true [dependencies.postgres-native-tls] version = "0.5.0" optional = true [dependencies.postgres_array] version = "0.11.0" [dependencies.prost] version = "0.11.0" [dependencies.serde] version = "1.0.143" features = ["derive"] [dependencies.serde_json] version = "1.0.83" [dependencies.thiserror] version = "1.0.32" [dependencies.tokio] version = "1.20.1" features = [ "macros", "signal", "rt-multi-thread", ] default-features = false [dependencies.tokio-postgres] version = "0.7.6" features = ["with-serde_json-1"] [dependencies.tokio-stream] version = "0.1.9" [dependencies.tonic] version = "0.8.0" features = [ "codegen", "prost", "transport", ] default-features = false [dependencies.tonic-health] version = "0.7.0" optional = true [dependencies.tonic-reflection] version = "0.5.0" optional = true [dependencies.tonic-web] version = "0.4.0" optional = true [dependencies.tower-http] version = "0.3.4" features = ["trace"] default-features = false [dependencies.tracing] version = "0.1.36" [dependencies.tracing-subscriber] version = "0.3.15" features = ["env-filter"] [dependencies.uuid] version = "1.1.2" features = ["v4"] optional = true [build-dependencies.pbjson-build] version = "0.4.0" [build-dependencies.tonic-build] version = "0.8.0" [features] deadpool = [ "deadpool-postgres", "pin-project-lite", "num_cpus", ] default = [ "server", "transaction", "ssl-native-tls", "health", "deadpool", "reflection", "role-header", ] health = ["tonic-health"] reflection = ["tonic-reflection"] role-header = [] server = ["envy"] ssl-native-tls = [ "native-tls", "postgres-native-tls", ] transaction = ["uuid"] web = ["tonic-web"] [badges.maintenance] status = "actively-developed"