feat: add read-only SQLite inspection

This commit is contained in:
Valdemar Lorenzen
2026-10-19 12:06:25 +02:00
parent c73fa18bf3
commit bbc21f96cf
6 changed files with 460 additions and 43 deletions
Generated
+42 -4
View File
@@ -263,6 +263,8 @@ dependencies = [
"postgres",
"postgres-native-tls",
"ratatui",
"rusqlite",
"tempfile",
]
[[package]]
@@ -342,6 +344,18 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
[[package]]
name = "fallible-iterator"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649"
[[package]]
name = "fallible-streaming-iterator"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
[[package]]
name = "fastrand"
version = "2.5.0"
@@ -560,6 +574,17 @@ dependencies = [
"libc",
]
[[package]]
name = "libsqlite3-sys"
version = "0.38.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1d20bef17f513b9b3004532233187769cd072d790971f4e4da0e346eb6401e8"
dependencies = [
"cc",
"pkg-config",
"vcpkg",
]
[[package]]
name = "line-clipping"
version = "0.3.8"
@@ -847,7 +872,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33ad20e0aa0b24f5a394eab4f78c781d248982b22b25cecc7e3aa46a681605bd"
dependencies = [
"bytes",
"fallible-iterator",
"fallible-iterator 0.2.0",
"futures-util",
"log",
"tokio",
@@ -875,7 +900,7 @@ dependencies = [
"base64",
"byteorder",
"bytes",
"fallible-iterator",
"fallible-iterator 0.2.0",
"hmac",
"md-5",
"memchr",
@@ -891,7 +916,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "851ca9db4932932d69f3ea811b1abe63087a0f740a47692619dd40d4899b68be"
dependencies = [
"bytes",
"fallible-iterator",
"fallible-iterator 0.2.0",
"postgres-protocol",
]
@@ -1017,6 +1042,19 @@ dependencies = [
"bitflags",
]
[[package]]
name = "rusqlite"
version = "0.40.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23f2a97da3e3873c73cb2a2e71b35c40ff95e0b1eefa8d72d8499a6928c3b5b3"
dependencies = [
"bitflags",
"fallible-iterator 0.3.0",
"fallible-streaming-iterator",
"libsqlite3-sys",
"smallvec",
]
[[package]]
name = "rustc_version"
version = "0.4.1"
@@ -1360,7 +1398,7 @@ dependencies = [
"async-trait",
"byteorder",
"bytes",
"fallible-iterator",
"fallible-iterator 0.2.0",
"futures-channel",
"futures-util",
"log",