graphql-engine/v3/crates/lang-graphql/Cargo.toml
Samir Talwar 3a1968317b Upgrade ndc-spec and opentelemetry, and add a traceresponse header. (#416)
<!-- Thank you for submitting this PR! :) -->

## Description

I have upgraded ndc-spec to v0.1.1. This pulls in an upgrade to
opentelemetry v0.22 so I've done that too.

We had issues with the `traceresponse` response header disappearing when
using an opentelemetry version > v0.20. This seems to be resolved here,
probably because we have pinned a single version of opentelemetry rather
than loading multiple at once. I added the `traceresponse` header to
verify this, and have left it in because it doesn't seem to hurt
anything.

I verified that everything works as expected with the OSS components,
but not multitenant.

## Changelog

- Add a changelog entry (in the "Changelog entry" section below) if the
changes in this PR have any user-facing impact. See [changelog
guide](https://github.com/hasura/graphql-engine-mono/wiki/Changelog-Guide).
- If no changelog is required ignore/remove this section and add a
`no-changelog-required` label to the PR.

### Product
_(Select all products this will be available in)_
- [x] community-edition
- [x] cloud
<!-- product : end : DO NOT REMOVE -->

### Type
<!-- See changelog structure:
https://github.com/hasura/graphql-engine-mono/wiki/Changelog-Guide#structure-of-our-changelog
-->
_(Select only one. In case of multiple, choose the most appropriate)_
- [ ] highlight
- [x] enhancement
- [ ] bugfix
- [ ] behaviour-change
- [ ] performance-enhancement
- [ ] security-fix
<!-- type : end : DO NOT REMOVE -->

### Changelog entry
<!--
  - Add a user understandable changelog entry
- Include all details needed to understand the change. Try including
links to docs or issues if relevant
  - For Highlights start with a H4 heading (#### <entry title>)
  - Get the changelog entry reviewed by your team
-->

v3 engine GraphQL queries now include a "traceresponse" header.

<!-- changelog-entry : end : DO NOT REMOVE -->

<!-- changelog : end : DO NOT REMOVE -->

V3_GIT_ORIGIN_REV_ID: f37b6bdb1331b55c49f0bd953f522f5eca298d1d
2024-03-28 16:21:22 +00:00

54 lines
1.0 KiB
TOML

[package]
name = "lang-graphql"
version.workspace = true
edition.workspace = true
license.workspace = true
[lib]
bench = false
[[bench]]
name = "lexer"
harness = false
[[bench]]
name = "parser"
harness = false
[[bench]]
name = "validation"
harness = false
[[bench]]
name = "schema_serde"
harness = false
[dependencies]
recursion_limit_macro = { path = "../recursion_limit_macro" }
axum = "0.6.20"
http = "0.2"
indexmap = { version = "2", features = ["serde"] }
lexical-core = "0.8"
nonempty = { version = "0.8", features = ["serialize"] }
schemars = { version = "0.8.12", features = ["smol_str"] }
serde = "1.0.152"
serde_json = "1.0.92"
serde_with = "2.2.0"
smol_str = "0.1.23"
thiserror = "1.0"
[dev-dependencies]
apollo-parser = "0.4"
async-graphql-parser = "5.0"
bincode = "1.3.3"
bson = "2.9.0"
criterion = { version = "0.4", features = ["html_reports"] }
diffy = "0.3.0"
expect-test = "1.4"
graphql-parser = "0.4"
human_bytes = "0.4.1"
postcard = { version = "1.0.4", features = ["use-std"] }
pretty_assertions = "1.3.0"
rmp-serde = "1.1.1"