[package]
edition = "2024"
rust-version = "1.97"
name = "grpctestify"
version = "1.8.6"
authors = ["bavix"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gRPC testing utility written in Rust"
readme = "README.md"
license = "MIT"
resolver = "2"
[package.metadata.cargo-machete]
ignored = [
"tonic-prost",
"tonic-prost-build",
"protoc-bin-vendored",
]
[features]
ast-optimizer = []
default = []
proto-build = [
"dep:tonic-prost",
"dep:tonic-prost-build",
"dep:protoc-bin-vendored",
]
test-servers = [
"dep:tonic-prost",
"dep:tonic-prost-build",
"dep:protoc-bin-vendored",
]
[lib]
name = "grpctestify"
path = "src/lib.rs"
[[bin]]
name = "grpctestify"
path = "src/main.rs"
[[bin]]
name = "test-server"
path = "tests/servers/bin.rs"
required-features = ["test-servers"]
[[test]]
name = "allure_contract_test"
path = "tests/allure_contract_test.rs"
[[test]]
name = "allure_reporter_tests"
path = "tests/allure_reporter_tests.rs"
[[test]]
name = "call_tests"
path = "tests/call_tests.rs"
[[test]]
name = "command_contract_test"
path = "tests/command_contract_test.rs"
[[test]]
name = "diagnostics_tests"
path = "tests/diagnostics_tests.rs"
[[test]]
name = "explain"
path = "tests/explain_tests.rs"
harness = true
[[test]]
name = "extract"
path = "tests/extract_tests.rs"
harness = true
[[test]]
name = "extract_metadata"
path = "tests/extract_metadata_tests.rs"
harness = true
[[test]]
name = "extract_ternary"
path = "tests/extract_ternary_tests.rs"
harness = true
[[test]]
name = "fmt"
path = "tests/fmt_tests.rs"
harness = true
[[test]]
name = "gen_command_tests"
path = "tests/gen_command_tests.rs"
[[test]]
name = "grpcurl_tests"
path = "tests/grpcurl_tests.rs"
[[test]]
name = "inspect"
path = "tests/inspect_tests.rs"
harness = true
[[test]]
name = "lazy_connection"
path = "tests/lazy_connection.rs"
[[test]]
name = "lsp_server_tests"
path = "tests/lsp_server_tests.rs"
[[test]]
name = "lsp_variable"
path = "tests/lsp_variable_tests.rs"
harness = true
[[test]]
name = "lsp_variable_definition"
path = "tests/lsp_variable_definition_tests.rs"
harness = true
[[test]]
name = "lsp_variable_definition_integration"
path = "tests/lsp_variable_definition_integration_tests.rs"
harness = true
[[test]]
name = "perf_ast_tests"
path = "tests/perf_ast_tests.rs"
[[test]]
name = "perf_tests"
path = "tests/perf_tests.rs"
[[test]]
name = "plugins_test"
path = "tests/plugins_test.rs"
[[test]]
name = "query_command_tests"
path = "tests/query_command_tests.rs"
[[test]]
name = "report"
path = "tests/report_tests.rs"
harness = true
[[test]]
name = "runner_tests"
path = "tests/runner_tests.rs"
[[test]]
name = "security_tests"
path = "tests/security_tests.rs"
[[test]]
name = "serve_tests"
path = "tests/serve_tests.rs"
[[test]]
name = "string_math_tests"
path = "tests/string_math_tests.rs"
[[test]]
name = "ternary_ast"
path = "tests/ternary_ast_tests.rs"
harness = true
[[test]]
name = "workflow"
path = "tests/workflow_tests.rs"
harness = true
[[bench]]
name = "assertion"
path = "benches/assertion.rs"
harness = false
[[bench]]
name = "index"
path = "benches/index.rs"
harness = false
[[bench]]
name = "parser"
path = "benches/parser.rs"
harness = false
[[bench]]
name = "runner_like"
path = "benches/runner_like.rs"
harness = false
[dependencies.anyhow]
version = "1.0"
[dependencies.apif-assert]
version = "0.1.0"
[dependencies.apif-cfg-runtime]
version = "0.1.0"
[dependencies.apif-diagnostics]
version = "0.1.0"
[dependencies.apif-execution]
version = "0.1.0"
[dependencies.apif-optimizer]
version = "0.1.0"
[dependencies.apif-parser]
version = "0.1.0"
[dependencies.apif-plugins]
version = "0.1.0"
[dependencies.apif-query]
version = "0.1.0"
[dependencies.apif-report]
version = "0.1.0"
[dependencies.apif-semantics]
version = "0.1.0"
[dependencies.apif-source-error]
version = "0.1.0"
[dependencies.apif-source-row]
version = "0.1.0"
[dependencies.apif-state]
version = "0.1.0"
[dependencies.apif-twoq-cache]
version = "0.1.0"
[dependencies.apif-utils]
version = "0.1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
[dependencies.chrono]
version = "0.4"
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.clap_complete]
version = "4.6"
[dependencies.console]
version = "0.16"
[dependencies.crc32fast]
version = "1.5"
[dependencies.csv]
version = "1.3"
[dependencies.fake]
version = "5.1"
[dependencies.futures]
version = "0.3"
[dependencies.globset]
version = "0.4"
[dependencies.indicatif]
version = "0.18"
[dependencies.memmap2]
version = "0.9"
[dependencies.mime_guess]
version = "2"
[dependencies.minijinja]
version = "2.6"
[dependencies.prost]
version = "0.14.3"
[dependencies.prost-reflect]
version = "0.16"
features = ["serde"]
[dependencies.prost-types]
version = "0.14.3"
[dependencies.rand]
version = "0.10"
[dependencies.reqwest]
version = "0.13"
features = [
"rustls",
"http2",
]
default-features = false
[dependencies.rust-embed]
version = "8"
[dependencies.rustls]
version = "0.23"
features = [
"ring",
"logging",
"std",
"tls12",
]
default-features = false
[dependencies.rustyline]
version = "18"
features = ["derive"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml_ng]
version = "0.10"
[dependencies.sysinfo]
version = "0.39"
[dependencies.tokio]
version = "1.52"
features = ["full"]
[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]
[dependencies.tonic]
version = "0.14.5"
features = [
"tls-ring",
"tls-native-roots",
"transport",
"gzip",
]
[dependencies.tonic-prost]
version = "0.14.5"
optional = true
[dependencies.tonic-reflection]
version = "0.14.5"
[dependencies.tower-http]
version = "0.7"
features = [
"cors",
"fs",
"trace",
]
[dependencies.tower-lsp]
version = "0.20"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.url]
version = "2.5"
[dependencies.uuid]
version = "1.23"
features = [
"v4",
"v5",
"serde",
]
[dependencies.walkdir]
version = "2.5"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.tempfile]
version = "3.27"
[dev-dependencies.uuid]
version = "1.23"
features = [
"v4",
"v5",
"serde",
]
[build-dependencies.protoc-bin-vendored]
version = "3"
optional = true
[build-dependencies.tonic-prost-build]
version = "0.14.5"
optional = true