# 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" name = "graphql-starter" version = "0.7.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "GraphQL starter kit" readme = "README.md" keywords = [ "graphql", "starter", "api", ] categories = [ "rust-patterns", "web-programming", ] license = "MIT" repository = "https://github.com/lasantosr/graphql-starter-rs" [lib] name = "graphql_starter" path = "src/lib.rs" [[test]] name = "sqlx_tests" path = "tests/sqlx_tests.rs" [dependencies.ansi-to-html] version = "0.2" optional = true [dependencies.anyhow] version = "1" [dependencies.async-graphql] version = "7.0.6" features = ["altair"] optional = true [dependencies.async-graphql-axum] version = "7" optional = true [dependencies.async-trait] version = "0.1.64" [dependencies.axum] version = "0.7.4" features = ["ws"] [dependencies.axum-server] version = "0.7" optional = true [dependencies.base64] version = "0.22" [dependencies.bytes] version = "1" [dependencies.chrono] version = "0.4" optional = true [dependencies.error-info] version = "0.3" [dependencies.figment] version = "0.10" features = [ "env", "toml", ] optional = true [dependencies.futures-util] version = "0.3" optional = true [dependencies.garde] version = "0.20" optional = true [dependencies.graphql-starter-macros] version = "=0.7.1" optional = true default-features = false [dependencies.http] version = "1" [dependencies.hyper] version = "1" [dependencies.indexmap] version = "2" optional = true [dependencies.iter-flow] version = "0.1" [dependencies.linkme] version = "0.3" optional = true [dependencies.mime] version = "0.3" [dependencies.model-mapper] version = "0.5" optional = true [dependencies.parking_lot] version = "0.12" optional = true [dependencies.paste] version = "1" optional = true [dependencies.pin-project-lite] version = "0.2" [dependencies.rcgen] version = "0.13" optional = true [dependencies.regex] version = "1" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.strip-ansi-escapes] version = "0.2" optional = true [dependencies.strum] version = "0.26" features = ["derive"] [dependencies.tokio] version = "1" features = [ "signal", "macros", "time", ] [dependencies.tokio-stream] version = "0.1" optional = true [dependencies.tokio-util] version = "0.7" optional = true [dependencies.tower] version = "0.5" [dependencies.tower-http] version = "0.6" features = [ "trace", "cors", "timeout", "limit", ] [dependencies.tracing] version = "0.1" [dependencies.tracing-error] version = "0.2" [dependencies.tracing-subscriber] version = "0.3" optional = true [dependencies.ulid] version = "1" [dependencies.uuid] version = "1" [dev-dependencies.axum] version = "0.7.4" features = ["macros"] [dev-dependencies.chrono] version = "0.4" features = ["serde"] [dev-dependencies.figment] version = "0.10" features = ["test"] [dev-dependencies.sqlx] version = "0.8" features = [ "runtime-tokio-native-tls", "postgres", "macros", "chrono", ] [dev-dependencies.tokio] version = "1" features = [ "time", "macros", "rt-multi-thread", ] [features] ansi = [ "dep:strip-ansi-escapes", "dep:ansi-to-html", "dep:regex", ] auth = [ "macros", "graphql-starter-macros?/subject", ] chrono = ["dep:chrono"] config = ["dep:figment"] default = ["full"] error-info-summary = [ "error-info/summary", "dep:linkme", ] full = [ "graphql", "config", "tracing", "auth", "sqlx", "error-info-summary", "ansi", "chrono", ] garde = ["dep:garde"] graphql = [ "dep:async-graphql", "dep:async-graphql-axum", "dep:tokio-util", "dep:futures-util", "dep:indexmap", "paste", ] https = [ "dep:futures-util", "dep:axum-server", "axum-server?/tls-rustls", "dep:rcgen", ] macros = ["dep:graphql-starter-macros"] model-mapper = ["dep:model-mapper"] paste = ["dep:paste"] sqlx = [ "macros", "graphql-starter-macros?/sqlx", ] tracing = [ "dep:tracing-subscriber", "tracing-subscriber?/env-filter", "dep:parking_lot", "dep:tokio-stream", "tokio/sync", "tokio-stream?/sync", ]