# 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.73" name = "juniper_axum" version = "0.1.1" authors = [ "Benno Tielen ", "Kai Ren ", ] build = false exclude = ["/release.toml"] autobins = false autoexamples = false autotests = false autobenches = false description = "`juniper` GraphQL integration with `axum`." homepage = "https://github.com/graphql-rust/juniper/tree/master/juniper_axum" documentation = "https://docs.rs/juniper_axum" readme = "README.md" keywords = [ "apollo", "axum", "graphql", "juniper", "websocket", ] categories = [ "asynchronous", "web-programming", "web-programming::http-server", ] license = "BSD-2-Clause" repository = "https://github.com/graphql-rust/juniper" resolver = "1" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "juniper_axum" path = "src/lib.rs" [[example]] name = "custom" path = "examples/custom.rs" required-features = ["subscriptions"] [[example]] name = "simple" path = "examples/simple.rs" required-features = ["subscriptions"] [[test]] name = "http_test_suite" path = "tests/http_test_suite.rs" [[test]] name = "ws_test_suite" path = "tests/ws_test_suite.rs" required-features = ["subscriptions"] [dependencies.axum] version = "0.7" [dependencies.bytes] version = "1.2" [dependencies.futures] version = "0.3.22" optional = true [dependencies.juniper] version = "0.16.0" default-features = false [dependencies.juniper_graphql_ws] version = "0.4.0" features = ["graphql-transport-ws"] [dependencies.serde] version = "1.0.122" features = ["derive"] [dependencies.serde_json] version = "1.0.18" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.axum] version = "0.7" features = [ "http1", "macros", "tokio", ] [dev-dependencies.futures] version = "0.3.22" [dev-dependencies.juniper] version = "0.16.0" features = ["expose-test-schema"] [dev-dependencies.tokio] version = "1.20" features = [ "macros", "net", "rt-multi-thread", "time", ] [dev-dependencies.tokio-stream] version = "0.1" [dev-dependencies.tokio-tungstenite] version = "0.21" [dev-dependencies.tower-service] version = "0.3" [dev-dependencies.tracing] version = "0.1" [dev-dependencies.tracing-subscriber] version = "0.3" [dev-dependencies.urlencoding] version = "2.1" [features] subscriptions = [ "axum/ws", "juniper_graphql_ws/graphql-ws", "dep:futures", ]