[package]
edition = "2024"
name = "scythe-codegen"
version = "0.20.0"
authors = ["Na'aman Hirschfeld"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Polyglot code generation backends for scythe"
homepage = "https://goldziher.github.io/scythe"
documentation = "https://goldziher.github.io/scythe"
readme = false
keywords = [
"sql",
"codegen",
"polyglot",
"code-generation",
"database",
]
categories = [
"development-tools",
"database",
]
license = "MIT"
repository = "https://github.com/Goldziher/scythe"
[lib]
name = "scythe_codegen"
path = "src/lib.rs"
[[test]]
name = "composite_text_escaping_regression"
path = "tests/composite_text_escaping_regression.rs"
[[test]]
name = "composite_type_name_regression"
path = "tests/composite_type_name_regression.rs"
[[test]]
name = "csharp_composite_param_regression"
path = "tests/csharp_composite_param_regression.rs"
[[test]]
name = "csharp_reader_type_regression"
path = "tests/csharp_reader_type_regression.rs"
[[test]]
name = "csharp_sibyl_one_contract_regression"
path = "tests/csharp_sibyl_one_contract_regression.rs"
[[test]]
name = "dialect_aware_sql_text_regression"
path = "tests/dialect_aware_sql_text_regression.rs"
[[test]]
name = "duckdb_bytes_regression"
path = "tests/duckdb_bytes_regression.rs"
[[test]]
name = "elixir_backend_regression"
path = "tests/elixir_backend_regression.rs"
[[test]]
name = "elixir_composite_from_tuple_regression"
path = "tests/elixir_composite_from_tuple_regression.rs"
[[test]]
name = "elixir_ecto_composite_param_regression"
path = "tests/elixir_ecto_composite_param_regression.rs"
[[test]]
name = "enum_and_query_name_regression"
path = "tests/enum_and_query_name_regression.rs"
[[test]]
name = "field_shape_regression"
path = "tests/field_shape_regression.rs"
[[test]]
name = "go_composite_param_regression"
path = "tests/go_composite_param_regression.rs"
[[test]]
name = "go_elixir_one_contract_regression"
path = "tests/go_elixir_one_contract_regression.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "json_array_container_consistency"
path = "tests/json_array_container_consistency.rs"
[[test]]
name = "jvm_array_column_regression"
path = "tests/jvm_array_column_regression.rs"
[[test]]
name = "jvm_composite_param_regression"
path = "tests/jvm_composite_param_regression.rs"
[[test]]
name = "jvm_composite_read_regression"
path = "tests/jvm_composite_read_regression.rs"
[[test]]
name = "jvm_one_contract_regression"
path = "tests/jvm_one_contract_regression.rs"
[[test]]
name = "jvm_reader_type_regression"
path = "tests/jvm_reader_type_regression.rs"
[[test]]
name = "manifest_driven_types_regression"
path = "tests/manifest_driven_types_regression.rs"
[[test]]
name = "nested_struct_degradation_regression"
path = "tests/nested_struct_degradation_regression.rs"
[[test]]
name = "opt_command_regression"
path = "tests/opt_command_regression.rs"
[[test]]
name = "php_array_type_regression"
path = "tests/php_array_type_regression.rs"
[[test]]
name = "php_composite_param_regression"
path = "tests/php_composite_param_regression.rs"
[[test]]
name = "placeholder_binding_order_regression"
path = "tests/placeholder_binding_order_regression.rs"
[[test]]
name = "python_composite_enum_read_regression"
path = "tests/python_composite_enum_read_regression.rs"
[[test]]
name = "python_composite_param_regression"
path = "tests/python_composite_param_regression.rs"
[[test]]
name = "python_named_placeholder_regression"
path = "tests/python_named_placeholder_regression.rs"
[[test]]
name = "python_one_contract_regression"
path = "tests/python_one_contract_regression.rs"
[[test]]
name = "python_percent_literal_regression"
path = "tests/python_percent_literal_regression.rs"
[[test]]
name = "range_container_consistency"
path = "tests/range_container_consistency.rs"
[[test]]
name = "reserved_word_regression"
path = "tests/reserved_word_regression.rs"
[[test]]
name = "ruby_composite_param_regression"
path = "tests/ruby_composite_param_regression.rs"
[[test]]
name = "ruby_oci8_lob_regression"
path = "tests/ruby_oci8_lob_regression.rs"
[[test]]
name = "ruby_php_one_contract_regression"
path = "tests/ruby_php_one_contract_regression.rs"
[[test]]
name = "ruby_rbs_regression"
path = "tests/ruby_rbs_regression.rs"
[[test]]
name = "rust_composite_param_regression"
path = "tests/rust_composite_param_regression.rs"
[[test]]
name = "rust_tokio_postgres_enum_def_compiles"
path = "tests/rust_tokio_postgres_enum_def_compiles.rs"
[[test]]
name = "sql_literal_injection_regression"
path = "tests/sql_literal_injection_regression.rs"
[[test]]
name = "sqlx_from_row_rename_regression"
path = "tests/sqlx_from_row_rename_regression.rs"
[[test]]
name = "sqlx_grouped_query_regression"
path = "tests/sqlx_grouped_query_regression.rs"
[[test]]
name = "sqlx_query_fn_column_alias_regression"
path = "tests/sqlx_query_fn_column_alias_regression.rs"
[[test]]
name = "tokio_postgres_composite_derive_regression"
path = "tests/tokio_postgres_composite_derive_regression.rs"
[[test]]
name = "tokio_postgres_range_wrapper_compiles"
path = "tests/tokio_postgres_range_wrapper_compiles.rs"
[[test]]
name = "tool_validation"
path = "tests/tool_validation.rs"
[[test]]
name = "ts_composite_param_regression"
path = "tests/ts_composite_param_regression.rs"
[[test]]
name = "ts_duckdb_driver_api_regression"
path = "tests/ts_duckdb_driver_api_regression.rs"
[[test]]
name = "ts_identifier_quoting_regression"
path = "tests/ts_identifier_quoting_regression.rs"
[[test]]
name = "ts_one_contract_regression"
path = "tests/ts_one_contract_regression.rs"
[[test]]
name = "ts_oracledb_regression"
path = "tests/ts_oracledb_regression.rs"
[[test]]
name = "ts_postgres_batch_placeholder_regression"
path = "tests/ts_postgres_batch_placeholder_regression.rs"
[[test]]
name = "ts_zod_manifest_agreement_regression"
path = "tests/ts_zod_manifest_agreement_regression.rs"
[[test]]
name = "typescript_composite_read_regression"
path = "tests/typescript_composite_read_regression.rs"
[[test]]
name = "validate_generated_code_regression"
path = "tests/validate_generated_code_regression.rs"
[[bench]]
name = "analyze_codegen"
path = "benches/analyze_codegen.rs"
harness = false
[dependencies.ahash]
version = "0.8"
features = ["serde"]
[dependencies.scythe-backend]
version = "0.20.0"
[dependencies.scythe-core]
version = "0.20.0"
[dependencies.toml]
version = "1.1"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.scythe-lint]
version = "0.20.0"
[dev-dependencies.syn]
version = "3"
features = [
"full",
"parsing",
]