summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorJoão Baptista <15786310+M4RC3L05@users.noreply.github.com>2024-11-19 21:01:16 +0000
committerGitHub <noreply@github.com>2024-11-19 21:01:16 +0000
commitc55e936be03a3a023330789f903e2fbd12f4a308 (patch)
tree0dc406b0cfb82a6c0683edb9152c6450aa3abf52 /Cargo.lock
parent628816448ea45807762fd8eb0c59302c9f2aac9a (diff)
feat(fmt): support SQL (#26750)
This commit adds support for .sql files in "deno fmt" subcommand. Closes: https://github.com/denoland/deno/issues/25024 --------- Signed-off-by: m4rc3l05 <15786310+M4RC3L05@users.noreply.github.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock12
1 files changed, 12 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 5705acccc..1a16714bb 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1291,6 +1291,7 @@ dependencies = [
"sha2",
"shell-escape",
"spki",
+ "sqlformat",
"strsim",
"tar",
"tempfile",
@@ -6795,6 +6796,17 @@ dependencies = [
]
[[package]]
+name = "sqlformat"
+version = "0.3.1"
+source = "git+https://github.com/shssoichiro/sqlformat-rs.git?rev=827d639#827d639bef94d8e5a5a0e29b41185c8d572f24e6"
+dependencies = [
+ "nom 7.1.3",
+ "once_cell",
+ "regex",
+ "unicode_categories",
+]
+
+[[package]]
name = "stable_deref_trait"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"