Skip to content

Commit 051d99d

Browse files
committed
Merge branch 'main' into dev
2 parents 0908ddb + fac84d8 commit 051d99d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+14721
-3801
lines changed

.asf.yaml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
# This file controls the settings of this repository
19+
#
20+
# See more details at
21+
# https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
22+
23+
notifications:
24+
25+
26+
pullrequests: [email protected]
27+
github:
28+
description: "Extensible SQL Lexer and Parser for Rust"
29+
labels:
30+
- big-data
31+
- rust
32+
- sql
33+
enabled_merge_buttons:
34+
squash: true
35+
merge: false
36+
rebase: false
37+
features:
38+
issues: true

.github/dependabot.yml

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
118
version: 2
219
updates:
320
- package-ecosystem: cargo

.github/workflows/rust.yml

+18-36
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
118
name: Rust
219

320
on: [push, pull_request]
@@ -10,7 +27,7 @@ jobs:
1027
- uses: actions/checkout@v4
1128
- name: Setup Rust Toolchain
1229
uses: ./.github/actions/setup-builder
13-
- run: cargo fmt -- --check
30+
- run: cargo fmt --all -- --check
1431

1532
lint:
1633
runs-on: ubuntu-latest
@@ -68,38 +85,3 @@ jobs:
6885
use-tool-cache: false
6986
- name: Test
7087
run: cargo test --all-features
71-
72-
test-coverage:
73-
runs-on: ubuntu-latest
74-
steps:
75-
- name: Checkout
76-
uses: actions/checkout@v4
77-
- name: Setup Rust Toolchain
78-
uses: ./.github/actions/setup-builder
79-
with:
80-
rust-version: stable
81-
- name: Install Tarpaulin
82-
uses: actions-rs/[email protected]
83-
with:
84-
crate: cargo-tarpaulin
85-
version: 0.14.2
86-
use-tool-cache: false
87-
- name: Coverage
88-
run: cargo tarpaulin -o Lcov --output-dir ./coverage
89-
- name: Coveralls
90-
uses: coverallsapp/github-action@master
91-
with:
92-
github-token: ${{ secrets.GITHUB_TOKEN }}
93-
94-
publish-crate:
95-
if: startsWith(github.ref, 'refs/tags/v0')
96-
runs-on: ubuntu-latest
97-
needs: [test]
98-
steps:
99-
- uses: actions/checkout@v4
100-
- name: Setup Rust Toolchain
101-
uses: ./.github/actions/setup-builder
102-
- name: Publish
103-
shell: bash
104-
run: |
105-
cargo publish --token ${{ secrets.CRATES_TOKEN }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/target/
44
/sqlparser_bench/target/
55
/derive/target/
6+
dev/dist
67

78
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
89
# More information here http://doc.crates.io/guide.html#cargotoml-vs-cargolock

0 commit comments

Comments
 (0)