# 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" rust-version = "1.79" name = "swh-graph-grpc-server" version = "6.2.0" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "gRPC service to run the fast queries to the Software Heritage archive graph, using a compressed in-memory representation" readme = "README.md" keywords = [ "software-heritage", "graph", "webgraph", "grpc", ] categories = [ "compression", "science", ] license = "GPL-3.0-or-later" repository = "https://gitlab.softwareheritage.org/swh/devel/swh-graph" [lib] name = "swh_graph_grpc_server" path = "src/lib.rs" [[bin]] name = "swh-graph-grpc-serve" path = "src/main.rs" [[test]] name = "server" path = "tests/server.rs" [dependencies.anyhow] version = "1.0.79" features = ["backtrace"] [dependencies.async-scoped] version = "0.9.0" features = ["use-tokio"] [dependencies.cadence] version = "1.4.0" [dependencies.chrono] version = "0.4.31" features = ["serde"] [dependencies.clap] version = "4.1.6" features = ["derive"] [dependencies.http-body] version = "1" [dependencies.itertools] version = "0.11.0" [dependencies.java-properties] version = "1.4.1" [dependencies.log] version = "0.4.17" [dependencies.prost] version = "0.13" [dependencies.prost-types] version = "0.13" [dependencies.sentry] version = "0.32.1" features = [ "anyhow", "tower", "tracing", ] optional = true [dependencies.sentry-tracing] version = "0.32.1" [dependencies.serde] version = "1.0.189" [dependencies.serde_derive] version = "1.0.189" [dependencies.serde_json] version = "1.0" [dependencies.swh-graph] version = "6.1.0" [dependencies.tokio] version = "1.0" features = [ "macros", "rt-multi-thread", ] [dependencies.tokio-stream] version = "0.1" [dependencies.tonic] version = "0.12.2" [dependencies.tonic-health] version = "0.12.2" [dependencies.tonic-middleware] version = "0.2.1" [dependencies.tonic-reflection] version = "0.12.2" [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [dev-dependencies.futures] version = "0.3.30" [build-dependencies.tonic-build] version = "0.11.0" [features] default = ["sentry"]