[[bench]]
harness = false
name = "where_evaluation"
path = "benches/where_evaluation.rs"
[[bin]]
name = "action_debugger"
path = "src/bin/action_debugger.rs"
[[bin]]
name = "action_logger"
path = "src/bin/action_logger.rs"
[[bin]]
name = "dataview_debug"
path = "src/bin/dataview_debug.rs"
[[bin]]
name = "json_perf_test"
path = "src/bin/json_perf_test.rs"
[[bin]]
name = "minimal_perf_test"
path = "src/bin/minimal_perf_test.rs"
[[bin]]
name = "optimized_perf_test"
path = "src/bin/optimized_perf_test.rs"
[[bin]]
name = "sql-cli"
path = "src/main.rs"
[[bin]]
name = "sql-cli-chart"
path = "src/chart_main.rs"
[[bin]]
name = "stats_benchmark"
path = "src/bin/stats_benchmark.rs"
[[bin]]
name = "stats_test_simple"
path = "src/bin/stats_test_simple.rs"
[[bin]]
name = "test_chord"
path = "src/bin/test_chord.rs"
[[bin]]
name = "test_float_format"
path = "src/bin/test_float_format.rs"
[[bin]]
name = "test_like_parse"
path = "src/bin/test_like_parse.rs"
[[bin]]
name = "test_linq_parse"
path = "src/bin/test_linq_parse.rs"
[[bin]]
name = "test_viewport_efficiency"
path = "src/bin/test_viewport_efficiency.rs"
[[bin]]
name = "test_visual_simple"
path = "src/bin/test_visual_simple.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.arboard]
version = "3.2"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.clap]
version = "4.0"
[dependencies.comfy-table]
version = "7.0"
[dependencies.crossterm]
features = ["use-dev-tty"]
version = "0.28"
[dependencies.csv]
version = "1.3"
[dependencies.dirs]
version = "5.0"
[dependencies.fuzzy-matcher]
version = "0.3"
[dependencies.lazy_static]
version = "1.4"
[dependencies.nom]
version = "7.1"
[dependencies.ratatui]
version = "0.29"
[dependencies.reedline]
version = "0.30"
[dependencies.regex]
version = "1.0"
[dependencies.reqwest]
features = ["json", "blocking"]
version = "0.11"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.syntect]
version = "5.0"
[dependencies.tokio]
features = ["full"]
version = "1.35"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
features = ["env-filter", "time", "local-time"]
version = "0.3"
[dependencies.tui-input]
features = ["crossterm"]
version = "0.11"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.tempfile]
version = "3.8"
[lib]
name = "sql_cli"
path = "src/lib.rs"
[package]
authors = ["TimelordUK <sjames8888@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["command-line-utilities", "database", "development-tools"]
description = "SQL query tool for CSV/JSON with both interactive TUI and non-interactive CLI modes - perfect for exploration and automation"
documentation = "https://github.com/TimelordUK/sql-cli"
edition = "2021"
exclude = ["sql-cli/", "proxy-server/", "TradeApi/", "TradeApi.Tests/", "*.gif", "*.cast", "*.csv", "*.json", "*.ps1", "coverage/", "scripts/", ".github/", ".vscode/", ".idea/", "demos/", "docs/images/"]
homepage = "https://github.com/TimelordUK/sql-cli"
keywords = ["csv", "tui", "sql", "vim", "data-analysis"]
license = "MIT"
name = "sql-cli"
readme = "README.md"
repository = "https://github.com/TimelordUK/sql-cli"
version = "1.38.0"
[profile.dev]
debug = 2
debug-assertions = true
opt-level = 0
overflow-checks = true
[profile.release]
codegen-units = 1
lto = true
opt-level = "z"
strip = true
[target."cfg(windows)".dependencies.winapi]
features = ["processthreadsapi", "psapi", "memoryapi"]
version = "0.3"
[[test]]
name = "data_view_tests"
path = "tests/data_view_tests.rs"
[[test]]
name = "data_view_trades_test"
path = "tests/data_view_trades_test.rs"
[[test]]
name = "datatable_conversion_test"
path = "tests/datatable_conversion_test.rs"
[[test]]
name = "datatable_integration_test"
path = "tests/datatable_integration_test.rs"
[[test]]
name = "datetime_completion"
path = "tests/datetime_completion.rs"
[[test]]
name = "history_protection_integration"
path = "tests/history_protection_integration.rs"
[[test]]
name = "method_evaluation_test"
path = "tests/method_evaluation_test.rs"
[[test]]
name = "parser_regression_tests"
path = "tests/parser_regression_tests.rs"
[[test]]
name = "real_query_capture"
path = "tests/real_query_capture.rs"
[[test]]
name = "test_arithmetic_operations"
path = "tests/test_arithmetic_operations.rs"
[[test]]
name = "test_between_parsing"
path = "tests/test_between_parsing.rs"
[[test]]
name = "test_buffer"
path = "tests/test_buffer.rs"
[[test]]
name = "test_buffer_state_refactor"
path = "tests/test_buffer_state_refactor.rs"
[[test]]
name = "test_cache_query"
path = "tests/test_cache_query.rs"
[[test]]
name = "test_case_insensitive"
path = "tests/test_case_insensitive.rs"
[[test]]
name = "test_column_search"
path = "tests/test_column_search.rs"
[[test]]
name = "test_column_sizing"
path = "tests/test_column_sizing.rs"
[[test]]
name = "test_column_suggestions"
path = "tests/test_column_suggestions.rs"
[[test]]
name = "test_complex_date_queries"
path = "tests/test_complex_date_queries.rs"
[[test]]
name = "test_complex_queries"
path = "tests/test_complex_queries.rs"
[[test]]
name = "test_comprehensive_operators"
path = "tests/test_comprehensive_operators.rs"
[[test]]
name = "test_datatable_provider"
path = "tests/test_datatable_provider.rs"
[[test]]
name = "test_date_formats"
path = "tests/test_date_formats.rs"
[[test]]
name = "test_dateadd"
path = "tests/test_dateadd.rs"
[[test]]
name = "test_datediff"
path = "tests/test_datediff.rs"
[[test]]
name = "test_distinct_parsing"
path = "tests/test_distinct_parsing.rs"
[[test]]
name = "test_filter_fix"
path = "tests/test_filter_fix.rs"
[[test]]
name = "test_function_parsing_poc"
path = "tests/test_function_parsing_poc.rs"
[[test]]
name = "test_function_registry"
path = "tests/test_function_registry.rs"
[[test]]
name = "test_indexof_space"
path = "tests/test_indexof_space.rs"
[[test]]
name = "test_input_navigation"
path = "tests/test_input_navigation.rs"
[[test]]
name = "test_interned_string_sort"
path = "tests/test_interned_string_sort.rs"
[[test]]
name = "test_json_loading"
path = "tests/test_json_loading.rs"
[[test]]
name = "test_math_functions"
path = "tests/test_math_functions.rs"
[[test]]
name = "test_mixed_numeric_sorting"
path = "tests/test_mixed_numeric_sorting.rs"
[[test]]
name = "test_multi_buffer"
path = "tests/test_multi_buffer.rs"
[[test]]
name = "test_multi_column_interned_sort"
path = "tests/test_multi_column_interned_sort.rs"
[[test]]
name = "test_multi_column_order_by"
path = "tests/test_multi_column_order_by.rs"
[[test]]
name = "test_numeric_columns"
path = "tests/test_numeric_columns.rs"
[[test]]
name = "test_numeric_comparison"
path = "tests/test_numeric_comparison.rs"
[[test]]
name = "test_numeric_sorting"
path = "tests/test_numeric_sorting.rs"
[[test]]
name = "test_order_by_asc_desc"
path = "tests/test_order_by_asc_desc.rs"
[[test]]
name = "test_original_preservation"
path = "tests/test_original_preservation.rs"
[[test]]
name = "test_parentheses_errors"
path = "tests/test_parentheses_errors.rs"
[[test]]
name = "test_parser_star"
path = "tests/test_parser_star.rs"
[[test]]
name = "test_pinned_columns"
path = "tests/test_pinned_columns.rs"
[[test]]
name = "test_query_engine"
path = "tests/test_query_engine.rs"
[[test]]
name = "test_query_scoping"
path = "tests/test_query_scoping.rs"
[[test]]
name = "test_scientific_notation"
path = "tests/test_scientific_notation.rs"
[[test]]
name = "test_simple_arithmetic"
path = "tests/test_simple_arithmetic.rs"
[[test]]
name = "test_sort_verification"
path = "tests/test_sort_verification.rs"
[[test]]
name = "test_star_arithmetic"
path = "tests/test_star_arithmetic.rs"
[[test]]
name = "test_textjoin"
path = "tests/test_textjoin.rs"
[[test]]
name = "test_trades_queries"
path = "tests/test_trades_queries.rs"
[[test]]
name = "test_trim_methods"
path = "tests/test_trim_methods.rs"
[[test]]
name = "test_type_coercion_datetime"
path = "tests/test_type_coercion_datetime.rs"
[[test]]
name = "test_viewport_buffer_sync"
path = "tests/test_viewport_buffer_sync.rs"
[[test]]
name = "test_where_arithmetic"
path = "tests/test_where_arithmetic.rs"
[[test]]
name = "test_yanked_query"
path = "tests/test_yanked_query.rs"
[[test]]
name = "tui_integration_test"
path = "tests/tui_integration_test.rs"
[[test]]
name = "viewport_manager_test"
path = "tests/viewport_manager_test.rs"