[package]
edition = "2024"
rust-version = "1.97"
name = "mongo-graphql"
version = "0.0.1"
build = false
exclude = [
"CLAUDE.md",
".gitignore",
"PLAN.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dynamic GraphQL schema generation from MongoDB collections, optimized for AWS Lambda"
readme = "README.md"
keywords = [
"mongodb",
"graphql",
"dynamic-schema",
"lambda",
]
categories = [
"database",
"web-programming",
]
license = "MIT"
repository = "https://github.com/carlosguadir/mongo-graphql"
[features]
integration = []
lambda = [
"dep:aws_lambda_events",
"dep:lambda_runtime",
]
[lib]
name = "mongo_graphql"
path = "src/lib.rs"
[[bin]]
name = "bootstrap"
path = "examples/lambda.rs"
required-features = ["lambda"]
[[test]]
name = "mutation_integration_many_to_many"
path = "tests/mutation_integration_many_to_many.rs"
[[test]]
name = "mutation_integration_one_to_many"
path = "tests/mutation_integration_one_to_many.rs"
[[test]]
name = "mutation_integration_one_to_one"
path = "tests/mutation_integration_one_to_one.rs"
[[test]]
name = "mutation_integration_tests"
path = "tests/mutation_integration_tests.rs"
[[test]]
name = "mutation_integration_three_level"
path = "tests/mutation_integration_three_level.rs"
[[test]]
name = "pagination_tests"
path = "tests/pagination_tests.rs"
[[test]]
name = "query_integration"
path = "tests/query_integration.rs"
[[test]]
name = "query_integration_many_to_many"
path = "tests/query_integration_many_to_many.rs"
[[test]]
name = "query_integration_one_to_many"
path = "tests/query_integration_one_to_many.rs"
[[test]]
name = "query_integration_one_to_one"
path = "tests/query_integration_one_to_one.rs"
[[test]]
name = "query_integration_pagination"
path = "tests/query_integration_pagination.rs"
[[test]]
name = "query_integration_three_level"
path = "tests/query_integration_three_level.rs"
[[test]]
name = "query_integration_three_levels_plural"
path = "tests/query_integration_three_levels_plural.rs"
[[test]]
name = "query_integration_where"
path = "tests/query_integration_where.rs"
[[test]]
name = "schema_builder_tests"
path = "tests/schema_builder_tests.rs"
[[test]]
name = "schema_definition_tests"
path = "tests/schema_definition_tests.rs"
[[test]]
name = "schema_parser_tests"
path = "tests/schema_parser_tests.rs"
[[test]]
name = "serialization_tests"
path = "tests/serialization_tests.rs"
[dependencies.async-graphql]
version = "7.2"
features = ["dynamic-schema"]
[dependencies.aws_lambda_events]
version = "0.15"
optional = true
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
[dependencies.futures]
version = "0.3"
[dependencies.lambda_runtime]
version = "0.13"
optional = true
[dependencies.mongodb]
version = "3.8"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.52"
features = [
"rt",
"rt-multi-thread",
"macros",
]
[dev-dependencies.aws_lambda_events]
version = "0.15"
[dev-dependencies.fake]
version = "5"
features = ["derive"]
[dev-dependencies.lambda_runtime]
version = "0.13"
[dev-dependencies.temp-env]
version = "0.3"