@@ -8,11 +8,7 @@ documentation = "https://docs.rs/sqlparser/"
88keywords = [" ansi" , " sql" , " lexer" , " parser" ]
99repository = " https://github.com/sqlparser-rs/sqlparser-rs"
1010license = " Apache-2.0"
11- include = [
12- " src/**/*.rs" ,
13- " Cargo.toml" ,
14- " LICENSE.TXT" ,
15- ]
11+ include = [" src/**/*.rs" , " Cargo.toml" , " LICENSE.TXT" ]
1612edition = " 2021"
1713
1814[lib ]
@@ -24,17 +20,21 @@ default = ["std"]
2420std = []
2521# Enable JSON output in the `cli` example:
2622json_example = [" serde_json" , " serde" ]
27- visitor = [" sqlparser_derive" ]
23+ visitor = []
24+ bigdecimal-sql = [" bigdecimal" , " df_sqlparser/bigdecimal" ]
2825
2926[dependencies ]
3027bigdecimal = { version = " 0.4.1" , features = [" serde" ], optional = true }
28+ df_sqlparser = { package = " sqlparser" , version = " 0.45.0" }
3129log = " 0.4"
3230serde = { 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
3634serde_json = { version = " 1.0" , optional = true }
37- sqlparser_derive = { version = " 0.2.0" , path = " derive" , optional = true }
35+ sqlparser_derive = { version = " 0.2.0" , path = " derive" }
36+ regex = " 1"
37+ lazy_static = " 1.4.0"
3838
3939[dev-dependencies ]
4040simple_logger = " 4.0"
0 commit comments