[package]
edition = "2024"
rust-version = "1.85"
name = "suku"
version = "0.1.2"
authors = ["Oscar Beaumont <oscar@otbeaumont.me>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GraphQL over HTTP for Rust"
readme = "README.md"
license = "MIT"
repository = "https://github.com/specta-rs/gurafi"
[features]
axum = [
"dep:axum",
"dep:tokio",
"tokio/sync",
"tokio/time",
]
default = [
"axum",
"ws",
"multipart",
]
multipart = ["dep:multer"]
tracing = [
"dep:tracing",
"gql/tracing",
]
vendored-graphiql = []
ws = [
"axum",
"axum/ws",
]
[lib]
name = "suku"
path = "src/lib.rs"
[[test]]
name = "axum"
path = "tests/axum.rs"
[[test]]
name = "core"
path = "tests/core.rs"
[[test]]
name = "errors"
path = "tests/errors.rs"
[[test]]
name = "graphiql"
path = "tests/graphiql.rs"
[[test]]
name = "http"
path = "tests/http.rs"
[[test]]
name = "multipart"
path = "tests/multipart.rs"
[[test]]
name = "panic_isolation"
path = "tests/panic_isolation.rs"
[[test]]
name = "perf_probe"
path = "tests/perf_probe.rs"
[[test]]
name = "prepared"
path = "tests/prepared.rs"
[[test]]
name = "request"
path = "tests/request.rs"
[[test]]
name = "review"
path = "tests/review.rs"
[[test]]
name = "review5"
path = "tests/review5.rs"
[[test]]
name = "review_integration"
path = "tests/review_integration.rs"
[[test]]
name = "review_prepared"
path = "tests/review_prepared.rs"
[[test]]
name = "review_wave_security"
path = "tests/review_wave_security.rs"
[[test]]
name = "security"
path = "tests/security.rs"
[[test]]
name = "tracing"
path = "tests/tracing.rs"
[[test]]
name = "ws"
path = "tests/ws.rs"
[dependencies.axum]
version = "0.8.4"
optional = true
[dependencies.bytes]
version = "1.6"
[dependencies.futures]
version = "0.3.30"
[dependencies.gql]
version = "0.3.2"
[dependencies.http]
version = "1.1.0"
[dependencies.multer]
version = "3.1"
optional = true
[dependencies.serde]
version = "1.0.203"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.117"
[dependencies.serde_urlencoded]
version = "0.7"
[dependencies.tokio]
version = "1.38.0"
features = [
"macros",
"rt-multi-thread",
"net",
]
optional = true
[dependencies.tracing]
version = "0.1.40"
optional = true
[dev-dependencies.tokio]
version = "1.38.0"
features = [
"macros",
"rt-multi-thread",
"net",
]
[dev-dependencies.tokio-tungstenite]
version = "0.29"
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[dev-dependencies.tracing-core]
version = "0.1.36"