graphql-engine/v3/crates/engine/Cargo.toml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

86 lines
2.1 KiB
TOML
Raw Normal View History

[package]
name = "engine"
version.workspace = true
edition.workspace = true
license.workspace = true
build = "build.rs"
[lib]
bench = false
[[bin]]
name = "engine"
path = "bin/engine/main.rs"
bench = false
[[bench]]
name = "execute"
harness = false
[[bench]]
name = "generate_ir"
harness = false
[dependencies]
hasura-authn-core = { path = "../hasura-authn-core" }
hasura-authn-jwt = { path = "../hasura-authn-jwt" }
hasura-authn-webhook = { path = "../hasura-authn-webhook" }
lang-graphql = { path = "../lang-graphql" }
open-dds = { path = "../open-dds" }
opendds-derive = { path = "../opendds-derive" }
tracing-util = { path = "../tracing-util" }
anyhow = "1"
async-recursion = "1.0.5"
axum = { version = "0.6.20" }
base64 = "0.22.0"
bincode = "1.3.3"
bytes = "1.6.0"
clap = { version = "4", features = ["derive", "env"] }
derive_more = "0.99.17"
futures-util = "0.3"
indexmap = { version = "2", features = ["serde"] }
json_value_merge = "2.0"
lazy_static = "1.4.0"
ndc-models = { git = "https://github.com/hasura/ndc-spec.git", tag = "v0.1.2" }
Bump nonempty from 0.8.1 to 0.10.0 (#463) Bumps [nonempty](https://github.com/cloudhead/nonempty) from 0.8.1 to 0.10.0. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/cloudhead/nonempty/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=nonempty&package-manager=cargo&previous-version=0.8.1&new-version=0.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> V3_GIT_ORIGIN_REV_ID: 11c6454b5e7e9877b52075f0e0efe6839ecf3be1
2024-04-15 11:40:59 +03:00
nonempty = "0.10"
reqwest = { version = "0.11", features = ["json", "multipart"] }
schemars = { version = "0.8.12", features = ["smol_str"] }
serde = "1.0.152"
serde_json = "1.0.92"
serde_path_to_error = "0.1.14"
Bump strum from 0.25.0 to 0.26.2 (#424) [//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [strum](https://github.com/Peternator7/strum) from 0.25.0 to 0.26.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Peternator7/strum/releases">strum's releases</a>.</em></p> <blockquote> <h2>v0.26.2</h2> <h2>What's Changed</h2> <ul> <li>Fix AsRefStr docs to specify lifetime constraints by <a href="https://github.com/DTrippe"><code>@​DTrippe</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/330">Peternator7/strum#330</a></li> <li>Fix missing generics on impl for EnumTryAs by <a href="https://github.com/hasali19"><code>@​hasali19</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/337">Peternator7/strum#337</a></li> <li>feat(as_ref_str): enable <code>prefix</code> attribute for <code>AsRefStr</code> derive by <a href="https://github.com/vbrvk"><code>@​vbrvk</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/334">Peternator7/strum#334</a></li> <li>Add dependabot by <a href="https://github.com/oriontvv"><code>@​oriontvv</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/333">Peternator7/strum#333</a></li> <li>Fix docs that say array instead of slice by <a href="https://github.com/Peternator7"><code>@​Peternator7</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/343">Peternator7/strum#343</a></li> <li>Hide EnumTable by <a href="https://github.com/Peternator7"><code>@​Peternator7</code></a> in <a href="https://redirect.github.com/Peternator7/strum/pull/344">Peternator7/strum#344</a> <ul> <li>EnumTable will likely be deprecated.</li> </ul> </li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/DTrippe"><code>@​DTrippe</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/330">Peternator7/strum#330</a></li> <li><a href="https://github.com/hasali19"><code>@​hasali19</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/337">Peternator7/strum#337</a></li> <li><a href="https://github.com/vbrvk"><code>@​vbrvk</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/334">Peternator7/strum#334</a></li> <li><a href="https://github.com/oriontvv"><code>@​oriontvv</code></a> made their first contribution in <a href="https://redirect.github.com/Peternator7/strum/pull/333">Peternator7/strum#333</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/Peternator7/strum/compare/v0.26.1...v0.26.2">https://github.com/Peternator7/strum/compare/v0.26.1...v0.26.2</a></p> <h2>v0.26.1</h2> <h2>0.26.1</h2> <ul> <li><a href="https://redirect.github.com/Peternator7/strum/pull/325">#325</a>: use <code>core</code> instead of <code>std</code> in VariantArray.</li> </ul> <h2>0.26.0</h2> <h3>Breaking Changes</h3> <ul> <li>The <code>EnumVariantNames</code> macro has been renamed <code>VariantNames</code>. The deprecation warning should steer you in the right direction for fixing the warning.</li> <li>The Iterator struct generated by EnumIter now has new bounds on it. This shouldn't break code unless you manually added the implementation in your code.</li> <li><code>Display</code> now supports format strings using named fields in the enum variant. This should be a no-op for most code. However, if you were outputting a string like <code>&quot;Hello {field}&quot;</code>, this will now be interpretted as a format string.</li> <li>EnumDiscriminant now inherits the repr and discriminant values from your main enum. This makes the discriminant type closer to a mirror of the original and that's always the goal.</li> </ul> <h3>New features</h3> <ul> <li> <p>The <code>VariantArray</code> macro has been added. This macro adds an associated constant <code>VARIANTS</code> to your enum. The constant is a <code>&amp;'static [Self]</code> slice so that you can access all the variants of your enum. This only works on enums that only have unit variants.</p> <pre lang="rust"><code>use strum::VariantArray; <p>#[derive(Debug, VariantArray)] enum Color { Red, Blue, Green, </code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Peternator7/strum/blob/master/CHANGELOG.md">strum's changelog</a>.</em></p> <blockquote> <h2>0.26.2</h2> <ul> <li><a href="https://redirect.github.com/Peternator7/strum/pull/337">#337</a>: Fix missing generic impls for <code>EnumTryAs</code></li> <li><a href="https://redirect.github.com/Peternator7/strum/pull/334">#334</a>: Support prefix in <code>AsRefStr</code>. Technically a breaking change, but <code>prefix</code> was just added in <code>0.26.0</code> so it's a newer feature and it makes the feature more consisent in general.</li> </ul> <h2>0.26.1</h2> <ul> <li><a href="https://redirect.github.com/Peternator7/strum/pull/325">#325</a>: use <code>core</code> instead of <code>std</code> in VariantArray.</li> </ul> <h2>0.26.0</h2> <h3>Breaking Changes</h3> <ul> <li>The <code>EnumVariantNames</code> macro has been renamed <code>VariantNames</code>. The deprecation warning should steer you in the right direction for fixing the warning.</li> <li>The Iterator struct generated by EnumIter now has new bounds on it. This shouldn't break code unless you manually added the implementation in your code.</li> <li><code>Display</code> now supports format strings using named fields in the enum variant. This should be a no-op for most code. However, if you were outputting a string like <code>&quot;Hello {field}&quot;</code>, this will now be interpretted as a format string.</li> <li>EnumDiscriminant now inherits the repr and discriminant values from your main enum. This makes the discriminant type closer to a mirror of the original and that's always the goal.</li> </ul> <h3>New features</h3> <ul> <li> <p>The <code>VariantArray</code> macro has been added. This macro adds an associated constant <code>VARIANTS</code> to your enum. The constant is a <code>&amp;'static [Self]</code> slice so that you can access all the variants of your enum. This only works on enums that only have unit variants.</p> <pre lang="rust"><code>use strum::VariantArray; <p>#[derive(Debug, VariantArray)] enum Color { Red, Blue, Green, }</p> <p>fn main() { println!(&quot;{:?}&quot;, Color::VARIANTS); // prints: [&quot;Red&quot;, &quot;Blue&quot;, &quot;Green&quot;] } </code></pre></p> </li> <li> <p>The <code>EnumTable</code> macro has been <em>experimentally</em> added. This macro adds a new type that stores an item for each variant of the enum. This is useful for storing a value for each variant of an enum. This is an experimental feature because I'm not convinced the current api surface area is correct.</p> <pre lang="rust"><code>use strum::EnumTable; </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/Peternator7/strum/commits/v0.26.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=strum&package-manager=cargo&previous-version=0.25.0&new-version=0.26.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> V3_GIT_ORIGIN_REV_ID: e3add1ec70f4a1ba2d8a25ef953dde94f5c8ea66
2024-04-15 12:55:49 +03:00
strum = "0.26.2"
strum_macros = "0.26.2"
thiserror = "1.0"
tokio = { version = "1.26.0", features = [
"macros",
"parking_lot",
"rt-multi-thread",
"signal",
] }
tower-http = { version = "0.4", features = ["trace", "cors", "fs"] }
transitive = "0.5.0"
url = "2.4.1"
# Dependencies to build and run build.rs file
[build-dependencies]
build-data = "0.1.5" # To set short commit-sha at build time
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports", "async_tokio"] }
goldenfile = "1.4.5"
mockito = { version = "1.1.0", default-features = false, features = [] }
pretty_assertions = "1.3.0"
tokio-test = "0.4.2"
[package.metadata.cargo-machete]
ignored = [
"build_data", # cargo-machete ignores build dependencies
"serde_path_to_error", # used by opendds-derive
"strum", # used by strum_macros
]
[lints]
workspace = true