forked from MaterializeInc/materialize
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (41 loc) · 1.54 KB
/
Cargo.toml
File metadata and controls
49 lines (41 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "mz-sql-parser"
description = "The parser for Materialize's SQL dialect."
version = "0.0.0"
exclude = ["tests/testdata"]
edition.workspace = true
rust-version.workspace = true
publish = false
[lints]
workspace = true
[dependencies]
bytesize = "1.1.0"
datadriven = { version = "0.8.0", optional = true }
enum-kinds = "0.5.1"
itertools = "0.12.1"
mz-ore = { path = "../ore", default-features = false, features = ["stack", "test"] }
mz-sql-lexer = { path = "../sql-lexer", default-features = false }
phf = { version = "0.11.1", features = ["uncased"] }
serde = { version = "1.0.152", features = ["derive"] }
smallvec = { version = "1.10.0", features = ["union"] }
thiserror = "1.0.37"
tracing = "0.1.37"
uncased = "0.9.7"
unicode-width = { version = "0.1.10", optional = true }
workspace-hack = { version = "0.0.0", path = "../workspace-hack", optional = true }
[dev-dependencies]
mz-ore = { path = "../ore", default-features = false, features = ["test"] }
mz-sql-parser = { path = ".", default-features = false, features = ["test"] }
[build-dependencies]
anyhow = "1.0.66"
mz-ore-build = { path = "../ore-build", default-features = false }
mz-walkabout = { path = "../walkabout", default-features = false }
[features]
default = ["workspace-hack", "mz-sql-lexer/workspace-hack"]
test = ["datadriven", "unicode-width"]
[package.metadata.cargo-udeps.ignore]
normal = ["workspace-hack"]
[package.metadata.cargo-gazelle.build]
data = ["src/ast/defs.rs", "src/ast/defs/*.rs"]
[package.metadata.cargo-gazelle.test.sqlparser_common]
data = ["tests/testdata/**"]