[package]
edition = "2021"
rust-version = "1.75"
name = "fraiseql-cli"
version = "2.0.0-alpha.6"
authors = ["FraiseQL Team <team@fraiseql.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI tools for FraiseQL v2 - Schema compilation and development utilities"
homepage = "https://fraiseql.dev"
documentation = "https://docs.fraiseql.dev"
readme = false
keywords = [
"graphql",
"database",
"compiler",
"sql",
]
categories = [
"database",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fraiseql/fraiseql"
[lib]
name = "fraiseql_cli"
path = "src/lib.rs"
[[bin]]
name = "fraiseql-cli"
path = "src/main.rs"
[[test]]
name = "ai_agent_tests"
path = "tests/ai_agent_tests.rs"
[[test]]
name = "analyze_command_tests"
path = "tests/analyze_command_tests.rs"
[[test]]
name = "bench_rich_filters"
path = "tests/bench_rich_filters.rs"
[[test]]
name = "cli_federation_validation"
path = "tests/cli_federation_validation.rs"
[[test]]
name = "cli_help_tests"
path = "tests/cli_help_tests.rs"
[[test]]
name = "cost_command_tests"
path = "tests/cost_command_tests.rs"
[[test]]
name = "dependency_graph_command_tests"
path = "tests/dependency_graph_command_tests.rs"
[[test]]
name = "e2e_schema_generation"
path = "tests/e2e_schema_generation.rs"
[[test]]
name = "explain_command_tests"
path = "tests/explain_command_tests.rs"
[[test]]
name = "federation_cli_advanced"
path = "tests/federation_cli_advanced.rs"
[[test]]
name = "federation_cli_compose"
path = "tests/federation_cli_compose.rs"
[[test]]
name = "federation_composition_advanced"
path = "tests/federation_composition_advanced.rs"
[[test]]
name = "federation_composition_validator"
path = "tests/federation_composition_validator.rs"
[[test]]
name = "federation_cross_subgraph_validation"
path = "tests/federation_cross_subgraph_validation.rs"
[[test]]
name = "federation_cross_subgraph_validation_advanced"
path = "tests/federation_cross_subgraph_validation_advanced.rs"
[[test]]
name = "federation_edge_cases"
path = "tests/federation_edge_cases.rs"
[[test]]
name = "federation_graph_tests"
path = "tests/federation_graph_tests.rs"
[[test]]
name = "federation_validation"
path = "tests/federation_validation.rs"
[[test]]
name = "integration_compiler_field_rbac"
path = "tests/integration_compiler_field_rbac.rs"
[[test]]
name = "integration_custom_scalars"
path = "tests/integration_custom_scalars.rs"
[[test]]
name = "integration_domain_discovery"
path = "tests/integration_domain_discovery.rs"
[[test]]
name = "integration_rich_filters"
path = "tests/integration_rich_filters.rs"
[[test]]
name = "integration_toml_workflow"
path = "tests/integration_toml_workflow.rs"
[[test]]
name = "jsonb_column_preservation_test"
path = "tests/jsonb_column_preservation_test.rs"
[[test]]
name = "lint_command_tests"
path = "tests/lint_command_tests.rs"
[[test]]
name = "security_config_integration"
path = "tests/security_config_integration.rs"
[[test]]
name = "test_generate_views"
path = "tests/test_generate_views.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"cargo",
"color",
"suggestions",
]
[dependencies.deadpool-postgres]
version = "0.14"
[dependencies.fraiseql-core]
version = "2.0.0-alpha.5"
features = ["postgres"]
[dependencies.glob]
version = "0.3"
[dependencies.notify]
version = "7.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.42"
features = ["full"]
[dependencies.tokio-postgres]
version = "0.7"
features = [
"with-serde_json-1",
"with-uuid-1",
"with-chrono-0_4",
"with-serde_json-1",
]
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
"ansi",
]
[dependencies.walkdir]
version = "2"
[dev-dependencies.tempfile]
version = "3.8"
[lints.clippy]
cargo_common_metadata = "allow"
if_not_else = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unnecessary_wraps = "allow"
unused_async = "allow"
unused_enumerate_index = "allow"
unused_self = "allow"
use_self = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
dead_code = "warn"
missing_docs = "warn"
unsafe_code = "forbid"
unused_imports = "warn"
unused_variables = "warn"