[package]
edition = "2021"
name = "sqrust-rules"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast SQL linter written in Rust — the Ruff for SQL"
homepage = "https://github.com/nafistiham/SQRust"
readme = "README.md"
keywords = [
"sql",
"linter",
"dbt",
"sqlfluff",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/nafistiham/SQRust"
[lib]
name = "sqrust_rules"
path = "src/lib.rs"
[[test]]
name = "aggregate_in_where_test"
path = "tests/aggregate_in_where_test.rs"
[[test]]
name = "alter_table_add_not_null_without_default_test"
path = "tests/alter_table_add_not_null_without_default_test.rs"
[[test]]
name = "alter_table_drop_column_test"
path = "tests/alter_table_drop_column_test.rs"
[[test]]
name = "ambiguous_bool_op_test"
path = "tests/ambiguous_bool_op_test.rs"
[[test]]
name = "ambiguous_date_format_test"
path = "tests/ambiguous_date_format_test.rs"
[[test]]
name = "arithmetic_operator_at_line_end_test"
path = "tests/arithmetic_operator_at_line_end_test.rs"
[[test]]
name = "arithmetic_operator_padding_test"
path = "tests/arithmetic_operator_padding_test.rs"
[[test]]
name = "blank_line_after_cte_test"
path = "tests/blank_line_after_cte_test.rs"
[[test]]
name = "blank_line_between_statements_test"
path = "tests/blank_line_between_statements_test.rs"
[[test]]
name = "boolean_comparison_test"
path = "tests/boolean_comparison_test.rs"
[[test]]
name = "case_else_test"
path = "tests/case_else_test.rs"
[[test]]
name = "case_when_count_test"
path = "tests/case_when_count_test.rs"
[[test]]
name = "chained_comparisons_test"
path = "tests/chained_comparisons_test.rs"
[[test]]
name = "clause_on_new_line_test"
path = "tests/clause_on_new_line_test.rs"
[[test]]
name = "coalesce_null_arg_test"
path = "tests/coalesce_null_arg_test.rs"
[[test]]
name = "coalesce_test"
path = "tests/coalesce_test.rs"
[[test]]
name = "colon_cast_test"
path = "tests/colon_cast_test.rs"
[[test]]
name = "column_alias_in_where_test"
path = "tests/column_alias_in_where_test.rs"
[[test]]
name = "column_count_test"
path = "tests/column_count_test.rs"
[[test]]
name = "column_name_conflict_test"
path = "tests/column_name_conflict_test.rs"
[[test]]
name = "comma_style_test"
path = "tests/comma_style_test.rs"
[[test]]
name = "comment_spacing_test"
path = "tests/comment_spacing_test.rs"
[[test]]
name = "comment_style_test"
path = "tests/comment_style_test.rs"
[[test]]
name = "comparison_operator_spacing_test"
path = "tests/comparison_operator_spacing_test.rs"
[[test]]
name = "concat_operator_test"
path = "tests/concat_operator_test.rs"
[[test]]
name = "consecutive_semicolons_test"
path = "tests/consecutive_semicolons_test.rs"
[[test]]
name = "consistent_comment_style_test"
path = "tests/consistent_comment_style_test.rs"
[[test]]
name = "count_star_test"
path = "tests/count_star_test.rs"
[[test]]
name = "create_or_replace_test"
path = "tests/create_or_replace_test.rs"
[[test]]
name = "create_table_without_primary_key_test"
path = "tests/create_table_without_primary_key_test.rs"
[[test]]
name = "cross_join_keyword_test"
path = "tests/cross_join_keyword_test.rs"
[[test]]
name = "delete_without_where_test"
path = "tests/delete_without_where_test.rs"
[[test]]
name = "distinct_group_by_test"
path = "tests/distinct_group_by_test.rs"
[[test]]
name = "distinct_parenthesis_test"
path = "tests/distinct_parenthesis_test.rs"
[[test]]
name = "division_by_zero_test"
path = "tests/division_by_zero_test.rs"
[[test]]
name = "drop_schema_statement_test"
path = "tests/drop_schema_statement_test.rs"
[[test]]
name = "drop_table_if_exists_test"
path = "tests/drop_table_if_exists_test.rs"
[[test]]
name = "duplicate_alias_test"
path = "tests/duplicate_alias_test.rs"
[[test]]
name = "duplicate_column_in_create_test"
path = "tests/duplicate_column_in_create_test.rs"
[[test]]
name = "duplicate_condition_test"
path = "tests/duplicate_condition_test.rs"
[[test]]
name = "duplicate_cte_names_test"
path = "tests/duplicate_cte_names_test.rs"
[[test]]
name = "duplicate_join_test"
path = "tests/duplicate_join_test.rs"
[[test]]
name = "empty_in_list_test"
path = "tests/empty_in_list_test.rs"
[[test]]
name = "empty_string_comparison_test"
path = "tests/empty_string_comparison_test.rs"
[[test]]
name = "excessive_group_by_test"
path = "tests/excessive_group_by_test.rs"
[[test]]
name = "excessive_where_conditions_test"
path = "tests/excessive_where_conditions_test.rs"
[[test]]
name = "exists_over_in_test"
path = "tests/exists_over_in_test.rs"
[[test]]
name = "explicit_alias_test"
path = "tests/explicit_alias_test.rs"
[[test]]
name = "floating_point_comparison_test"
path = "tests/floating_point_comparison_test.rs"
[[test]]
name = "full_outer_join_test"
path = "tests/full_outer_join_test.rs"
[[test]]
name = "function_call_depth_test"
path = "tests/function_call_depth_test.rs"
[[test]]
name = "function_on_filtered_column_test"
path = "tests/function_on_filtered_column_test.rs"
[[test]]
name = "functions_test"
path = "tests/functions_test.rs"
[[test]]
name = "grant_all_privileges_test"
path = "tests/grant_all_privileges_test.rs"
[[test]]
name = "group_by_position_test"
path = "tests/group_by_position_test.rs"
[[test]]
name = "having_conditions_count_test"
path = "tests/having_conditions_count_test.rs"
[[test]]
name = "having_without_aggregate_test"
path = "tests/having_without_aggregate_test.rs"
[[test]]
name = "having_without_group_by_test"
path = "tests/having_without_group_by_test.rs"
[[test]]
name = "if_null_function_test"
path = "tests/if_null_function_test.rs"
[[test]]
name = "implicit_cross_join_test"
path = "tests/implicit_cross_join_test.rs"
[[test]]
name = "in_null_comparison_test"
path = "tests/in_null_comparison_test.rs"
[[test]]
name = "in_single_value_test"
path = "tests/in_single_value_test.rs"
[[test]]
name = "inconsistent_column_reference_test"
path = "tests/inconsistent_column_reference_test.rs"
[[test]]
name = "inconsistent_order_by_direction_test"
path = "tests/inconsistent_order_by_direction_test.rs"
[[test]]
name = "insert_or_replace_test"
path = "tests/insert_or_replace_test.rs"
[[test]]
name = "insert_without_column_list_test"
path = "tests/insert_without_column_list_test.rs"
[[test]]
name = "is_null_test"
path = "tests/is_null_test.rs"
[[test]]
name = "join_condition_style_test"
path = "tests/join_condition_style_test.rs"
[[test]]
name = "join_without_condition_test"
path = "tests/join_without_condition_test.rs"
[[test]]
name = "keywords_test"
path = "tests/keywords_test.rs"
[[test]]
name = "large_in_list_test"
path = "tests/large_in_list_test.rs"
[[test]]
name = "leading_comma_test"
path = "tests/leading_comma_test.rs"
[[test]]
name = "leading_operator_test"
path = "tests/leading_operator_test.rs"
[[test]]
name = "leading_zero_numeric_test"
path = "tests/leading_zero_numeric_test.rs"
[[test]]
name = "left_join_test"
path = "tests/left_join_test.rs"
[[test]]
name = "like_percent_only_test"
path = "tests/like_percent_only_test.rs"
[[test]]
name = "like_tautology_test"
path = "tests/like_tautology_test.rs"
[[test]]
name = "like_without_wildcard_test"
path = "tests/like_without_wildcard_test.rs"
[[test]]
name = "limit_without_order_by_test"
path = "tests/limit_without_order_by_test.rs"
[[test]]
name = "literals_test"
path = "tests/literals_test.rs"
[[test]]
name = "long_lines_test"
path = "tests/long_lines_test.rs"
[[test]]
name = "max_blank_lines_test"
path = "tests/max_blank_lines_test.rs"
[[test]]
name = "max_identifier_length_test"
path = "tests/max_identifier_length_test.rs"
[[test]]
name = "max_join_on_conditions_test"
path = "tests/max_join_on_conditions_test.rs"
[[test]]
name = "max_statement_length_test"
path = "tests/max_statement_length_test.rs"
[[test]]
name = "mixed_aggregate_and_columns_test"
path = "tests/mixed_aggregate_and_columns_test.rs"
[[test]]
name = "mixed_join_types_test"
path = "tests/mixed_join_types_test.rs"
[[test]]
name = "mixed_line_endings_test"
path = "tests/mixed_line_endings_test.rs"
[[test]]
name = "natural_join_test"
path = "tests/natural_join_test.rs"
[[test]]
name = "negated_is_null_test"
path = "tests/negated_is_null_test.rs"
[[test]]
name = "nested_case_in_else_test"
path = "tests/nested_case_in_else_test.rs"
[[test]]
name = "nested_parentheses_test"
path = "tests/nested_parentheses_test.rs"
[[test]]
name = "nested_subquery_test"
path = "tests/nested_subquery_test.rs"
[[test]]
name = "no_char_type_test"
path = "tests/no_char_type_test.rs"
[[test]]
name = "no_current_timestamp_in_where_test"
path = "tests/no_current_timestamp_in_where_test.rs"
[[test]]
name = "no_double_spaces_test"
path = "tests/no_double_spaces_test.rs"
[[test]]
name = "no_multiple_statements_on_line_test"
path = "tests/no_multiple_statements_on_line_test.rs"
[[test]]
name = "no_null_default_test"
path = "tests/no_null_default_test.rs"
[[test]]
name = "no_select_all_test"
path = "tests/no_select_all_test.rs"
[[test]]
name = "no_using_clause_test"
path = "tests/no_using_clause_test.rs"
[[test]]
name = "non_deterministic_function_test"
path = "tests/non_deterministic_function_test.rs"
[[test]]
name = "non_deterministic_group_by_test"
path = "tests/non_deterministic_group_by_test.rs"
[[test]]
name = "not_equal_test"
path = "tests/not_equal_test.rs"
[[test]]
name = "null_in_not_in_test"
path = "tests/null_in_not_in_test.rs"
[[test]]
name = "nulls_ordering_test"
path = "tests/nulls_ordering_test.rs"
[[test]]
name = "or_in_join_condition_test"
path = "tests/or_in_join_condition_test.rs"
[[test]]
name = "or_instead_of_in_test"
path = "tests/or_instead_of_in_test.rs"
[[test]]
name = "order_by_in_subquery_test"
path = "tests/order_by_in_subquery_test.rs"
[[test]]
name = "order_by_position_test"
path = "tests/order_by_position_test.rs"
[[test]]
name = "order_by_with_offset_test"
path = "tests/order_by_with_offset_test.rs"
[[test]]
name = "parenthesis_spacing_test"
path = "tests/parenthesis_spacing_test.rs"
[[test]]
name = "recursive_cte_test"
path = "tests/recursive_cte_test.rs"
[[test]]
name = "redundant_between_test"
path = "tests/redundant_between_test.rs"
[[test]]
name = "select_distinct_star_test"
path = "tests/select_distinct_star_test.rs"
[[test]]
name = "select_distinct_with_group_by_test"
path = "tests/select_distinct_with_group_by_test.rs"
[[test]]
name = "select_null_expression_test"
path = "tests/select_null_expression_test.rs"
[[test]]
name = "select_only_literals_test"
path = "tests/select_only_literals_test.rs"
[[test]]
name = "select_star_test"
path = "tests/select_star_test.rs"
[[test]]
name = "select_star_with_other_columns_test"
path = "tests/select_star_with_other_columns_test.rs"
[[test]]
name = "select_target_new_line_test"
path = "tests/select_target_new_line_test.rs"
[[test]]
name = "select_top_n_test"
path = "tests/select_top_n_test.rs"
[[test]]
name = "self_comparison_test"
path = "tests/self_comparison_test.rs"
[[test]]
name = "self_join_test"
path = "tests/self_join_test.rs"
[[test]]
name = "set_operator_new_line_test"
path = "tests/set_operator_new_line_test.rs"
[[test]]
name = "single_space_after_comma_test"
path = "tests/single_space_after_comma_test.rs"
[[test]]
name = "space_after_semicolon_test"
path = "tests/space_after_semicolon_test.rs"
[[test]]
name = "space_around_equals_test"
path = "tests/space_around_equals_test.rs"
[[test]]
name = "space_before_comma_test"
path = "tests/space_before_comma_test.rs"
[[test]]
name = "statement_semicolons_test"
path = "tests/statement_semicolons_test.rs"
[[test]]
name = "subquery_in_group_by_test"
path = "tests/subquery_in_group_by_test.rs"
[[test]]
name = "subquery_in_order_by_test"
path = "tests/subquery_in_order_by_test.rs"
[[test]]
name = "subquery_in_select_test"
path = "tests/subquery_in_select_test.rs"
[[test]]
name = "subquery_without_alias_test"
path = "tests/subquery_without_alias_test.rs"
[[test]]
name = "tab_indentation_test"
path = "tests/tab_indentation_test.rs"
[[test]]
name = "table_alias_conflict_test"
path = "tests/table_alias_conflict_test.rs"
[[test]]
name = "too_many_ctes_test"
path = "tests/too_many_ctes_test.rs"
[[test]]
name = "too_many_joins_test"
path = "tests/too_many_joins_test.rs"
[[test]]
name = "too_many_order_by_columns_test"
path = "tests/too_many_order_by_columns_test.rs"
[[test]]
name = "too_many_subqueries_test"
path = "tests/too_many_subqueries_test.rs"
[[test]]
name = "too_many_unions_test"
path = "tests/too_many_unions_test.rs"
[[test]]
name = "trailing_blank_lines_test"
path = "tests/trailing_blank_lines_test.rs"
[[test]]
name = "trailing_comma_test"
path = "tests/trailing_comma_test.rs"
[[test]]
name = "trailing_newline_test"
path = "tests/trailing_newline_test.rs"
[[test]]
name = "trailing_whitespace_test"
path = "tests/trailing_whitespace_test.rs"
[[test]]
name = "truncate_table_test"
path = "tests/truncate_table_test.rs"
[[test]]
name = "types_test"
path = "tests/types_test.rs"
[[test]]
name = "unaliased_expression_test"
path = "tests/unaliased_expression_test.rs"
[[test]]
name = "unicode_identifiers_test"
path = "tests/unicode_identifiers_test.rs"
[[test]]
name = "union_all_test"
path = "tests/union_all_test.rs"
[[test]]
name = "union_column_mismatch_test"
path = "tests/union_column_mismatch_test.rs"
[[test]]
name = "unnecessary_case_when_test"
path = "tests/unnecessary_case_when_test.rs"
[[test]]
name = "unnecessary_else_null_test"
path = "tests/unnecessary_else_null_test.rs"
[[test]]
name = "unqualified_column_in_join_test"
path = "tests/unqualified_column_in_join_test.rs"
[[test]]
name = "unused_cte_test"
path = "tests/unused_cte_test.rs"
[[test]]
name = "unused_join_test"
path = "tests/unused_join_test.rs"
[[test]]
name = "unused_table_alias_test"
path = "tests/unused_table_alias_test.rs"
[[test]]
name = "update_set_duplicate_test"
path = "tests/update_set_duplicate_test.rs"
[[test]]
name = "update_without_where_test"
path = "tests/update_without_where_test.rs"
[[test]]
name = "where_tautology_test"
path = "tests/where_tautology_test.rs"
[[test]]
name = "whitespace_before_semicolon_test"
path = "tests/whitespace_before_semicolon_test.rs"
[[test]]
name = "wildcard_in_union_test"
path = "tests/wildcard_in_union_test.rs"
[[test]]
name = "window_function_without_partition_test"
path = "tests/window_function_without_partition_test.rs"
[[test]]
name = "window_without_order_by_test"
path = "tests/window_without_order_by_test.rs"
[[test]]
name = "zero_limit_clause_test"
path = "tests/zero_limit_clause_test.rs"
[dependencies.sqlparser]
version = "0.53"
[dependencies.sqrust-core]
version = "0.1.1"
[dev-dependencies.sqrust-core]
version = "0.1.1"