Skip to content

Commit 49958b6

Browse files
committed
chore: add crate publishing metadata
1 parent 9ac2739 commit 49958b6

8 files changed

Lines changed: 22 additions & 3 deletions

File tree

‎Cargo.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ resolver = "2"
1010
edition = "2021"
1111
license = "MIT"
1212
repository = "https://github.com/klonge/sqlquack"
13+
readme = "README.md"

‎README.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SQLQuack
2+
3+
SQLQuack is an early-stage Rust SQL semantic engine for warehouse SQL analysis and fail-closed DuckDB transpilation.
4+
5+
The project is inspired by SQLGlot's feature breadth, but it is not intended to be an `N x N` best-effort transpiler. SQLQuack focuses on structured analysis first and only emits DuckDB SQL when supported semantics are expected to be preserved.
6+
7+
Status: early development. APIs are unstable.

‎crates/sqlquack-python/Cargo.toml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ version = "0.1.0"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true
7+
readme.workspace = true
8+
description = "Python binding crate placeholder for SQLQuack"
9+
publish = false
710

811
[lib]
912
name = "sqlquack_python"

‎crates/sqlquack-structure-checker/Cargo.toml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ version = "0.1.0"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true
7+
readme.workspace = true
8+
description = "Internal structure checker for SQLQuack development"
9+
publish = false
710

811
[dependencies]
912
proc-macro2 = { version = "1.0", features = ["span-locations"] }

‎crates/sqlquack-structure-checker/tests/rules/helpers.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ pub(crate) fn make_temp_repo(test_case: &test_types::CheckRepoTestCase) -> path:
1717
repo_root
1818
}
1919

20-
pub(crate) fn collect_violation_codes(repo_root: &path::Path) -> Vec<&'static str> {
20+
pub(crate) fn collect_source_violation_codes(repo_root: &path::Path) -> Vec<&'static str> {
2121
rules::check_repo(repo_root)
2222
.iter()
23+
.filter(|violation| violation.code.starts_with("SQS"))
2324
.map(|violation| violation.code)
2425
.collect()
2526
}

‎crates/sqlquack-structure-checker/tests/rules/imports.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const TEST_CASES: &[test_types::CheckRepoTestCase] = &[
3232
fn given_import_rules_when_checking_structure_then_reports_expected_violation_codes() {
3333
for test_case in TEST_CASES {
3434
let repo_root = helpers::make_temp_repo(test_case);
35-
let actual_codes = helpers::collect_violation_codes(&repo_root);
35+
let actual_codes = helpers::collect_source_violation_codes(&repo_root);
3636

3737
assert_eq!(
3838
actual_codes.as_slice(),

‎crates/sqlquack-structure-checker/tests/rules/role_files.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const TEST_CASES: &[test_types::CheckRepoTestCase] = &[
7777
fn given_source_role_files_when_checking_structure_then_reports_expected_violation_codes() {
7878
for test_case in TEST_CASES {
7979
let repo_root = helpers::make_temp_repo(test_case);
80-
let actual_codes = helpers::collect_violation_codes(&repo_root);
80+
let actual_codes = helpers::collect_source_violation_codes(&repo_root);
8181

8282
assert_eq!(
8383
actual_codes.as_slice(),

‎crates/sqlquack/Cargo.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@ version = "0.1.0"
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true
7+
readme.workspace = true
8+
description = "Rust SQL semantic analysis and fail-closed DuckDB transpilation engine"
9+
keywords = ["sql", "duckdb", "parser", "transpiler", "lineage"]
10+
categories = ["parser-implementations", "database"]
711

812
[dependencies]

0 commit comments

Comments
 (0)