diff options
author | Vika <vika@fireburn.ru> | 2024-03-25 03:33:08 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2024-06-14 22:21:26 +0300 |
commit | 919bc2e9973bf57b2e2fe09ed0456fb0d07bdae9 (patch) | |
tree | a651aeb49955e9b36d83a91798dd78acc994fb1e /Cargo.toml | |
parent | 1e815637e3e15c7eb81b45b51b40253f3ec57ebb (diff) | |
download | kittybox-919bc2e9973bf57b2e2fe09ed0456fb0d07bdae9.tar.zst |
Prototype sanitizer for SQL
This might allow me to use SQL syntax in Kittybox's private search interfaces, allowing for queries of incredible specificity while not allowing to query private data or inject arbitrary SQL.
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml index 809e68b..f32ce6d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -155,4 +155,8 @@ version = "1.0.35" [dependencies.sqlx] version = "^0.7" features = ["uuid", "chrono", "json", "postgres", "runtime-tokio"] +optional = true +[dependencies.sqlparser] +version = "0.44.0" +features = ["serde", "serde_json"] optional = true \ No newline at end of file |