Skip to content

Commit 602d787

Browse files
feat: support range expr parse (apache#7)
* feat: support range expr parse * chore: fix ci
1 parent 8936163 commit 602d787

17 files changed

+1173
-192
lines changed

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ documentation = "https://docs.rs/sqlparser/"
88
keywords = ["ansi", "sql", "lexer", "parser"]
99
repository = "https://github.com/sqlparser-rs/sqlparser-rs"
1010
license = "Apache-2.0"
11-
include = [
12-
"src/**/*.rs",
13-
"Cargo.toml",
14-
"LICENSE.TXT",
15-
]
11+
include = ["src/**/*.rs", "Cargo.toml", "LICENSE.TXT"]
1612
edition = "2021"
1713

1814
[lib]
@@ -24,17 +20,21 @@ default = ["std"]
2420
std = []
2521
# Enable JSON output in the `cli` example:
2622
json_example = ["serde_json", "serde"]
27-
visitor = ["sqlparser_derive"]
23+
visitor = []
24+
bigdecimal-sql = ["bigdecimal", "df_sqlparser/bigdecimal"]
2825

2926
[dependencies]
3027
bigdecimal = { version = "0.4.1", features = ["serde"], optional = true }
28+
df_sqlparser = { package = "sqlparser", version = "0.38.0" }
3129
log = "0.4"
3230
serde = { version = "1.0", features = ["derive"], optional = true }
3331
# serde_json is only used in examples/cli, but we have to put it outside
3432
# of dev-dependencies because of
3533
# https://github.com/rust-lang/cargo/issues/1596
3634
serde_json = { version = "1.0", optional = true }
37-
sqlparser_derive = { version = "0.1.1", path = "derive", optional = true }
35+
sqlparser_derive = { version = "0.1.1", path = "derive" }
36+
regex = "1"
37+
lazy_static = "1.4.0"
3838

3939
[dev-dependencies]
4040
simple_logger = "4.0"

0 commit comments

Comments
 (0)