[package] name = "juniper" version = "0.16.1" edition = "2021" rust-version = "1.73" description = "GraphQL server library." license = "BSD-2-Clause" authors = [ "Magnus Hallin ", "Christoph Herzog ", "Christian Legnitto ", "Ilya Solovyiov ", "Kai Ren ", ] documentation = "https://docs.rs/juniper" homepage = "https://graphql-rust.github.io/juniper" repository = "https://github.com/graphql-rust/juniper" readme = "README.md" categories = ["asynchronous", "web-programming", "web-programming::http-server"] keywords = ["apollo", "graphql", "server", "web"] include = ["/src/", "/CHANGELOG.md", "/LICENSE", "/README.md"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [features] anyhow = ["dep:anyhow"] backtrace = ["anyhow?/backtrace"] bigdecimal = ["dep:bigdecimal", "dep:num-bigint", "dep:ryu"] bson = ["dep:bson", "dep:tap"] chrono = ["dep:chrono"] chrono-clock = ["chrono", "chrono/clock"] chrono-tz = ["dep:chrono-tz", "dep:regex"] expose-test-schema = ["dep:anyhow", "dep:serde_json"] js = ["chrono?/wasmbind", "time?/wasm-bindgen", "uuid?/js"] rust_decimal = ["dep:rust_decimal"] schema-language = ["dep:graphql-parser", "dep:void"] time = ["dep:time"] url = ["dep:url"] uuid = ["dep:uuid"] [dependencies] anyhow = { version = "1.0.47", optional = true } async-trait = "0.1.39" auto_enums = "0.8" bigdecimal = { version = "0.4", optional = true } bson = { version = "2.4", features = ["chrono-0_4"], optional = true } chrono = { version = "0.4.30", features = ["alloc"], default-features = false, optional = true } chrono-tz = { version = "0.8", default-features = false, optional = true } fnv = "1.0.5" futures = { version = "0.3.22", features = ["alloc"], default-features = false } graphql-parser = { version = "0.4", optional = true } indexmap = { version = "2.0", features = ["serde"] } juniper_codegen = { version = "0.16.0", path = "../juniper_codegen" } rust_decimal = { version = "1.20", default-features = false, optional = true } ryu = { version = "1.0", optional = true } serde = { version = "1.0.122", features = ["derive"] } serde_json = { version = "1.0.18", features = ["std"], default-features = false, optional = true } smartstring = "1.0" static_assertions = "1.1" time = { version = "0.3", features = ["formatting", "macros", "parsing"], optional = true } url = { version = "2.0", optional = true } uuid = { version = "1.3", default-features = false, optional = true } # Fixes for `minimal-versions` check. # TODO: Try remove on upgrade of `bigdecimal` crate. num-bigint = { version = "0.4.2", optional = true } # TODO: Try remove on upgrade of `chrono-tz` crate. regex = { version = "1.6", features = ["std"], default-features = false, optional = true } # TODO: Try remove on upgrade of `bson` crate. tap = { version = "1.0.1", optional = true } # TODO: Remove on upgrade to 0.4.1 version of `graphql-parser`. void = { version = "1.0.2", optional = true } [dev-dependencies] bencher = "0.1.2" chrono = { version = "0.4.30", features = ["alloc"], default-features = false } pretty_assertions = "1.0.0" serde_json = "1.0.18" serial_test = "3.0" tokio = { version = "1.0", features = ["macros", "time", "rt-multi-thread"] } [[bench]] name = "bench" harness = false path = "benches/bench.rs"