Skip to content

Commit 7f99d7b

Browse files
committedJan 14, 2025·
Merge branch 'main' into dev
2 parents 69514bb + 6507484 commit 7f99d7b

Some content is hidden

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

41 files changed

+4476
-1208
lines changed
 

‎.github/workflows/rust.yml

+8
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ jobs:
3737
uses: ./.github/actions/setup-builder
3838
- run: cargo clippy --all-targets --all-features -- -D warnings
3939

40+
benchmark-lint:
41+
runs-on: ubuntu-latest
42+
steps:
43+
- uses: actions/checkout@v4
44+
- name: Setup Rust Toolchain
45+
uses: ./.github/actions/setup-builder
46+
- run: cd sqlparser_bench && cargo clippy --all-targets --all-features -- -D warnings
47+
4048
compile:
4149
runs-on: ubuntu-latest
4250
steps:

‎Cargo.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,18 @@ name = "sqlparser"
3737
path = "src/lib.rs"
3838

3939
[features]
40-
default = ["std"]
40+
default = ["std", "recursive-protection"]
4141
std = []
42+
recursive-protection = ["std", "recursive"]
4243
# Enable JSON output in the `cli` example:
4344
json_example = ["serde_json", "serde"]
4445
visitor = ["sqlparser_derive"]
4546

4647
[dependencies]
4748
bigdecimal = { version = "0.4.1", features = ["serde"], optional = true }
4849
log = "0.4"
50+
recursive = { version = "0.1.1", optional = true}
51+
4952
serde = { version = "1.0", features = ["derive"], optional = true }
5053
# serde_json is only used in examples/cli, but we have to put it outside
5154
# of dev-dependencies because of

0 commit comments

Comments
 (0)
Please sign in to comment.