Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
121 lines (112 loc) · 4.33 KB
/
Copy pathCargo.toml
File metadata and controls
121 lines (112 loc) · 4.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[workspace]
members = [
"crates/sqlquack-syntax",
"crates/sqlquack-syntax-snowflake",
"crates/sqlquack-derive",
"crates/sqlquack-diagnostics",
"crates/sqlquack-parse",
"crates/sqlquack-semantics",
"crates/sqlquack-convert",
"crates/sqlquack-blocks",
"crates/sqlquack-policy",
"crates/sqlquack-compare",
"crates/sqlquack-evidence",
"crates/sqlquack",
"tools/sqlquack-coverage-check",
"crates/sqlquack-syntax-postgres",
"crates/sqlquack-lint",
"crates/sqlquack-syntax-bigquery",
"crates/sqlquack-syntax-sqlite",
"crates/sqlquack-fingerprint",
"crates/sqlquack-format",
"tools/sqlquack-format-check",
"crates/sqlquack-syntax-duckdb",
"crates/sqlquack-syntax-databricks",
"crates/sqlquack-syntax-clickhouse",
"crates/sqlquack-syntax-sqlserver",
"crates/sqlquack-python",
]
exclude = ["fuzz"]
resolver = "2"
[workspace.package]
version = "0.9.0"
edition = "2024"
license = "Apache-2.0"
repository = "https://github.com/sqlstack-io/sqlquack"
homepage = "https://github.com/sqlstack-io/sqlquack"
readme = "README.md"
publish = false
rust-version = "1.88"
[workspace.dependencies]
anstream = "1.0"
arrow = { version = "60", default-features = false, features = ["ipc"] }
clap = { version = "4.5", features = ["derive"] }
duckdb = "=1.20000.0"
proc-macro2 = "1"
quote = "1"
rayon = "1"
regex = "1"
rustc-hash = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# The Python module; abi3, so one build loads into every CPython from 3.12.
saphyr-parser = "0.1"
pyo3 = { version = "0.30.1", features = ["abi3-py312"] }
sha2 = "0.10"
sqlquack = { path = "crates/sqlquack" }
sqlquack-compare = { path = "crates/sqlquack-compare" }
sqlquack-convert = { path = "crates/sqlquack-convert" }
sqlquack-diagnostics = { path = "crates/sqlquack-diagnostics" }
sqlquack-blocks = { path = "crates/sqlquack-blocks", default-features = false }
sqlquack-evidence = { path = "crates/sqlquack-evidence" }
sqlquack-fingerprint = { path = "crates/sqlquack-fingerprint" }
sqlquack-format = { path = "crates/sqlquack-format" }
sqlquack-lint = { path = "crates/sqlquack-lint" }
sqlquack-parse = { path = "crates/sqlquack-parse" }
sqlquack-policy = { path = "crates/sqlquack-policy" }
sqlquack-semantics = { path = "crates/sqlquack-semantics" }
sqlquack-syntax = { path = "crates/sqlquack-syntax" }
sqlquack-syntax-snowflake = { path = "crates/sqlquack-syntax-snowflake" }
sqlquack-derive = { path = "crates/sqlquack-derive" }
sqlquack-syntax-postgres = { path = "crates/sqlquack-syntax-postgres" }
sqlquack-syntax-bigquery = { path = "crates/sqlquack-syntax-bigquery" }
sqlquack-syntax-sqlite = { path = "crates/sqlquack-syntax-sqlite" }
sqlquack-syntax-duckdb = { path = "crates/sqlquack-syntax-duckdb" }
sqlquack-syntax-databricks = { path = "crates/sqlquack-syntax-databricks" }
sqlquack-syntax-clickhouse = { path = "crates/sqlquack-syntax-clickhouse" }
sqlquack-syntax-sqlserver = { path = "crates/sqlquack-syntax-sqlserver" }
stacker = "0.1"
syn = { version = "2", features = ["full"] }
tempfile = "3"
thiserror = "1.0"
toml = { version = "0.9", default-features = false, features = ["parse", "serde"] }
unicode-segmentation = "1.10"
walkdir = "2"
[workspace.lints.rust]
unsafe_code = "forbid"
unreachable_pub = "deny"
unused_must_use = "deny"
[workspace.lints.clippy]
await_holding_lock = "deny"
[profile.dev]
debug = "line-tables-only"
[profile.dev.package."*"]
opt-level = 1
debug = false
[profile.release]
strip = "symbols"
# The merge gate's one build: check-ci's Python module and command line and the Rust tests all use
# it, so a gate compiles the workspace once. Debug assertions and overflow checks stay on; opt-level 1
# runs the tests as fast as opt-level 3 and compiles in about half the time.
[profile.gate]
inherits = "release"
opt-level = 1
debug-assertions = true
overflow-checks = true
strip = "none"
# DuckDB from the duckdb-rs commit that crates.io's 1.20000.0 was published from, with its DuckDB
# sources checkout: compiling ICU in (sqlquack-blocks' `bundled`) needs those sources, which the
# crates.io package does not ship. Published manifests keep the crates.io versions.
[patch.crates-io]
duckdb = { git = "https://github.com/duckdb/duckdb-rs", rev = "1b8f7cca6e28c5ea8c4185aaa266424f25c3dfdc" }
libduckdb-sys = { git = "https://github.com/duckdb/duckdb-rs", rev = "1b8f7cca6e28c5ea8c4185aaa266424f25c3dfdc" }