graphql-composition 0.12.2

An implementation of GraphQL federated schema composition
Documentation
# 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 = "2024"
name = "graphql-composition"
version = "0.12.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An implementation of GraphQL federated schema composition"
readme = "README.md"
keywords = [
    "graphql",
    "federation",
]
license = "MPL-2.0"
repository = "https://github.com/grafbase/grafbase/tree/main/engine/crates/composition"
resolver = "2"

[lib]
name = "graphql_composition"
path = "src/lib.rs"

[[test]]
name = "composition_special_cases"
path = "tests/composition_special_cases.rs"

[[test]]
name = "composition_tests"
path = "tests/composition_tests.rs"

[dependencies.bitflags]
version = "2"

[dependencies.cynic-parser]
version = "0.11.1"
features = ["report"]

[dependencies.cynic-parser-deser]
version = "0.11.1"

[dependencies.fixedbitset]
version = "0.5"

[dependencies.indexmap]
version = "2.11.1"

[dependencies.itertools]
version = "0.14.0"

[dependencies.serde]
version = "1.0.223"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.145"
features = ["preserve_order"]

[dependencies.url]
version = "2.5.7"

[dependencies.wrapping]
version = "0.4.0"
package = "graphql-wrapping-types"

[dev-dependencies.anyhow]
version = "1"
default-features = false

[dev-dependencies.grafbase-workspace-hack]
version = "0.1"

[dev-dependencies.insta]
version = "1.43.2"
features = [
    "json",
    "redactions",
    "glob",
]

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.serde]
version = "1.0.223"
features = ["derive"]

[dev-dependencies.tokio]
version = "1.47.1"

[dev-dependencies.toml]
version = "0.9"

[lints.clippy]
bool-to-int-with-if = "allow"
cast-possible-truncation = "allow"
default-trait-access = "allow"
derive-partial-eq-without-eq = "allow"
doc-markdown = "allow"
enum-glob-use = "allow"
implicit-hasher = "allow"
into_iter_without_iter = "allow"
items-after-statements = "allow"
iter_without_into_iter = "allow"
large-digit-groups = "allow"
let-underscore-untyped = "allow"
let-with-type-underscore = "allow"
manual-assert = "allow"
map-unwrap-or = "allow"
match-wildcard-for-single-variants = "allow"
missing-errors-doc = "allow"
missing-panics-doc = "allow"
module-name-repetitions = "allow"
must-use-candidate = "allow"
needless-pass-by-value = "allow"
panic = "deny"
redundant-closure-for-method-calls = "allow"
single-match-else = "allow"
struct-excessive-bools = "allow"
struct-field-names = "allow"
too-many-lines = "allow"
unnecessary-fallible-conversions = "allow"
unused-async = "allow"
unused-self = "allow"
wildcard-imports = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
nonstandard-style = "deny"
rust-2018-idioms = "deny"