|
| 1 | +[package] |
| 2 | +description = "CLI for the PRQL compiler — compiles PRQL to SQL." |
| 3 | +name = "prqlc-cli" |
| 4 | + |
| 5 | +edition.workspace = true |
| 6 | +license.workspace = true |
| 7 | +repository.workspace = true |
| 8 | +version.workspace = true |
| 9 | + |
| 10 | +# No rust-version constraint — CLI can track latest deps freely. |
| 11 | + |
| 12 | +build = "build.rs" |
| 13 | + |
| 14 | +[features] |
| 15 | +default = ["lsp"] |
| 16 | +lsp = ["lsp-server", "lsp-types"] |
| 17 | + |
| 18 | +[[bin]] |
| 19 | +name = "prqlc" |
| 20 | +path = "src/main.rs" |
| 21 | + |
| 22 | +[dependencies] |
| 23 | +prqlc = { path = "../prqlc", features = ["display", "serde_yaml"] } |
| 24 | + |
| 25 | +anyhow = { version = "1.0.102", features = ["backtrace"] } |
| 26 | +anstream = { version = "1.0.0", features = ["auto"] } |
| 27 | +ariadne = "0.5.1" |
| 28 | +clap = { version = "4.5.53", features = ["derive", "env", "wrap_help"] } |
| 29 | +clap_complete_command = "0.5.1" |
| 30 | +clio = { version = "0.3.3", features = ["clap-parse"] } |
| 31 | +color-eyre = "0.6.5" |
| 32 | +colorchoice-clap = "1.0.0" |
| 33 | +is-terminal = "0.4.17" |
| 34 | +itertools = { workspace = true } |
| 35 | +log = { workspace = true } |
| 36 | +minijinja = { version = "2.18.0", features = ["unstable_machinery"] } |
| 37 | +notify = "7.0.0" |
| 38 | +regex = "1.12.3" |
| 39 | +schemars = { workspace = true } |
| 40 | +serde = { workspace = true } |
| 41 | +serde_json = { workspace = true } |
| 42 | +serde_yaml = { workspace = true } |
| 43 | +walkdir = "2.5.0" |
| 44 | + |
| 45 | +lsp-server = { version = "0.7.9", optional = true } |
| 46 | +lsp-types = { version = "0.97.0", optional = true } |
| 47 | + |
| 48 | +[build-dependencies] |
| 49 | +vergen-gitcl = { version = "1.0.0", features = ["build"] } |
| 50 | + |
| 51 | +[dev-dependencies] |
| 52 | +glob = "0.3.3" |
| 53 | +insta = { workspace = true } |
| 54 | +insta-cmd = { workspace = true } |
| 55 | +similar = { workspace = true } |
| 56 | +similar-asserts = { workspace = true } |
| 57 | +tempfile = "3.27.0" |
| 58 | +walkdir = "2.5.0" |
| 59 | + |
| 60 | +[lints.rust] |
| 61 | +unsafe_code = "forbid" |
| 62 | + |
| 63 | +[lints.clippy] |
| 64 | +result_large_err = "allow" |
0 commit comments