[package]
edition = "2024"
name = "sqlcx-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQL-first cross-language type-safe code generator — core library"
readme = false
license = "MIT"
resolver = "2"
[features]
default = []
migrate = ["dep:postgres"]
[lib]
name = "sqlcx_core"
path = "src/lib.rs"
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[[test]]
name = "typecheck"
path = "tests/typecheck.rs"
[[test]]
name = "typecheck_go"
path = "tests/typecheck_go.rs"
[[test]]
name = "typecheck_python"
path = "tests/typecheck_python.rs"
[[test]]
name = "typecheck_rust"
path = "tests/typecheck_rust.rs"
[dependencies.glob]
version = "0.3"
[dependencies.postgres]
version = "0.19"
optional = true
[dependencies.regex]
version = "1"
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlparser]
version = "0.53"
features = ["visitor"]
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "0.8"
[dev-dependencies.insta]
version = "1"
features = ["json"]
[dev-dependencies.tempfile]
version = "3"